Page 2 of 3

Re: You can install vestacp in ubuntu 16.04?

Posted: Thu Aug 11, 2016 12:15 pm
by skurudo
lukeseven wrote: any proximate windows on this? I am just wondering when I could upgrade to Ubuntu 16.04 LTS and install VestaCP along with it.
17 (upcomming) or 18 release, I think.

Re: You can install vestacp in ubuntu 16.04?

Posted: Tue Aug 30, 2016 8:43 pm
by lukeseven
Thanks,

I cannot wait for it.

I have checked VestaCP road map and the upcoming version in August doesn't mention Ubuntu 16.04 support in the
Version 0.9.8-17. There is no Ubuntu 16.04 support in 17th release as I understood from what I read. When you are going to release the 18th update approximately?

I am really looking forward to it.

VestaCP rocks. I Love It.

Cheers

Re: You can install vestacp in ubuntu 16.04?

Posted: Thu Sep 01, 2016 9:46 am
by skurudo
lukeseven wrote:I have checked VestaCP road map and the upcoming version in August doesn't mention Ubuntu 16.04 support in the Version 0.9.8-17.
Really? ;-)
See https://bugs.vestacp.com/issues/211
Target version: 0.9.8-17

Re: You can install vestacp in ubuntu 16.04?

Posted: Tue Sep 06, 2016 4:40 am
by KernelPanic89
I am currently attempting to install this on 16.04, I will document my changes and if I finally get the install to work or if it falls apart into a miserable piece of garbage.

My modified copy of vst-install-ubuntu.sh is pasted here: Steps:
Download the installer file from the Vesta site.

Code: Select all

curl -O http://vestacp.com/pub/vst-install.sh
Try running the bash once with your desired parameters (Mine is going to differ from yours).

Code: Select all

 bash vst-install.sh --nginx yes --apache yes --phpfpm no --vsftpd yes --proftpd no --exim no --dovecot no --spamassassin no --clamav no --named no --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no --hostname oac.yesleap.com --email [email protected] --password XXxxXXxxXXxxXX
Wait for first failure.

Now edit the vst-install-ubuntu.sh with the following:
Find line 15 (should be os='u buntu') and replace the following variables: release, codename, software.
Replace them with the following, (be sure to leave vestacp variable alone!):

Code: Select all

release="15.10"
codename="wily"
software="nginx apache2 apache2-utils apache2.2-common
        apache2-suexec-custom libapache2-mod-ruid2 libapache2-mod-rpaf
        libapache2-mod-fcgid libapache2-mod-php7.0 php7.0 php7.0-common php7.0-cgi
        php7.0-mysql php7.0-curl php7.0-fpm php7.0-pgsql awstats webalizer vsftpd
        proftpd-basic bind9 exim4 exim4-daemon-heavy clamav-daemon
        spamassassin dovecot-imapd dovecot-pop3d roundcube-core
        roundcube-mysql roundcube-plugins mysql-server mysql-common
        mysql-client postgresql postgresql-contrib phppgadmin phpmyadmin mc
        flex whois rssh git idn zip sudo bc ftp lsof ntpdate rrdtool quota
        e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
        bsdmainutils cron vesta vesta-nginx vesta-php"
Look for Install Repository and change

Code: Select all

echo "deb http://nginx.org/packages/ubuntu/ $codename nginx" > $apt/nginx.list
to

Code: Select all

echo "deb http://nginx.org/packages/ubuntu/ xenial nginx" > $apt/nginx.list

Delete the Backing up PHP configuration sections (there are two) and paste the following:

Code: Select all

