Plesk12 what is the root password for MySQL?

Parallels Plesk Panel renames ‘root’ mysql account to ‘admin’ when the Panel is installed.
To get root privileges in mysql simply login with the ‘admin’ username instead. The password is the same as the admin password in Parallels Plesk Panel.

On server with Parallels Plesk Panel versions 8.x, 9.x and above admin password is stored in file /etc/psa/.psa.shadow. Use the following command to get the password:

~# cat /etc/psa/.psa.shadow

Since version 10 admin password stored in file /etc/psa/.psa.shadow is encrypted. Use the following command to get admin password in plain text:

~# /usr/local/psa/bin/admin –show-password

Despite version of Parallels Plesk Panel you may use the following command to login to mysql with root privileges:

~# mysql -uadmin -p`cat /etc/psa/.psa.shadow`


Parallels Plesk Panel Typical Installation with One-Click Installer

Use the One-Click Installer utility to perform a clean installation of Panel in one step. The utility automatically determines your operating system and installs the latest version of an appropriate distribution package in the typical configuration. One-Click Installer works only on Linux operating systems.

To install Panel, run one of the following commands on behalf of the root user.

If you have the wget utility, run
wget -O - http://autoinstall.plesk.com/one-click-installer | sh
If you have the curl utility, run
curl http://autoinstall.plesk.com/one-click-installer | sh
If you have the fetch utility, run
fetch -o - http://autoinstall.plesk.com/one-click-installer | sh

Plesk Website


How to stop DrWeb notification emails – Plesk 11

You need SSH access to your plesk panel to do this
login with your account with SSH or with su as root.
Use your favourite editor (i use VI) and go toPlesk Parallels
vi /etc/drweb/drweb32.ini
look for
CronSummary=yes
and change it to
CronSummary=no
Also you can edit the
vi /etc/drweb/drweb_handler.conf
where you can look for the Notification section and change anything that you dont want to be notified about by simply putting no instead of yes
After any changes you need to stop and start the drWeb Service.
you can do that by
/etc/init.d/drwebd start
/etc/init.d/drwebd stop


How can I downgrade my version of PHP ?

Iphp 5.3 on Fedora 17 or Redhat using atomic repo.

You will need to remove php and httpd first (not compulsory)

yum remove php
yum remove httpd

Add the following at the end of /etc/yum.conf(if required)

exclude=php*5.4*

Install php from atomic repo

wget -q -O - http://www.atomicorp.com/installers/atomic | sh
yum install php

More details at 
http://www6.atomicorp.com/channels/atomic/fedora/17/x86_64/RPMS/

How do I restart Parallels Plesk Panel

This can be done using the following commands when logged in as root via SSH on the Parallels Plesk Panel (PP) server:

Parallels Plesk Panel for Linux:

~# /etc/init.d/psa stop
~# /etc/init.d/psa start

Parallels Plesk Panel installed on FreeBSD server in versions prior to 8.1:

~# /usr/local/psa/rc.d/psa stop
~# /usr/local/psa/rc.d/psa start

Parallels Plesk Panel on FreeBSD since version 8.1:

~# /usr/local/etc/rc.d/psa.sh stop
~# /usr/local/etc/rc.d/psa.sh start


How to correctly uninstall DrWeb antivirus

Uninstall DrWeb from my Parallels Plesk Panel server because we do not use it.

nswer

Log in to the server under root and do the following:

Remove DrWeb antivirus packages:

# rpm -e drweb-updater drweb-common drweb-bases drweb-base drweb-daemon psa-drweb-configurator

Go to Server > Server Components (or Tools & Settings > Server Components on Plesk 10.x and newer) and update list of server components to detect that Dr.Web has been removed.

After that, run forced update of mail server configuration:

# /usr/local/psa/admin/sbin/mchk --without-spam

Remove the cron entry remaining after the uninstallation:

# rm -rf /var/spool/cron/drweb
# rm -rf /etc/cron.daily/drweb-update

Discontinue monitoring of the service by Watchdog:

/usr/local/psa/admin/bin/modules/watchdog/wd --unmonit-service=drweb

MX record and its priority

These are special resource records for mail routing. An MX (Mail eXchanger) record specifies a domain name and an associated computer, the “mail exchange”, which is able to deliver e-mail to an e-mail address with this domain name.

A Sample MX record that you can register with 1&1 looks like this:

Domain Name MX1: mail.domain.com Priority: 10 IP Address 192.168.1.1
Domain Name MX2: backup.domain.com Priority: 20 IP Address 192.168.1.2
Domain Name MX1: mail.otherdomain.com Priority: 30 IP Address 12.14.1.10
Continue reading…