Search found 803 matches

by myVesta
Thu Mar 23, 2023 4:23 pm
Forum: Linux services
Topic: How to install memcached on Debian
Replies: 0
Views: 15

How to install memcached on Debian

In order to install memcached service, in SSH, as root, run: memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9]) apt-get update apt-get -y install memcached apt-get install $(systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | cut -c1-...
by myVesta
Thu Mar 23, 2023 3:38 pm
Forum: Linux services
Topic: How to install Redis on Debian
Replies: 2
Views: 2717

Re: How To Install Redis on Debian

OR

New and quick way (for myVesta only) :

Code: Select all

v-update-myvesta
v-commander 'inst redis'
You can adjust 'maxmemory' by typing:

Code: Select all

sed -i "s|^maxmemory .*|maxmemory 4g|g" /etc/redis/redis.conf
systemctl restart redis
by myVesta
Wed Mar 22, 2023 2:24 pm
Forum: Linux tutorials
Topic: How to set up a swap space on an existing Debian server
Replies: 1
Views: 28

Re: How can add swap ?

Since you can't do repartition of existing disk (in order to add swap partition), you can create swap inside an file: dd if=/dev/zero of=/swapfile1 bs=1024 count=1048576 # this is 1GB file chown root:root /swapfile1 chmod 0600 /swapfile1 mkswap /swapfile1 swapon /swapfile1 echo "/swapfile1 none...
by myVesta
Tue Mar 21, 2023 4:32 pm
Forum: nginx templates
Topic: Reverse proxy to another IP
Replies: 8
Views: 4961

Re: Reverse proxy to another IP

the script seems to be broken with the latest myvestacp version :( . /usr/local/vesta/bin/v-list-web-domains: line 17: /func/main.sh: No such file or directory /usr/local/vesta/bin/v-list-web-domains: line 102: check_args: command not found /usr/local/vesta/bin/v-list-web-domains: line 103: is_form...
by myVesta
Mon Mar 13, 2023 5:17 pm
Forum: General discussion
Topic: Myvestacp and Docker
Replies: 1
Views: 30

Re: Myvestacp and Docker

Yes, there is nothing that can cause a conflict.
by myVesta
Sat Mar 11, 2023 2:21 pm
Forum: General discussion
Topic: Install error
Replies: 1
Views: 27

Re: Install error

Screenshot_130.png
Screenshot_130.png (36.78 KiB)

read why: viewtopic.php?f=23&t=89
by myVesta
Fri Mar 10, 2023 2:35 pm
Forum: General discussion
Topic: Gmail template dns
Replies: 1
Views: 42

Re: Gmail template dns

delete domain from MAIL section (in myVesta) - or - viewtopic.php?f=16&t=637
by myVesta
Tue Mar 07, 2023 2:48 pm
Forum: General discussion
Topic: ssl
Replies: 1
Views: 41

Re: ssl

Letsencrypt certificate are always valid for 3 months. After 2 months it will be automatically renewed. About 'not-secure' issue - press F12 and check Console output, you are probably loading some image, css or javascript from http:// instead of https:// If it's wordpress - use this script https://f...
by myVesta
Tue Mar 07, 2023 2:36 pm
Forum: WordPress
Topic: How to use v-lock-wordpress to prevent spreading or being infected by PHP malware
Replies: 3
Views: 249

Re: How to use v-lock-wordpress to prevent spreading or being infected by PHP malware

Try.
The solution is not perfect for every scenario, for example, if some plugin put custom .php script inside /wp-content/uploads/ - that .php script will definitely fail execution.
However, we successfully locked few WordPress sites that have WooCommerce, without any problem.
by myVesta
Tue Mar 07, 2023 12:44 pm
Forum: PHP
Topic: Running wp-cli with specific PHP version
Replies: 0
Views: 30

Running wp-cli with specific PHP version

To install wp-cli or get fresh version: wget -nv https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O /usr/local/bin/wp chmod +x /usr/local/bin/wp To run it with, for example, PHP 5.6, type: USER='someUsername' sudo -H -u$USER /usr/bin/php5.6 /usr/local/bin/wp --info Output w...