Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6549812
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: BSD

2016-01-26 17:24:47


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

阅读(1670) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~