Installing Magento through Installatron requirements missing error in WHM

Installing Magento through Installatron requirements missing error:

Requirements:
php-intl-version-minimum v1 (detected: OFF) php extension
php-memory-limit 128MB (detected: 32MB)

You will need to install php-intl-version-minimum in EasyApache:

Home >> Software >> EasyApache then click on customize

Then under PHP Extensions you will need to find php-intl-version-minimum and click the tab to install.

Once you have done this you will need to click on the “Review section” then click the “Provision” button at the bottom of the page.

Then for the php-memory-limit t you will need to go to:

Home >> Software >> MultiPHP Manager to see which PHP version is installed.

Now click on “MultiPHP INI Editor” and select that PHP version in the drop down box.

Find “memory_limit” and increased to 128M and then click on “Apply” at the bottom of the page.

Then run the Magento installation through Installatron again.

Roundcube – IMAP Server dropping the connection

When trying to log into your email account via the Roundcube webmail client and IMAP keeps dropping the connection you can fix this by:

  • #tail -20 /var/cpanel/roundcube/log/errors  —>To check the logs
  • #/etc/init.d/courier-imap restart                       —>To restart the IMAP service
  • #/scripts/courierup –force                                  —>To update the IMAP server

If the issue is still not resolved then you may need to change the permissions of the mail directory with the command below but make sure the username is the username from cPanel:

  • #chown -R username:mail /home/username/mail
  • #chown -R username:mail /home/username/etc

 

Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

When trying to log into a server with WHM/cPanel via SSH and you get this error:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

This will be because password authentication is disabled in the sshd_config file

To resolve this you can log into WHM and enable the password authentication.

  • WHM >> Security Center >> SSH Password Authorisation Tweak

Then restart the SSH service.

WARNING: RESTRICT_SYSLOG is disabled. See SECURITY WARNING in Firewall Configuration in WHM

When looking at “ConfigServer Security & Firewall” in WHM it gives this error at the top in a yellow box WARNING: RESTRICT_SYSLOG is disabled. See SECURITY WARNING in Firewall Configuration

I resolved this by:

  • Setting RESTRICT_SYSLOG to 3 in the drop down box

This is a description of each number in the drop down box:

# 0 = Allow those options listed above to be used and configured
# 1 = Disable all the options listed above and prevent them from being used
# 2 = Disable only alerts about this feature and do nothing else
# 3 = Restrict syslog/rsyslog access to RESTRICT_SYSLOG_GROUP

Password for the admin account in Plesk

Plesk for Linux/Unix:

If the password for the “admin” user in Plesk has been lost.

For Plesk versions 10.x and above:

For the “admin” user use the following:

/usr/local/psa/bin/admin --show-password

If you need to change the password use the following:

/usr/local/psa/bin/init_conf -u -passwd <new_password>

For Plesk versions up to 9.x:

The Plesk admin password is stored in a hidden file on the server. Use this command to get it:

cat /etc/psa/.psa.shadow

 

Plesk for Windows:

As well as the the password reminder option available on the Plesk login screen, you can use theplesksrvclient.exe utility to set up a new password or retrieve an existing one.

You can set up a new password by running the following command:

"%plesk_bin%\plesksrvclient" -set <new_password>

You can also retrieve the current password by running the utility with the following command:

"%plesk_bin%\plesksrvclient" -get

To retrieve the password in the command line, use the “-nogui” option:

"%plesk_bin%\plesksrvclient" -get  -nogui > plesk_password.txt

After that, you can find the retrieved Plesk password in the plesk_password.txt file.

To view the password in the command line:

"%plesk_bin%\plesksrvclient" -get  -nogui | more

Installing Plesk in Debian manually

First, the Plesk Debian repository should be added to the sources list. The link to the Plesk Debian repository is http://autoinstall.plesk.com/ to list the versions.

Then add the repository record for your desired Plesk version into “/etc/apt/sources.list.” For example, you would use the below line for Plesk 9.5.3 Etch:deb http://autoinstall.plesk.com/PSA_9.5.3/ etch all

Next, update the cache packages list:

# apt-get update

Now you can install Plesk, use the below line to install the base Plesk package:

# apt-get install psa