To install packages from the dvd1.iso image, create and mount the /dist
directory:
# mkdir -p /dist
# mount -t cd9660 /dev/cd0 /dist
Replace '/dev/cd0' with the appropriate cd(4) device as necessary.
Next, bootstrap pkg(8) from the DVD:
# env REPOS_DIR=/dist/packages/repos pkg bootstrap
At this point, pkg-install(8) can be used to install additional packages
from the DVD. Please note, the REPOS_DIR environment variable should be
used each time using the DVD as the package repository, otherwise
conflicts with packages from the upstream mirrors may occur when they
are fetched. For example, to install Gnome and Xorg, run:
# env REPOS_DIR=/dist/packages/repos \
pkg install xorg-server xorg gnome3
+++++++++++++++++++++++++++++++++++
-----------------------------------come from imunes_user_guide.pdf
Install neccessary packages:
# pkg install xorg bash xpdf vim geany zip unzip xterm firefox wget
You can choose between multiple desktop environments:
? Gnome3-lite - complete, user-friendly desktop
# pkg install gnome3-lite
? XFCE 4 - lightweight desktop environment
# pkg install xfce
? IceWM - extremely lightweight window manager, low resource usage
# pkg install icewm
After the installation of one or multiple window manager we need to configure which will be
used. Edit the file .xinitrc in the user folder and add a line depending on which window
manager you want to use:
? Gnome3-lite
exec gnome-session
? XFCE 4
exec startxfce4
? IceWM
exec icewm-session
Reboot the machine by issuing the reboot command:
# reboot
After the machine has rebooted, log in and issue the startx command to start the chosen
window manager:
# startx
-----------------------------------
+++++++++++++++++++++++++++++++++++
// Add the following lines in /etc/rc.conf
gdm_enable="YES"
gnome_enable="YES"
moused_enable="YES"
dbus_enable="YES"
hald_enable="YES"
Reboot the machine. It will boot into Gnome login screen.
env REPOS_DIR=/dist/packages/repos pkg install xorg
env REPOS_DIR=/dist/packages/repos pkg install gnome3
pkg install gnome3 xorg
阅读(1732) | 评论(0) | 转发(0) |