# Backing up PHP configuration
service php7-fpm stop >/dev/null 2>&1
cp -r /etc/php/7.0 $vst_backups/php7.0 > /dev/null 2>&1
rm -f /etc/php/7.0/fpm/pool.d/* >/dev/null 2>&1
In Package Exludes
under the if [ "$apache" = 'no' ]; then
add software=$(echo "$software" | sed -e "s/libapache2-mod-php7.0//")

In if [ "$mysql" = 'no' ]; then
update php-mysql to php7.0-mysql
and correct the capitalization of phpMyAdmin to phpmyadmin (case sensative in the *nix world).

In if [ "$postgresql" = 'no' ]; then
update php-pgsql to php7.0-pgsql

Now look for "WEB_BACKEND='php-fpm'" (around 700) and update it to php-fpm7.0-fpm

Look for Configure PHP-FPM we are going to erase the block and replace them with the following:

Code: Select all

#----------------------------------------------------------#
#                     Configure PHP-FPM                    #
#----------------------------------------------------------#

if [ "$phpfpm" = 'yes' ]; then
    wget $vestacp/php7.0-fpm/www.conf -O /etc/php/7.0/fpm/pool.d/www.conf
    update-rc.d php7.0-fpm defaults
    service php7.0-fpm start
    check_result $? "php7.0-fpm start failed"
fi
That's it for PHP!

Now on to MySQL
Look for Configure MySQL/MariaDB and then MySQL configuration
Replace the entire block with the following:

Code: Select all

    # MySQL configuration
    wget $vestacp/mysql/$mycnf -O /etc/mysql/my.cnf
    sed -i.bak s/thread_concurrency/\#thread_concurrency/g /etc/mysql/my.cnf
    sed -i.bak s/myisam-recover-options/\#myisam-recover-options/g /etc/mysql/mysql.conf.d/mysqld.cnf
    sed -i.bak s/thread_concurrency/\#thread_concurrency/g /etc/mysql/mysql.conf.d/mysqld.cnf
    mysql_install_db
    update-rc.d mysql defaults
    systemctl enable mysql.service
    service mysql start
    check_result $? "mysql start failed"


IT WORKS... So Far
This seems to of worked thus far and I am not noticing any issues, next will be setting up an account and testing it.
Image
Image

Re: You can install vestacp in ubuntu 16.04?

Posted: Tue Sep 06, 2016 2:08 pm
by eSzeL
I did do-release-upgrade on a 14.04 Ubuntu server LTS with VestaCP, everything went fine, just had to downgrade PHP 7 to 5.6 because of old websites:

http://askubuntu.com/questions/756181/i ... nial-16-04

Good luck!

Re: You can install vestacp in ubuntu 16.04?

Posted: Tue Sep 06, 2016 9:06 pm
by skurudo
Target version: 0.9.8-17
https://bugs.vestacp.com/issues/211

Re: You can install vestacp in ubuntu 16.04?

Posted: Tue Sep 06, 2016 9:07 pm
by skurudo
KernelPanic89, great guide! ;-)

Re: You can install vestacp in ubuntu 16.04?

Posted: Wed Sep 07, 2016 9:56 am
by lukeseven
skurudo wrote:
lukeseven wrote:I have checked VestaCP road map and the upcoming version in August doesn't mention Ubuntu 16.04 support in the Version 0.9.8-17.
Really? ;-)
See https://bugs.vestacp.com/issues/211
Target version: 0.9.8-17
Sorry, I didn't find this one. I got it from here https://vestacp.com/roadmap/

Nice and thank you.

P.S. I'll try KernelPanic89's guide on my local hyper-v set up before Version 0.9.8-17 will be released

Re: You can install vestacp in ubuntu 16.04?

Posted: Sat Oct 08, 2016 10:15 am
by mehargags
Thank you so much @KernelPanic89

Your guide works well, I just copied pasted your default script and it installed very well on an AWS EC2 Ubuntu 16.04 Xenial !

Thanks for the working script. I will report if any issues are observed.

Re: You can install vestacp in ubuntu 16.04?

Posted: Sun Oct 09, 2016 9:58 pm
by KernelPanic89
Thank you so much @KernelPanic89
You are very welcome! :)