
| lxde | apt-get update | |
| apt-get upgrade | ||
| apt-get install lxde lxdm | ||
| service lxdm restart vagy /etc/init.d/lxdm restart | ||
| lightdm eltávolítás | apt-get remove lightdm notification-daemon | |
| lxdm.conf szerkesztése | vim /etc/lxdm/lxdm.conf | |
| autologin=user | ||
| munin | 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 | ||
| apache2, php5, mcrypt, phpmyadmin | apt-get install apache2 libapache2-mod-auth-mysql php5-mysql php5 libapache2-mod-php5 php5-mcrypt | |
| ? | apt-get install --reinstall apache2 apache2-bin | |
| ? | apt-get install mysql-server apache2 php5 libapache2-mod-php5 php-pear php5-gd php5-xsl curl libcurl3 libcurl3-dev php5-curl libapache2-mod-auth-mysql php5-mysql phpmyadmin | |
| apache.conf szerkesztése | vim /etc/apache2/apache.conf | |
| beleírni: ServerName localhost | ||
| service apache2 restart | ||
| apache2 eltávolítás | apt-get remove --purge apache2 | |
| apt-get autoremove | ||
| apt-get autoclean | ||
| aztán keresés whereis - el, mappa törlés rm -rf - el | ||
| lighttpd leallítás (apache számára) | killall -9 lighttpd | |
| lighttpd eltávolítás | apt-get remove lighttpd php5-cgi | |
| msql | apt-get install mysql-client mysql-server | |
| msql eltávolítás | apt-get remove --purge mysql-server mysql-client mysql-common | |
| apt-get autoremove | ||
| apt-get autoclean | ||
| rm -rf /var/lib/mysql | ||
| rm -rf /etc/mysql | ||
| msql beállítás | /usr/bin/mysql_secure_installation | |
| mysql belépés rootként | mysql -u root -p | |
| ISPConfig3 | apt-get install mysql-client mysql-server php5-cli php5-mysql postfix postfix-mysql postfix-doc | |
| wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz | ||
| tar xfz ISPConfig-3-stable.tar.gz | ||
| cd .../ispconfig3_install/install/ | ||
| php -q install.php | ||
| ISPConfig3 - apache2 hibák megszüntetése | ispconfig.conf szerkesztése | vim /etc/apache2/sites-enabled/ispconfig.conf |
| # NameVirtualHost *:80 | ||
| # NameVirtualHost *:443 | ||
| ispconfig.vhost | vim /etc/apache2/sites-enabled/ispconfig.vhost | |
| # NameVirtualHost *:8080 | ||
| ISPConfig - SSL beállítás | cd /usr/local/ispconfig/interface/ssl | |
| openssl genrsa -des3 -out ispserver.key 4096 | ||
| openssl req -new -key ispserver.key -out ispserver.csr | ||
| openssl x509 -req -days 365 -in ispserver.csr -signkey ispserver.key -out ispserver.crt | ||
| openssl rsa -in ispserver.key -out ispserver.key.insecure | ||
| mv ispserver.key ispserver.key.secure | ||
| mv ispserver.key.insecure ispserver.key | ||
| a2enmod ssl | ||
| /etc/apache2/sites-enabled/ispconfig.vhost | a <VirtualHost ....></VirtualHost> részbe beleírni: | |
| SSLEngine On | ||
| SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt | ||
| SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key | ||
| service apache2 restart | ||
| ISPConfig3 eltávolítás | cd …/ispconfig3_install/install | |
| php -q uninstall.php | ||
| ISPConfig3 scripttel | https://www.youtube.com/watch?v=mxk8_u2thno | |
| /etc/mysql/my.cnf | [mysqld] - es részt kikommentelni | |
| wget https://gist.githubusercontent.com/jniltinho/4b50de4a24a162add15f/raw/da6bbc6724c9298c0b8720a9ec9990b7738e55d3/install-ispconfig3-ubuntu.sh | ||
| chmod +x install-ispconfig3-ubuntu.sh | ||
| sh install-ispconfig3-ubuntu.sh | ||
| cyg server ssh | ssh-host-config | |
| Zentyal | add-apt-repository "deb http://archive.zentyal.org/zentyal 3.5 main extra" | |
| (Req: 2 - 8 GB RAM) | apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 10E239FF | |
| wget -q http://keys.zentyal.org/zentyal-3.5-archive.asc -O- | sudo apt-key add - | ||
| apt-get update | ||
| apt-get install zentyal | ||
| Zentyal - samba | Zentyal WebGUI/Office/Users and Computers/Manage/új felhasználó létrehozása (kliensen ezzel lépsz be) | |
| Zentyal WebGUI/Office/Users and Computers/Manage/új felhasználó létrehozása (kliensen ezzel lépsz be) | ||
| Zentyal WebGUI/Office/File Sharing/új mappa létrehozása és ACL-ben user felvétele beállítása (kliensen network drive lesz) | ||
| lehet, hogy nem szükséges: | kliens gépen be kell állítani a domain ip- jét elsődleges DNS - nek (az eddig elsődleges DNS megy másodlagos DNS- nek) | |
| lehet, hogy nem szükséges: | kliens gépen be kell állítani a domain ip- jét WINS- en belül | |
| lehet, hogy nem szükséges: | kliens gépen vezetékes kapcsolat beállításoknál - DNS tabon bepipálni: "Use this connection's DNS Suffix in DNS registration" (ha nincs bepipálva, akkor a kliens login résznél a domain list betöltés lassú lesz | |
| Probléma! | kliensen \\domain ip által bármyel GP-ban lévőfelhasználó eléri a köv. mappákat: | |
| Info: | /var/lib/samba/sysvol | |
| /home/samba/shares | ||
| /home/samba/felhasználó mappája | ||
| samba (önmagában) | apt-get install samba samba-common system-config-samba | |
| addgroup smbgrp | ||
| useradd testuser -G smbgrp | ||
| smbpasswd -a testuser | ||
| mkdir -p /samba/testfolder | ||
| chmod -R 0770 /samba/testfolder | ||
| chown -R testuser:smbgrp /samba/testfolder | ||
| /etc/samba/smb.conf szerkesztése | vim /etc/samba/smb.conf | |
| [global] | ||
| netbios name = UBUNTU | ||
| server string = Samba Server %v | ||
| map to guest = Bad User | ||
| dns proxy = No | ||
| idmap config * : backend = tdb | ||
| [testfolder] | ||
| path = /samba/testfolder | ||
| valid users = @smbgrp | ||
| read only = No | ||
| service smbd restart | ||
| owncloud | echo "deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/ /" | sudo tee /etc/apt/sources.list.d/owncloud.list | |
| wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/xUbuntu_14.04/Release.key | ||
| apt-key add - < Release.key | ||
| apt-get update | ||
| apt-get install owncloud owncloud-client | ||
| mv /var/www/owncloud /var/www/html | ||
| a2enmod ssl | ||
| a2ensite default-ssl | ||
| service apache2 restart | ||
| phpmyadmin | apt-get install apache2 php5 mysql-server | |
| add-apt-repository ppa:tuxpoldo/phpmyadmin | ||
| apt-get update | ||
| apt-get install phpmyadmin | ||
| service apache2 restart |