Search found 199 matches
- Mon Mar 30, 2020 8:14 pm
- Forum: Servers
- Topic: Linux startup script
- Replies: 1
- Views: 15323
Re: Linux startup script
There are several ways to run a script on startup/reboot on linux. My favorite : Crontab sudo crontab -e @reboot /home/me/scripts/this.sh Another way to do it, local.d scripts at boot time, add its init.d script to the default runlevel. Enable local.d Scripts rc-service local start and then create y...
- Fri Mar 20, 2020 9:23 pm
- Forum: MySQL
- Topic: php mysqli_connect: authentication method unknown to the client [caching_sha2_password]
- Replies: 1
- Views: 12506
Re: php mysqli_connect: authentication method unknown to the client [caching_sha2_password]
MYSQL has changed it type of password (since Mysql 8 ?)
Anyway the easiest solution, is execute the following SQL command on MYSQL
It should solve your problem.
Anyway the easiest solution, is execute the following SQL command on MYSQL
Code: Select all
ALTER USER 'mysqlUsername'@'localhost' IDENTIFIED WITH mysql_native_password BY 'mysqlUsernamePassword';
- Sun Feb 16, 2020 9:02 pm
- Forum: Postfix
- Topic: postfix not mail from other hosts
- Replies: 4
- Views: 14210
Re: postfix not mail from other hosts
Are you sure you are sending it to the right account?
sometimes you need to also add the domain name (even if it is not a public domain).
sometimes you need to also add the domain name (even if it is not a public domain).
Code: Select all
sendmail user@host.domain.com
- Sun Feb 16, 2020 1:10 pm
- Forum: Postfix
- Topic: postfix not mail from other hosts
- Replies: 4
- Views: 14210
Re: postfix not mail from other hosts
are you sending to a user on the server.
Do a test from the client:
and check the logs on the client and on the server.
Do a test from the client:
Code: Select all
sendmail user@host
- Sun Oct 13, 2019 7:25 pm
- Forum: WordPress
- Topic: Wordpress change login page
- Replies: 1
- Views: 23964
Re: Wordpress change login page
You can follow the tutorial : https://www.inmotionhosting.com/support/website/wordpress-plugins/hiding-your-wordpress-admin-url-with-ithemes-security But for you new login page, I think it is best to manual make a copy of wp-login.php to newlogin.php . It is really good to rename wp-login.php, scrip...
- Wed Aug 28, 2019 7:10 pm
- Forum: Postfix
- Topic: postfix forward mail to multiple recipients
- Replies: 2
- Views: 45643
Re: postfix forward mail to multiple recipients
Be careful to which email-address you forward. For example; if you forward an email coming from gmail to gmail, It will probably be flagged as spam. Because gmail knows that your server should not send email coming from gmail (or any other known email-providers). To prevent this you could do it all ...
- Sun Jun 30, 2019 9:30 am
- Forum: WordPress
- Topic: Move wordpress site to directory
- Replies: 1
- Views: 30010
Re: Move wordpress site to directory
It is a complicated process. Moving the files from subdir to the root, is the first step, but some additional steps are needed. Actual the first step should always be tot do a backup of your files and of the database. Preparation Backup the files and the database! Remove any old site files from the ...
- Wed Jun 19, 2019 6:26 pm
- Forum: WordPress
- Topic: Wordpress auto-update
- Replies: 1
- Views: 22396
Re: Wordpress auto-update
If you have shell access to your server, you can edit the wp-config.php -file Add the following line to disable auto-update: define( 'automatic_updater_disabled', true ); or if you only want to disable WordPress auto updates define( 'wp_auto_update_core', false ); Another, perhaps easier option is i...
- Mon May 20, 2019 8:05 pm
- Forum: WordPress
- Topic: Solved: Wordpress upgrade
- Replies: 2
- Views: 59209
Re: Wordpress upgrade
If the webserver-user has write access to the website directory,
an FTP-upload is not needed.
The following command should be enough:
or
The you can retry the automatic-update,
and it should continue.
an FTP-upload is not needed.
The following command should be enough:
Code: Select all
chown -R www-data:www-data /var/www/name-of-site
Code: Select all
chown -R apache:apache /var/www/name-of-site
and it should continue.
- Sun May 19, 2019 2:06 pm
- Forum: WordPress
- Topic: wordpress test site
- Replies: 2
- Views: 40603
Re: wordpress test site
A little tip if you adapt the the hosts-file of your PC;
use private mode or incognito.
Some files get cached, if you use the same browser for both sites,
It can cause problems.
use private mode or incognito.
Some files get cached, if you use the same browser for both sites,
It can cause problems.