Moxa V2403-C3-W-T [14/90] Checking the linux version

Moxa V2403-C7-W-T [14/90] Checking the linux version
V2403 Series Linux Software Software Configuration
2-8
ATTENTION
Remember to exit the
/media/usb0 or /media/usb1 directory when you disconnect the USB storage
device. If you stay in
/media/usb0 or /media/usb1, the automatic un-mount process will fail. If that
happens, type
# umount /media/usb0 to un-mount the USB device manually.
Checking the Linux Version
The program uname, which stands for Unix Nameand is part of the Unix operating system, prints the name,
version, and other details about the operating system running on the computer. Use the -a option to generate
a response similar to the one shown below:
root@Moxa:~# uname -a
Linux Moxa 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) x86_64 GNU/Linux
root@Moxa:~#
APTInstalling and Removing Packages
APT is the Debian tool used to install and remove packages. Before installing a package, you need to configure
the apt source file, /etc/apt/sources.list.
1. Next, configure the /etc/apt/sources.list using vi editor.
root@Moxa:~# vi /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian jessie-backports main contrib non-free
2. Update the source list after you configure it.
root@Moxa:~# apt-get update
root@Moxa:~#
3. Once you indicate which package you want to install (vim, for example), type:
root@Moxa:~# apt-get install vim
root@Moxa:~#
4. Use one of the following commands to remove a package:
(a) For a simple package removal:
root@Moxa:~# apt-get remove vim
root@Moxa:~#
(b) For a complete package removal:
root@Moxa:~# apt-get remove vim --purge
root@Moxa:~#

Содержание

Похожие устройства

Скачать