Honlap címe

 

   
   
   
   
iso letöltése http://www.ubuntu.com/download/desktop
  ubuntu-14.04.3-desktop-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
   
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
   
hálózati szolgáltatás újraindítása service networking restart
  ifup eth0
   
internet elérés ellenőrzése ping google.com
  ping 192.168.0.1
   
rendszer frissítés apt-get update
  apt-get upgrade
   
  reboot
   
bash shell testreszabása echo export PS1='"\e[0;44m[\u@\h \W]\$ \e[m "' >> ~/.bashrc
   
ISP Config install előkészület: apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl maildrop getmail4 rkhunter binutils
   
   
   
   
   
   
   
   
   
LDAP install sudo apt-get install apache2 apache2-utils libapache2-mod-suphp libapache2-mod-fastcgi libapache2-mod-python libapache2-mod-fcgid apache2-suexec libapache2-mod-php5 php5 php5-fpm php5-gd php5-mysql php5-curl php5-intl php5-memcache php5-memcached php5-ming php5-ps php5-xcache php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-imap php5-cgi php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libruby memcached phpmyadmin postfix postfix-mysql postfix-doc mysql-server openssl getmail4 rkhunter binutils dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve mailman amavisd-new spamassassin clamav clamav-daemon zoo unzip zip arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl libnet-dns-perl bind9 dnsutils vlogger webalizer awstats geoip-database libclass-dbi-mysql-perl squirrelmail pure-ftpd-common pure-ftpd-mysql snmp
   
ISPCOnfig install 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
   
ISPConfig -Apache2 hibák javítása service apache2 restart által "dobott" hibák és javításaik:
   
vim - sor számozás megjelenítése :set number
   
Hiba: AH00526: Syntax error on line 29 of /etc/apache2/sites-enabled/000-apps.vhost:
  Invalid command 'SuexecUserGroup', perhaps misspelled or defined by a module not included in the server configuration
   
Javítás: ln -s /etc/apache2/mods-available/suexec.load /etc/apache2/mods-enabled/suexec.load
   
Hiba: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:62
  AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:63
   
Megoldás: vim /etc/apache2/sites-enabled/ispconfig.conf
  # NameVirtualHost *:80
  # NameVirtualHost *:443
   
Hiba: AH00526: Syntax error on line 55 of /etc/apache2/sites-enabled/000-ispconfig.vhost:
  Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
   
Megoldás: vim /etc/apache2/sites-enabled/ispconfig.vhost
  # NameVirtualHost *:8080
  # SSL Configuration
  #SSLEngine On
  #SSLProtocol All -SSLv2 -SSLv3
  #SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
  #SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
  #SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle
   
apache2 újraindítása service apache2 restart
   
ISPconfig elérhető: http://192.168.0.2:8080/
   
ISPConfig belépés  
MySQL műveletek  
  mysql -u root -p
  select host, user, password from mysql.user;
  CREATE USER 'user1'@'localhost' IDENTIFIED BY 'user1';
  GRANT ALL PRIVILEGES ON * . * TO 'user1'@'localhost';
  FLUSH PRIVILEGES;
  \q