Search found 928 matches

by myVesta
Mon Oct 30, 2023 3:17 pm
Forum: Bash
Topic: Cloning website, making staging copy (v-clone-website)
Replies: 10
Views: 41484

Re: Cloning website, making staging copy (v-clone-website)

smartis wrote: Mon Oct 30, 2023 2:08 pm Hello, is there a command that can create sites in bulk? I want to create 1 main site and copy it to 50 different domains.
Copy/paste command 50 times with 50 different domains.
by myVesta
Mon Oct 30, 2023 2:12 pm
Forum: Bash
Topic: Cloning website, making staging copy (v-clone-website)
Replies: 10
Views: 41484

Re: Cloning website, making staging copy (v-clone-website)

Hello, when i want to clone my website; sudo /usr/local/vesta/bin/v-clone-website mywebsite.com stage.mywebsite.com I am getting error like this, what could be the cause of the error? I am using wordpress /usr/local/vesta/bin/v-get-database-credentials-of-domain: line 127: get_database_name_without...
by myVesta
Tue Sep 26, 2023 3:37 pm
Forum: myVesta
Topic: Increasing system limits
Replies: 1
Views: 1274

Increasing system limits

By default, a Debian system comes with some predefined system limits. Also, the services are preset to be able to open a certain number of files. This does not cause any problems on smaller servers, but on large shared servers, you can easily hit these limits, which can result in services rejecting ...
by myVesta
Sat Sep 23, 2023 8:08 pm
Forum: phpMyAdmin
Topic: Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable
Replies: 0
Views: 1726

Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable

Solution:

EDIT FILE

Code: Select all

/usr/share/phpmyadmin/libraries/sql.lib.php
FIND:

Code: Select all

(count($analyzed_sql_results['select_expr'] == 1)
REPLACE WITH:

Code: Select all

((count($analyzed_sql_results['select_expr']) == 1)
by myVesta
Mon Sep 18, 2023 2:05 pm
Forum: Installation
Topic: MySQL 8 repo not available for Bookworm yet
Replies: 5
Views: 1677

Re: MySQL 8 repo not available for Bookworm yet

It will be nice if somebody tries to install Bullseye mysql8 build on Bookworm... maybe it will work :D For faster probing, do it on clean Bookworm, without myVesta, just manually copy-paste this piece of code: (copy and run each line/block): codename='bullseye' echo "### THIS FILE IS AUTOMATIC...
by myVesta
Mon Sep 18, 2023 1:21 pm
Forum: Installation
Topic: MySQL 8 repo not available for Bookworm yet
Replies: 5
Views: 1677

Re: MySQL 8 repo not available for Bookworm yet

If official MySQL didn't make a build for Bookworm, what can we do?
by myVesta
Tue Sep 12, 2023 4:39 pm
Forum: General discussion
Topic: cloudflare for my web
Replies: 1
Views: 420

Re: cloudflare for my web

hey i have using cloudflare for my website and no proxy for mail.web.com but still someone can find my server IP using mail.web.com .if I enable proxy for mail.web.com I don't receive any mail have any solution for this ? There is no solution, except to create separate server just for emails, or us...
by myVesta
Mon Aug 28, 2023 3:02 pm
Forum: Web
Topic: How to put HTTP authentication to some site or folder
Replies: 0
Views: 1451

How to put HTTP authentication to some site or folder

Create .htaccess file First, create a .htaccess file in your public_html to protect the entire site or specific directory, and add the following content in the .htacces file: AuthType Basic AuthName "Please login" AuthUserFile /home/myuser/web/yourdomain.com/public_html/.htpasswd require ...
by myVesta
Mon Aug 28, 2023 12:35 pm
Forum: Mail
Topic: How to log who and when deleted some email (dovecot)
Replies: 0
Views: 2412

How to log who and when deleted some email (dovecot)

First: sed -i "1s|^|mail_plugins = \$mail_plugins mail_log notify\n|" /etc/dovecot/dovecot.conf Then (copy-paste the whole block): cat <<EOF >/etc/dovecot/conf.d/90-plugin.conf ## ## Plugin settings ## # All wanted plugins must be listed in mail_plugins setting before any of the # settings...
by myVesta
Mon Aug 21, 2023 1:37 pm
Forum: Web
Topic: Set Restart-Timeout for Apache2
Replies: 0
Views: 3881

Set Restart-Timeout for Apache2

Sometimes, when the server load is high, if an script tries to restart Apache, it may happen that Apache does not restart at all, but remains shut down, because due to the excessive server load, the restart process can take an unexpectedly long time, after which systemctl simply gives up reboot. To ...