DragonFly users List (threaded) for 2013-04
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]
minimalist howto: have a desktop machine thanks to Dports
--047d7b6720caae03a804db96d5af
Content-Type: text/plain; charset=ISO-8859-1
This is a small HowTo, I've first made for myself, but, I think, could be
useful for others too. Specialy those willing to have a windowing
envirnoment.
Please note that this howto is minimalist.
Summary: This small howto will explain how to install Xfce4, firefox, ...
with the help of Dports.
Within less than 1 hour you will be able to surf internet and even watch
youtube.com (via html5), play videos, ... with your prefered OS
Hypothesis:
You must have a DragonFlyBSD 3.4 (as on April 2013).
We will use the Dports features to perform it (no pkgsrc here).
We will not use hald
1. DragonFlyBsd Installation:
Here, just perform a standard installation:
http://www.dragonflybsd.org/docs/newhandbook/Installation/
In short, what I like to do is:
1 Burn DragonFlyBSD-3.4.1 on a CD or DVD.
2 Prepare a primary slice for DragonFly on one of your disk
3 Boot from the CD or DVD and select the correct keyboard in "Live CD
utilities"
Select the correct disk and slice, format it and install DragonFly on it
4 Personnally, I skip the MBR installation since I have already one.
5 Configure your installation: set root passwd, set hostname, set keyboard,
set network interface with dhcp, set timezone
6 Reboot
7 create your userid: *adduser* and put it in "wheel" and "operator" groups.
2. Start Dports
- *mv /usr/pkg /usr/pkg_old* (despite not recommended by John Marino)
- create or edit /usr/local/etc/pkg.conf with your preferred mirrors (cfr
http://www.dragonflybsd.org/docs/howtos/HowToDPorts/)
- *pkg update*
3. Software Installation:
- *pkg install xorg*
- *X -configure*
- *cp /root/xorg.conf.new /etc/X11/xorg.conf*
- customize /etc/X11/xorg.conf:
in section "InputDevice", add:
Option "XkbLayout" "be" #depends on the keyboard layout
in section "Files", add:
FontPath "/usr/local/lib/X11/fonts/bitstream-vera/"
in section "Modukles", add:
Load "freetype"
- *pkg install xfce*
- *pkg install midori* #a very good browser
- add snd_hda_load="YES" in /boot/loader.conf #to activate the sound
- *pkg install smplayer* #very good video player
- *pkg install firefox-20.0,1* (name it fully because just putting
"firefox" create conflict with firefox-17)
#with firefox you'll be able to play HTML5 youtube videos
4. Customisations
4.1 To havethe Xfce4 shutdown and reboot buttons
- *pkg install sudo*
- *visudo* and append: "%wheel ALL =
NOPASSWD:/usr/local/lib/xfce4/session/xfsm-shutdown-helper"
- log out/login
4.2 For automatic lauch of xfce4
- *pkg install zsh* #since I'm using zsh as main shell for my user:
- login with your userid
- *chsh* and put /usr/local/bin/zsh as Shell
- create or add in ~.zprofile:
[[ -z $DISPLAY && $TTY = "/dev/ttyv0" ]] && exec startxfce4
- logout/login in the 1st terminal window, Xfce4 will start immediately
Have fun
William
--047d7b6720caae03a804db96d5af
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">This is a small HowTo, =A0I've first made for myself, =
but, I think, could be useful for others too. Specialy those willing to hav=
e a windowing envirnoment.<br>Please note that this howto is minimalist.<br=
>
=A0<br>Summary: This small howto will explain how to install Xfce4, firefox=
, ... with the help of Dports. <br>Within less than 1 hour you will be able=
to surf internet and even watch <a href=3D"http://youtube.com">youtube.com=
</a> (via html5), play videos, ... with your prefered OS<br>
<br>Hypothesis:<br>You must have a DragonFlyBSD 3.4 (as on April 2013).<br>=
We will use the Dports features to perform it (no pkgsrc here).<br>We will =
not use hald<br><br>1. DragonFlyBsd Installation:<br>Here, just perform a s=
tandard installation: <a href=3D"http://www.dragonflybsd.org/docs/newhandbo=
ok/Installation/">http://www.dragonflybsd.org/docs/newhandbook/Installation=
/</a><br>
<br>In short, what I like to do is:<br>1 Burn DragonFlyBSD-3.4.1 on a CD or=
DVD. <br>2 Prepare a primary slice for DragonFly on one of your disk<br>3 =
Boot from the CD or DVD and select the correct keyboard in "Live CD ut=
ilities"<br>
=A0 Select the correct disk and slice, format it and install DragonFly on i=
t<br>4 Personnally, I skip the MBR installation since I have already one.<b=
r>5 Configure your installation: set root passwd, set hostname, set keyboar=
d, set network interface with dhcp, set timezone<br>
6 Reboot<br>7 create your userid: <i>adduser</i>=A0and put it in "whee=
l" and "operator" groups.<br><br>2. Start Dports<br>- <i>mv =
/usr/pkg /usr/pkg_old</i> (despite not recommended by John Marino)<br>- cre=
ate or edit /usr/local/etc/pkg.conf with your preferred mirrors (cfr <a hre=
f=3D"http://www.dragonflybsd.org/docs/howtos/HowToDPorts/">http://www.drago=
nflybsd.org/docs/howtos/HowToDPorts/</a>)<br>
- <i>pkg update</i><br><br>3. Software Installation:<br>- <i>pkg install xo=
rg</i><br>- <i>X -configure</i><br>- <i>cp /root/xorg.conf.new /etc/X11/xor=
g.conf</i><br>- customize /etc/X11/xorg.conf:<br>=A0 =A0in section "In=
putDevice", add:<br>
=A0 =A0 =A0 Option =A0 =A0 =A0"XkbLayout" "be" #depends=
on the keyboard layout<br>=A0 =A0in section "Files", add:<br>=A0=
=A0 =A0 FontPath =A0 =A0 "/usr/local/lib/X11/fonts/bitstream-vera/&qu=
ot;<br>=A0 =A0in section "Modukles", add:<br>
=A0 =A0 =A0 Load =A0"freetype"<br>- <i>pkg install xfce</i><br>- =
<i>pkg install midori</i> #a very good browser<br>- add snd_hda_load=3D&quo=
t;YES" in /boot/loader.conf =A0 #to activate the sound<br>- <i>pkg ins=
tall smplayer</i> #very good video player<br>
- <i>pkg install firefox-20.0,1</i> (name it fully because just putting &qu=
ot;firefox" create conflict with firefox-17)<br>#with firefox you'=
ll be able to play HTML5 youtube videos<br><br>4. Customisations<br><br>
4.1 To havethe Xfce4 shutdown and reboot buttons<br>- <i>pkg install sudo</=
i><br>- <i>visudo</i> and append: "%wheel ALL =3D NOPASSWD:/usr/local/=
lib/xfce4/session/xfsm-shutdown-helper"<br>- log out/login<br><br>4.2 =
For automatic lauch of xfce4<br>
- <i>pkg install zsh</i> #since I'm using zsh as main shell for my user=
:<br>- login with your userid<br>- <i>chsh</i> and put /usr/local/bin/zsh a=
s Shell<br>- create or add in ~.zprofile:<br>[[ -z $DISPLAY && $TTY=
=3D "/dev/ttyv0" ]] && exec startxfce4<br>
- logout/login in the 1st terminal window, Xfce4 will start immediately<br>=
<div><br></div><div><br></div><div><br></div><div style>Have fun</div><div =
style>William</div><div><br></div></div>
--047d7b6720caae03a804db96d5af--
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]