Moxa V2401-LX [25/108] Checking the linux version

Moxa V2401-LX [25/108] Checking the linux version
V2401/2402 Series Linux User’s Manual Software Configuration
2-18
Checking the Linux Version
The program uname, which stands for “Unix Name” and 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:
APT—Installing 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, which is located in the read-only partition.
1. Mount the root file system with write permission.
2. Next, configure the /etc/apt/sources.list using vi editor.
3. Update the source list after you configure it.
MOXA:~# uname -a
Linux Moxa 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009
i686 GNU/Linux
MOXA:~#
MOXA:~# mount -o remount,rw /dev/
s
d
a
1
/
MOXA:~# vi /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 5.0.2a _Lenny_ - Official i386
NETINST Binary-1 20
090817-16:43]/ lenny main
#deb cdrom:[Debian GNU/Linux 5.0.2a _Lenny_ - Official i386
NETINST Binary-1 200
90817-16:43]/ lenny main
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
deb http://volatile.debian.org/debian-volatile lenny/volatile
main
deb-src http://volatile.debian.org/debian-volatile
lenny/volatile main
MOXA:~# apt-get update
MOXA:~#

Содержание

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

Скачать