Page 1 of 2

vestacp fresh install

Posted: Fri Mar 20, 2015 12:06 am
by maszd
hello,
its possible to install fresh vestacp with latest version php 5.6 and mysql 5.6?
iam use centos 6 x86 with remi repo enable but when installing vestacp its just install php 5.4 and mysql 5.5.
other version is up to date like phpmyadmin its installing 4.3.12
thanks.

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 5:19 am
by skurudo
Use modern repo with software you needed.

VestaCP install all software from the list in script, it's no version check - all software from repo in your system.

Code: Select all

# Install Vesta packages
apt-get -y install $software
if [ $? -ne 0 ]; then
    echo 'Error: apt-get install failed'
    exit 1
fi

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 10:08 am
by maszd
skurudo wrote:Use modern repo with software you needed.

VestaCP install all software from the list in script, it's no version check - all software from repo in your system.

Code: Select all

# Install Vesta packages
apt-get -y install $software
if [ $? -ne 0 ]; then
    echo 'Error: apt-get install failed'
    exit 1
fi
hello,
thanks for reply :)
so i need add that code on vestacp install script (vst-install.sh) before install process on centos?

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 10:19 am
by skurudo
Nope, it's code from install script from Debian to demonstrate my thesis about version of software, in other os the same logic.

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 10:34 am
by maszd
skurudo wrote:Nope, it's code from install script from Debian to demonstrate my thesis about version of software, in other os the same logic.
thank for this info :)
so the only way for use latest version on vestacp is upgrade after fresh install done.
i will try it.

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 10:52 am
by skurudo
maszd wrote:upgrade after fresh install done
Yes, or use repo with new version before install

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 10:58 am
by maszd
Hi again :)
i was use this command for upgrade to php 5.6

Code: Select all

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum install yum-plugin-replace
yum replace php-common --replace-with=php56w-common
and its working great with this result :
Image

now how to upgrade to mysql 5.6?
thanks.

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 11:07 am
by skurudo
You can try this manual for example

https://www.digitalocean.com/community/ ... positories

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 11:14 am
by maszd
skurudo wrote:You can try this manual for example

https://www.digitalocean.com/community/ ... positories
thanks @skurudo :)

Re: vestacp fresh install

Posted: Fri Mar 20, 2015 11:56 pm
by maszd
and this my step for update mysql :

Code: Select all

rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
vi /etc/yum.repos.d/mysql-community.repo
yum update mysql-server
service mysqld restart
chkconfig mysqld on
mysql_upgrade
with this result :
Image