VestaCP
Connect to your server as root via SSH
ssh root@my.ip.address
see current dir
pwd
list dirs
ls
go to domains folder
cd /home/admin/web
go back to root
cd -
delete all files and folders in "lampp" dir
rm -rf lampp
or as super user
sudo rm -rf lampp
Connect to your server as root via SSH
ssh root@108.61.170.75
Download installation script
curl -O http://vestacp.com/pub/vst-install.sh
Run it
bash vst-install.sh
sudo apt-get install python-software-properties
sudo apt-get -f install (IF NEEDED)
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get update && apt-get purge php5-fpm && apt-get --purge autoremove && apt-get install php7.0-fpm php7.0-mysql php7.0 php7.0-json php7.0-curl libapache2-mod-php7.0 php7.0-opcache php7.0-xml php7.0-gd php7.0-bz2
sudo service apache2 restart
sudo a2dismod php5
sudo a2enmod php7.0
sudo service apache2 restart
sudo apt-get install php7.0-gd
sudo apt-get install php7.0-zip
sudo apt-get install mcrypt php7.0-mcrypt
#and than restart your webserver.
sudo service apache2 restart
sudo apt-get install php7.0-mbstring
nano /etc/mysql/my.cnf
CTRL+C to set the cursor
Change this
sort_buffer_size = 64K
To this
sort_buffer_size = 256K
CTRL+S to save
confirm
sudo service mysql restart
nano /etc/vsftpd.conf
change
pasv_enable from YES to NO # or vise versa
hit
"ctrl+o" to save? "ctrl+x" to exit
restart ftp server
restart vsftpd
In domain registrar
In Vesta CP
sudo apt-get install apparmor-utils
sudo aa-complain usr.sbin.named
sudo /etc/init.d/apparmor stop
sudo /etc/init.d/apparmor start
sudo service bind9 restart