DragonFlyBSD.md 2.73 KB
Newer Older
1 2 3 4
# Install DragonFly  BSD 5.4 

* https://www.youtube.com/watch?v=tPSP_9cNgOc
* https://www.youtube.com/watch?v=S0-htW1wNjE
5
* https://www.youtube.com/watch?v=OP0jgxIiIJ0
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

## Basic system install in virtualbox 

* Boot ISO
* Login as installer 
* Select Install DragonFly BSD 
* Select Legacy BIOS
* Select ad0 disk
* Select Use Entire Disk 
* Select file system: Use UFS
* Create Subpartitions: Accept defaults and select: Accept and Create 
* Install OS: Select Begin Installing Files
* Install Bootblock(s): Select Accept and Install Bootblocks
* Select Configure this System
* Select timezone: UTC yes, Europe, Warsaw
* Set date and time
* Set keyboard map: PL 
* Set root password: 
* Add a user: kowalczy, other groups wheel
* Configure networrk interfaces: om0, use DHCP, 
* Configure hostname and domain
* Set Console font - nothing just return to Utilities menu
* Set screen map  - nothing just return to Utilities menu
* Return to Welcome Menu 
* Select Reboot this Computer

## Installing Xorg and apps

* Login as kowalczy  and run su to switch to root user
* Run commands 


```
pkg update
pkg upgrade
pkg install sudo htop git neofetch curl wget vim nano 
pkg install xorg 
43
pkg install xfce
44 45


46 47 48 49 50
pkg install slim slim-themes



pkg install firefox libreoffice gimp seamonkey geany xedit diffuse tmux nitrogen 
51
pkg install ted scribus gpicview evince galculator xarchiver mpv vlc audacious 
52

53
pkg install dmenu dwm sterm surf-browser slock screenfetch 
54 55

```
56

57 58
* Enable sudo by editing '/usr/local/etc/sudoers' file , uncomment line: "%wheel ALL=(ALL) ALL"

59 60 61 62 63
* Reboot 

* Edit /etc/rc.conf file and add 

```
64
moused_enable="YES"
65 66 67 68 69 70 71 72 73 74 75 76 77
dbus_enable="YES" 
hald_enable="YES"
slim_enable="YES"


```

* Edit ~/.xinitrc 

```
exec startxfce4 
```

Jacek Kowalczyk's avatar
Jacek Kowalczyk committed
78 79 80 81 82
* Create .xsession link to .xinitrc 

```
ln -s .xinitrc .xsession 
```
83 84 85 86 87 88 89 90 91 92 93

* Reboot 

* Changing slim theme 

```
# list installed slim themes
ls -al /usr/local/share/slim/themes 
```

* Edit slim config in '/usr/local/etc/slim.conf':
94

95 96 97
```
#set slim theme name by editing line with 'current_theme'
current_theme    flat
98

99
```
100
* Reboot 
101 102 103 104


## Remove XFCE and install MATE 

105
![Mate session desktop](./dragonflybsd/2018-12-12-151955_1024x768_scrot.png)
106

107 108 109 110 111 112 113 114
* I do not know why I cannot Shutdown or reboot the computer from XFCE session 
* Hmmm ... lets install MATE and remove XFCE 

```
pkg remove xfce 
pkg autoremove 

pkg install mate-desktop mate-base mate-common mate-terminal caja pluma mate-polkit mate-menus mate-panel mate-icon-theme 
Jacek Kowalczyk's avatar
Jacek Kowalczyk committed
115
pkg install scrot 
116 117 118 119 120 121 122 123 124 125 126 127

```
* Edit ~/.xinitrc 

```
exec mate-session
```

* I do not know why I cannot Shutdown or reboot the computer from MATE session too. 
* I will sisable slim and use `startx` to start GUI sessions
* Edit /etc/rc.conf file and comment slim_enable="YES" by # character at the beginning of the line. 

128