Monday, 27 August 2018

Install Vistacp Control Panel on Ubuntu server

For VISTACP  Control Panel Installation :
Step 1 – Login to your Ubuntu server as root
Step 2 – Install Vesta CP using command below:
apt-get update
apt install curl
curl -O http://vestacp.com/pub/vst-install.sh
bash vst-install.sh --force --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota yes --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous yes --mysql yes --postgresql yes --hostname vesta.sakhihoting.in --email youremailaddress --password yourpasswordhere

Now system ask your email address then ask your hostname 
then press y 
now installation running please wait 15 - 20 minute for installtion complatetion .
After complate installation on your putty display your user name and password for control panel.
visit https://your server ip:8083
and login.

Change default port

set port 2083 in firewell on your vps provider console 

Action: Accept
Protocol: TCP
Port: 2083
IP Address: 0.0.0.0/0
cd /usr/local/vesta/nginx/conf/
nano nginx.conf
Change
listen          8083;
To
listen          2083;
save file 
service vesta restart






FILEMANAGER
login with root
nano /usr/local/vesta/conf/vesta.conf
add FILEMANAGER_KEY='ILOVEREO'
save and exit
set cronjob
crontab -e

0 */1 * * * /usr/bin/sed -i "/FILEMANAGER_KEY=''/d" /usr/local/vesta/conf/vesta.conf >> /usr/local/vesta/conf/vesta.conf && sudo /usr/bin/grep -q -F "FILEMANAGER_KEY='ILOVEREO'" /usr/local/vesta/conf/vesta.conf || /usr/bin/echo "FILEMANAGER_KEY='ILOVEREO'" >> /usr/local/vesta/conf/vesta.conf
save and exit
You also login in http://your server ip/phpmyadmin

If you're tired of the message "The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated", this patch for you ;-)

run this command as root on your ubuntu server

curl -O -k https://raw.githubusercontent.com/skurudo/phpmyadmin-fixer/master/pma-ubuntu.sh && chmod +x pma-ubuntu.sh && ./pma-ubuntu.sh

OR

sudo wget --no-check-certificate https://raw.githubusercontent.com/skurudo/phpmyadmin-fixer/master/pma-ubuntu.sh && sudo chmod +x pma-ubuntu.sh &&
sudo ./pma-ubuntu.sh



Edit Template
nano /usr/local/vesta/data/templates/web/skel/public_html/index.html



IF YOU WANT UNINSTALL

apt-get remove vesta*
rm -f /etc/apt/sources.list.d/vesta.list

3. Delete data directory and cron
rm -rf /usr/local/vesta