Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

You can install vestacp in ubuntu 16.04?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
21 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by skurudo » Thu Aug 11, 2016 12:15 pm

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.
Top

lukeseven
Posts: 34
Joined: Mon Sep 14, 2015 2:29 pm

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by lukeseven » Tue Aug 30, 2016 8:43 pm

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by skurudo » Thu Sep 01, 2016 9:46 am

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
Top

KernelPanic89
Posts: 3
Joined: Tue Sep 06, 2016 3:21 am

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by KernelPanic89 » Tue Sep 06, 2016 4:40 am

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:
SpoilerShow
https://0bin.net/paste/7-r-QzaLkv7cL9F2 ... KwL3oLeKJj
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
Top

eSzeL
Posts: 7
Joined: Thu Oct 15, 2015 1:09 am

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by eSzeL » Tue Sep 06, 2016 2:08 pm

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!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by skurudo » Tue Sep 06, 2016 9:06 pm

Target version: 0.9.8-17
https://bugs.vestacp.com/issues/211
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by skurudo » Tue Sep 06, 2016 9:07 pm

KernelPanic89, great guide! ;-)
Top

lukeseven
Posts: 34
Joined: Mon Sep 14, 2015 2:29 pm

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by lukeseven » Wed Sep 07, 2016 9:56 am

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
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by mehargags » Sat Oct 08, 2016 10:15 am

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.
Top

KernelPanic89
Posts: 3
Joined: Tue Sep 06, 2016 3:21 am

Re: You can install vestacp in ubuntu 16.04?
  • Quote

Post by KernelPanic89 » Sun Oct 09, 2016 9:58 pm

Thank you so much @KernelPanic89
You are very welcome! :)
Top


Post Reply
  • Print view

21 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password