Moxa V2401-LX Руководство по программной части (Linux) онлайн [26/108] 170747

Moxa V2401-LX Руководство по программной части (Linux) онлайн [26/108] 170747
V2401/2402 Series Linux User’s Manual Software Configuration
2-19
4. Once you indicate which package you want to install (openswan, for example), type:
5. Use one of the following commands to remove a package:
(a) For a simple package removal:
(b) For a complete package removal:
6. 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.
ATTENTION
You can free up the cache space with the command # apt-get clean
MOXA:~# apt-get install openswan
MOXA:~#
MOXA:~# apt-get remove openswan
MOXA:~#
MOXA:~# apt-get remove openswan --purge
MOXA:~#
MOXA:~# umount /
MOXA:~#
MOXA:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1.6G 972M 560M 64% /
udev 10M 700K 9.4M 7% /dev
/dev/sda1 1.6G 972M 560M 64% /
tmpfs 502M 0 502M 0% /lib/init/rw
tmpfs 502M 0 502M 0% /dev/shm
none 502M 19M 483M 4% /tmp
/dev/sda2 199M 125M 63M 67% /home
MOXA:~#
MOXA:~# apt-get clean
MOXA:~#

Содержание

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

Скачать