
| Guest: | iso letöltése | http://crunchbang.linuxfreedom.com/download.html |
| ubuntu-14.04.2-server-amd64.iso | ||
| virtualbox - telepítés | 1024 MB RAM, 8 GB HDD + alapértelmezett beállítások telepítés közben | |
| virtualbox beállítások | Általános - Haladó - 2x 2 irányú | |
| Hálózat - bridgelt kártya | ||
| Host: | vim és mc telepítése | apt-get install -y vim vim-gnome mc |
| /etc/network/interfaces | auto lo eth0 | |
| iface lo inet loopback | ||
| iface eth0 inet static | ||
| address 192.168.0.2 | ||
| netmask 255.255.255.0 | ||
| gateway 192.168.0.1 | ||
| dns-nameservers 192.168.0.1 | ||
| /etc/apt/sources.list | deb http://http.debian.net/debian wheezy main | |
| deb-src http://http.debian.net/debian wheezy main | ||
| deb http://http.debian.net/debian wheezy-updates main | ||
| deb-src http://http.debian.net/debian wheezy-updates main | ||
| deb http://security.debian.org/ wheezy/updates main | ||
| deb-src http://security.debian.org/ wheezy/updates main | ||
| apt-get update | ||
| apt-get upgrade | ||
| x alakú kurzor és no gui hiba fix | apt-get purge tint2 tint2conf | |
| apt-get update -> GPG hiba fix: | apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 | |
| + ezt eljátszani a többi kulcssal is, amit kiír | ||
| apache2 php5 munin telepítés | apt-get install -y apache2 munin php5-cgi | |
| apache2 error fix (Could not reliably …) fix | echo ServerName localhost>>/etc/apache2/apache2.conf | |
| bash shell testreszabása | echo export PS1='"\e[0;44m[\u@\h \W]\$ \e[m "' >> ~/.bashrc | |
| munin install | apt-get update ; apt-get upgrade | |
| apt-get install munin apache2 php5-cgi | ||
| szim.link: | ln -s /var/cache/munin/www /var/www/munin | |
| chown munin:munin -R /var/www/munin | ||
| apache2.conf szerkesztése | vim /etc/munin/apache2.conf | |
| Alias /munin /var/cache/www/munin -> | Alias /munin /var/www/munin | |
| <Directory /var/cache/muni/www -> | <Directory /var/www/munin> | |
| Order allow,deny -> | (kitörölni) | |
| Allow from localhost 127.0.0.0/8 : : 1 -> | Require all granted | |
| Options None -> | Options FollowSymLinks SymLinksIfOwnerMatch | |
| munin.conf szerkesztése | vim /etc/munin/munin.conf | |
| dbdir /var/lib/munin | ||
| var/cache/munin/www -> | htmldir /var/www/munin | |
| logdir /var/log/munin | ||
| rundir /var/run/munin | ||
| tmpldir /etc/munin/templates | ||
| service munin-node restart | ||
| service apache2 restart |