Moxa DA-685-LX [17/76] Attention

Moxa DA-685-LX [17/76] Attention
DA-685 Linux Software Configuration
2-12
Mount the root file system with write permission.
Next, configure the /etc/apt/sources.list using vi editor.
Update the source list after you configure it.
Once you indicate which package you want to install (openswan, for example), type:
Use one of the following commands to remove a package:
(a) For a simple package removal:
(b) For a complete package removal:
If the installation is complete, remember to umount the root directory back to read-only mode.
ATTENTION
The APT cache space /var/cache/apt is
located in tmpfs. If you need to install a huge package, link
/var/cache/apt to USB mass storage or mount it to an NFS space to generate more free space. Use df
h to
check how much free space is available on tmpfs.
MOXA:~# umount /
MOXA:~#
MOXA:~# apt-get remove openswan --purge
MOXA:~#
MOXA:~# apt-get remove openswan
MOXA:~#
MOXA:~# apt-get install openswan
MOXA:~#
MOXA:~# apt-get update
MOXA:~#
MOXA:~# vi /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 5.0.2a _Lenny_ - Official i386 NETINST Binary-1
20090817-16:43]/ lenny main
#deb cdrom:[Debian GNU/Linux 5.0.2a _Lenny_ - Official i386 NETINST Binary-1
20090817-16:43]/ lenny main
deb http://archive.debian.org/debian/ lenny main
deb-src http://archive.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:~# mount -o remount,rw /

Содержание

Скачать