vordan of Infoproject
6/5/2017 - 10:16 AM

LAMP server install in Ubuntu

LAMP server install in Ubuntu

apt-get install lamp-server^

vi /etc/mysql/my.cnf
Comment bind-address 127.0.0.1

MySQL
mysql -uroot
mysql> SET PASSWORD FOR 'root'@'%'= PASSWORD('infop');

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'infop' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> exit;


vi /etc/mysql/my.cnf

*OpenVPN install*
apt install openvpn easy-rsa
Инсталација на cURL за да работи Mailgun email
-----------------------------------------------
- First Install CURL: sudo apt-get install curl
- Restart Apache: sudo service apache2 restart
- Install PHP5 CURL: sudo apt-get install php5-curl
- Restart Apache again: sudo service apache2 restart

Done!