We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Can separate modules be installed individually as amendment?
Can separate modules be installed individually as amendment?
My previous installation script was something like this:
I didn't install remi. Now if I want to install it, making the script sth. like this:bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi no --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim no --dovecot no --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no
Is it correct that I only run such a bash script:bash vst-install.sh --nginx yes --phpfpm yes --apache no --named no --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim no --dovecot no --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no
I mean, if I want to add some certain missed module(s), all I should run is making installed module a 'no', and adding the missed module a 'yes'?bash vst-install.sh --nginx no --apache no --phpfpm no --named no --remi yes --vsftpd no --proftpd no --iptables no --fail2ban no --quota no --exim no --dovecot no --spamassassin no --clamav no --softaculous no --mysql no --postgresql no
Last edited by baoang on Fri Mar 16, 2018 3:38 am, edited 1 time in total.
Re: Can separate modules be installed individually as amendment?
as far as I know, you can't run the installer script twice. maybe you can check the referencing remi part in the script and run the command lines manually.
Re: Can separate modules be installed individually as amendment?
Thank you, ScIT, and I found this:
in the official install script,wget http://vestacp.com/pub/vst-install-$type.sh -O vst-install-$type.sh
so I guess, since mine is running on CentOS v6.9, the real file should be
I downloaded this file and among the code, here are a few blocks:http://vestacp.com/pub/vst-install-$type.sh -O vst-install-rhel.sh
It seems that I should install EPEL repository first by running:# Installing EPEL repository
yum install epel-release -y
check_result $? "Can't install EPEL repository"
# Installing Remi repository
if [ "$remi" = 'yes' ]; then
rpm -Uvh --force $vestacp/remi-release.rpm
check_result $? "Can't install REMI repository"
sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/remi.repo
fi
and then install remi, which I didn't install previously, by running:yum install epel-release -y
How about the second red line, which readsrpm -Uvh --force $vestacp/remi-release.rpm
sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/remi.repo
Also, for that variable $vestacp, I tried https://vestacp.com/ but it looks like a wrong variable value:(
--------------
Oh, I found it, $vestacp directs to /usr/local/vesta/install/rhel/6 in my case. 6 refers to CentOS v6.x.
So, the install script will be sth. like this?
Code: Select all
rpm -Uvh --force /usr/local/vesta/install/rhel/6/remi-release.rpm
Code: Select all
yum install epel-release -y && rpm -Uvh --force /usr/local/vesta/install/rhel/6/remi-release.rpm
Re: Can separate modules be installed individually as amendment?
Ok, finally, from the article's explaination, I checked the author's instructions.
It looks the remi part is not like the php part which may highly associated with the control panel. Adding a remi's repo will not affect the function of the panel.This is how we’re going to install certain software on CentOS 7 later on in this tutorial, if you haven’t already installed VestaCP then make sure you select it during the install, if you have already installed VestaCP then you can follow our guide to install it instead.