Tag Archives: centos

letsencrypt – Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.

letsencrypt topic about this issue: https://community.letsencrypt.org/t/solution-client-with-the-currently-selected-authenticator-does-not-support-any-combination-of-challenges-that-will-satisfy-the-ca/49983/2


This is due to a security incident with LetsEncrypt

Incident Status Security Issue
Components acme-v01.api.letsencrypt.org (Production), acme-staging.api.letsencrypt.org (Staging), acme-staging-v02.api.letsencrypt.org (Staging)
Locations High Assurance Datacenter 1, High Assurance Datacenter 2

PHP 5.6 on CentOS 7

This is how I managed to have PHP 5.6 on a fresh CentOS 7.

yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum clean
yum update

Then…

yum install php56w php56w-opcache php56w-mcrypt php56w-pdo php56w-mysql php56w-mbstring php56w-gd php56w-dom

 

ImageMagick

yum install ImageMagick php56w-imagick

 

Restart httpd

service httpd restart

Install Plesk in CentOS

I’m installing a Plesk on a virtual machine, in a fresh CentOS.

For non-fresh CentOS  or with f Apache, PHP, MySQL and/or Cyrus, remove them.

yum remove http* 
yum remove php* 
yum remove cyrus* 
yum remove mysql*

1. Disable SELinux status

setenforce 0

3. Make a working directory and go inside her 😉

mkdir /root/plesk
cd /root/plesk

4. Download the plesk auto installer

wget http://autoinstall.plesk.com/plesk-installer

5. Run it

 sh ./plesk-installer

Now is just follow the screens! 🙂

 Congratulations!
 All stages of the installation/upgrade have been finished.
 psa is now running on your system.
 To complete the system configuration process, please proceed to URL:
 https://localhost.localdomain:8443/ or
 https://127.0.0.1:8443/
 Use 'root' and '<YOUR root PASSWORD>' as login name and password in case of fresh installation.
 Use 'admin' and '<YOUR admin PASSWORD>' as login name and password in case of upgrade,
 or if Plesk is already configured.

Further, use the following commands to start and stop the system:
 /etc/init.d/psa start and
 /etc/init.d/psa stop respectively.

 

Your host name must resolve to the correct IP address of your server – Plesk

Your host name must resolve to the correct IP address of your server, unless you are using network address translation (NAT).

Please quit Parallels Installer, fix the host name resolution problem,
and then try installing again.
You can skip the hostname check and continue the installation, however,
in such a case, the installer cannot guarantee successful installation.

I’v edited /etc/hosts/ and added

127.0.0.1 webhostplesk 

to it.
It worked… dunno if is the right solution, but it worked. 🙂

 

A nice article of how set up a backup of your website with rysnc and centos 6

This article provides a quick way to backup the most common things in a typical web hosting scenario: website files and database data. We will setup a full daily backup of a website folder and a copying of this data to a remote server (this can also work for another VPS). We will also set up a rsync example to just copy the incremental changes. Finally, we’ll set up backup of a MySQL database. The procedures described use a few simple Bash commands, rsync and cron to schedule backups. For example data, we can install WordPress as per this tutorial. It will place WordPress in /var/www/wordpress directory and a MySQL database wordpress and we now want to take a backup of all the data.

Read more at: https://www.digitalocean.com/community/articles/how-to-create-an-off-site-backup-of-your-site-with-rsync-on-centos-6

HOORAY! for Digital Ocean!