Search found 941 matches

by myVesta
Sun Aug 18, 2024 1:35 pm
Forum: Bug report
Topic: BACKDOOR
Replies: 2
Views: 675

Re: BACKDOOR

I will advise you to send to info@myvestacp.com these files: /var/log/vesta/nginx-access.log* (wildcard means: .1.log, .2.log.gz, etc... if exists) /var/log/vesta/nginx-error.log* /var/log/vesta/system.log* /var/log/vesta/error.log* /var/log/auth.log* /var/log/syslog* /root/.bash_history Put these f...
by myVesta
Thu Aug 15, 2024 4:56 pm
Forum: General discussion
Topic: Is myvestacp secure from local attack?
Replies: 1
Views: 591

Re: Is myvestacp secure from local attack?

In default variant (nginx+apache+phpfpm) = not vulnerable, because open_basedir will prevent access to /var/run/php/ In the nginx+phpfpm variant (installed on less than 1% of myvestacp servers) = it is vulnerable from the local environment because PHP-FPM uses a local TCP port that another user can ...
by myVesta
Wed Aug 14, 2024 2:34 pm
Forum: Bash
Topic: Script for checking inactive Services
Replies: 2
Views: 1397

Re: Script for checking inactive Services

Our suggestion for Main looop:

Code: Select all

apt_running=$(ps -Af | grep 'apt' | grep -v 'grep apt' | wc -l)
if [ "$apt_running" -gt 0 ]; then
	echo "apt is running, maybe apt upgrade, we should not restart services";
	sleep 120,
	continue;
fi
by myVesta
Thu Jul 25, 2024 6:51 pm
Forum: PHP
Topic: How to install multi PHP versions
Replies: 48
Views: 205090

Re: How to install multi PHP versions

brain8torm wrote: Thu Jul 25, 2024 12:45 pm Hi! I installed myVesta for the first time on VDS c Debian 12.6. I try to install Multi PHP and get such errors. I'm attaching a screenshot. How to solve this problem?
I just checked, and everything went fine.
Run apt update and paste output here; maybe you have an old sury signing key.
by myVesta
Mon Jul 22, 2024 10:55 am
Forum: General discussion
Topic: PHP-FPM and non-ASCII domain
Replies: 3
Views: 1903

Re: PHP-FPM and non-ASCII domain

domain.rf.apache2.conf domain.rf.apache2.ssl.conf domain.rf.nginx.conf domain.rf.nginx.ssl.conf will be overwritten when something gets changed in the configuration of domain, even when LetsEncrypt renewing occur. I suggest you remove the domain, check /etc/bind/named.local to ensure that empty quot...
by myVesta
Thu Jun 20, 2024 10:05 pm
Forum: Mail
Topic: Setup authenticated SMTP users to send emails from second IPv4
Replies: 0
Views: 3476

Setup authenticated SMTP users to send emails from second IPv4

In SSH, as root, run: v-make-separated-ip-for-email "your-second.hostname.com" "YOUR-SECOND-IP" "NETMASK" "NetworkInterface" Your second hostname should point to your second IP YOUR-SECOND-IP is something like 123.123.123.123 - it's PTR record should point bac...
by myVesta
Mon Jun 03, 2024 11:45 am
Forum: Virtualization
Topic: How to install Docker on Debian
Replies: 2
Views: 8740

Re: How to install Docker on Debian

Tutorial for old Deban 10: sudo apt update sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian ...
by myVesta
Mon May 27, 2024 2:18 pm
Forum: PHP
Topic: How to install multi PHP versions
Replies: 48
Views: 205090

Re: How to install multi PHP versions

debirose55 wrote: Sun May 26, 2024 4:54 am Will updating to a new PHP version affect existing web templates,download lagu or will it only add new features? Thank you.
It will NOT affect existing templates and PHP versions; it will only add new ones.
by myVesta
Fri May 10, 2024 4:01 pm
Forum: nginx templates
Topic: How to create a custom nginx template
Replies: 1
Views: 3306

Re: How to create a custom nginx template

Code: Select all

cd /usr/local/vesta/data/templates/web/nginx
cp hosting.tpl mycustom.tpl
cp hosting.stpl mycustom.stpl