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.
VestaCP CentOS 7 Server Installer
Re: VestaCP CentOS 7 Server Installer
Thanks a lot! Can i ask another question?
How do i change the email address that receives system notification ex. ssh login, ip block.
Also prior the installation i was asked to enter email and pass and smtp info, i'm not sure if its for monit. Anyway, is there a way i could change these values that i entered before ?
Thanks
How do i change the email address that receives system notification ex. ssh login, ip block.
Also prior the installation i was asked to enter email and pass and smtp info, i'm not sure if its for monit. Anyway, is there a way i could change these values that i entered before ?
Thanks
Re: VestaCP CentOS 7 Server Installer
You can change the "admin" account in VestaCP and this will send you all Vesta related emails.pandabb wrote:Thanks a lot! Can i ask another question?
How do i change the email address that receives system notification ex. ssh login, ip block.
Also prior the installation i was asked to enter email and pass and smtp info, i'm not sure if its for monit. Anyway, is there a way i could change these values that i entered before ?
Thanks
You need to change the CSF value. Login to VestaCP, click the CSF link, click the button Firewall Configuration, find the setting LF_ALERT_TO and change it. It's under Reporting Settings.
In order to change Monit you must edit /etc/monitrc near the top:
Code: Select all
set daemon 60
set logfile syslog facility log_daemon
set mailserver MAILSERVER port 587 username "SMTP_USERNAME" password "SMTP_PASSWORD"
set mail-format { from: EMAIL_ADDRESS_ALERTS_GO_TO }
set alert EMAIL_ADDRESS_ALERTS_GO_TO
Re: VestaCP CentOS 7 Server Installer
Great thank you.
Perfect setup for me and low in ram usage compared to my old build which is 750mb this one is around 300mb only.
Perfect setup for me and low in ram usage compared to my old build which is 750mb this one is around 300mb only.
Re: VestaCP CentOS 7 Server Installer
The script was updated today to fix a bug with PHP.
First type:
If the output shows PHP 7 then run the following commands:
This will disable PHP 5.6 so when you run the command yum update, it will not overwrite PHP 7 with PHP 5.6.
If you see PHP 5.6 installed run the following:
This will re-install PHP 7 and disable PHP 5.6 from being updated.
First type:
Code: Select all
php -v
Code: Select all
yum -y install yum-utils
yum-config-manager --disable remi-php56
If you see PHP 5.6 installed run the following:
Code: Select all
service php-fpm stop
yum -y --enablerepo=remi install php70-php php70-php-pear php70-php-bcmath php70-php-pecl-jsond-devel php70-php-mysqlnd php70-php-gd php70-php-common php70-php-fpm php70-php-intl php70-php-cli php70-php php70-php-xml php70-php-opcache php70-php-pecl-apcu php70-php-pecl-jsond php70-php-pdo php70-php-gmp php70-php-process php70-php-pecl-imagick php70-php-devel php70-php-mbstring
rm -f /usr/bin/php
ln -s /usr/bin/php70 /usr/bin/php
sed -i 's/include=.*/include=\/etc\/php-fpm.d\/\*\.conf/' /etc/opt/remi/php70/php-fpm.conf
service php70-php-fpm restart
rm -f /usr/lib/systemd/system/php-fpm.service
ln -s /usr/lib/systemd/system/php70-php-fpm.service /usr/lib/systemd/system/php-fpm.service
systemctl daemon-reload
yum -y install yum-utils
yum-config-manager --disable remi-php56
service php-fpm restart
Re: VestaCP CentOS 7 Server Installer
Hello thanks for the update:
After running the code heres what i get:
As of now is there a way to switch php version ex. 5.6 and 7 because some wordpress plugins arent compatble yet for php7.
After running the code heres what i get:
Is this the supposed outcome?[root@server ~]# php -v
PHP 7.0.14 (cli) (built: Dec 7 2016 09:19:11) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies
As of now is there a way to switch php version ex. 5.6 and 7 because some wordpress plugins arent compatble yet for php7.
Re: VestaCP CentOS 7 Server Installer
Hi,
I was installing it on a kvm vps and getting this situation,vestcp installation skipped?
Installed:
vim-common.x86_64 2:7.4.160-1.el7
Dependency Installed:
vim-filesystem.x86_64 2:7.4.160-1.el7
Complete!
./CentOS7.sh: line 96: /usr/local/vesta/bin/v-add-letsencrypt-domain: No such file or directory
Generating DH parameters, 4096 bit long safe prime, generator 2
This is going to take a long time
.......................................................................................................................................................................................................................................
I was installing it on a kvm vps and getting this situation,vestcp installation skipped?
Installed:
vim-common.x86_64 2:7.4.160-1.el7
Dependency Installed:
vim-filesystem.x86_64 2:7.4.160-1.el7
Complete!
./CentOS7.sh: line 96: /usr/local/vesta/bin/v-add-letsencrypt-domain: No such file or directory
Generating DH parameters, 4096 bit long safe prime, generator 2
This is going to take a long time
.......................................................................................................................................................................................................................................
Re: VestaCP CentOS 7 Server Installer
Yes. You have PHP 7 installed:pandabb wrote:Hello thanks for the update:
After running the code heres what i get:
Is this the supposed outcome?[root@server ~]# php -v
PHP 7.0.14 (cli) (built: Dec 7 2016 09:19:11) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies
As of now is there a way to switch php version ex. 5.6 and 7 because some wordpress plugins arent compatble yet for php7.
Code: Select all
PHP 7.0.14 (cli) (built: Dec 7 2016 09:19:11) ( NTS )
Code: Select all
yum -y install yum-utils
yum-config-manager --disable remi-php56
Re: VestaCP CentOS 7 Server Installer
Hmm. More logs above that? Should tell us why VESTA was not installed.amitz wrote:Hi,
I was installing it on a kvm vps and getting this situation,vestcp installation skipped?
Installed:
vim-common.x86_64 2:7.4.160-1.el7
Dependency Installed:
vim-filesystem.x86_64 2:7.4.160-1.el7
Complete!
./CentOS7.sh: line 96: /usr/local/vesta/bin/v-add-letsencrypt-domain: No such file or directory
Generating DH parameters, 4096 bit long safe prime, generator 2
This is going to take a long time
.......................................................................................................................................................................................................................................
Try
Code: Select all
sudo ./CentOS7.sh > OutputOfScript.txt
Re: VestaCP CentOS 7 Server Installer
Hello i just installed wordpress and it's asking me for ftp user when i try to install a plugin, i know how to fix this on apache but not on this one. Hope you can help again. Also which of the two wordpress nginx template built-in do you prefer or what's the intended use for each template.
Do you also know the reason why turning off cloudflare cache gives me more better result?
Test is :
Vanilla wordpress / no caching plugin 10k Clients per minute using loader.io
Result:
Cloudflare off average ms 42ms 0 Errors
Cloudflare on average ms 563 ms 0.5% Error
Thanks again.
Do you also know the reason why turning off cloudflare cache gives me more better result?
Test is :
Vanilla wordpress / no caching plugin 10k Clients per minute using loader.io
Result:
Cloudflare off average ms 42ms 0 Errors
Cloudflare on average ms 563 ms 0.5% Error
Thanks again.
Re: VestaCP CentOS 7 Server Installer
It should not do that? Have you uploaded WordPress files as root instead of FTP?pandabb wrote:Hello i just installed wordpress and it's asking me for ftp user when i try to install a plugin, i know how to fix this on apache but not on this one. Hope you can help again. Also which of the two wordpress nginx template built-in do you prefer or what's the intended use for each template.
Thanks again.
P.S - I just tested loader.io with 10k client per minute and only a couple of errors and this is w.o a caching plugin! V. nice
This will fix the problem but check who the files are owned by first:
Code: Select all
chown -R username:username /home/username/web/domain/public_html