Blog

repair-mail-server-configuration-on-plesk-server

How to repair mail server configuration on plesk server ?

Use mchk utility to repair/rebuild mail server configuration and restore settings for all mailboxes created in Parallels Plesk Panel. /usr/local/psa/admin/sbin/mchk --help Restore settings for all mailboxes. Usage: /usr/local/psa/admin/sbin/mchk [OPTION] OPTIONS: --without-spam restore all settings except for SpamAssassin configuration --with-spam restore all settings --spam-only restore only SpamAssassin settings Usage example: /usr/local/psa/admin/sbin/mchk --with-spam If you have any problems or looking for support, please send your emails at :: admin@24×7servermanagement.net

Read more...
MySQL-root-password-on-plesk-server

What is the MySQL root password on plesk server?

What is The root password for MySQL on plesk server? 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` If [...]

Read more...
Reset-SolusVM-Admin-Password

How to Reset SolusVM Admin Password

If you have lost your SolusVM admin password you can reset it via an SSH session on the master. The following command will show how to reset solusvm admin password. php /usr/local/solusvm/scripts/pass.php –type=admin –comm=change –username=<ADMINUSERNAME> You will get an output similar to this: New password: Wc7Q0EbVFUasJ4j   Hope this helps. You can contact us if you need any assistance with Solusvm Xen, KVM based servers.

Read more...
CloudLinux-Management-on-cPanel-server

CloudLinux Management on cPanel server

Installation You can download latest CloudLinux ISO and use it to install CloudLinux on your server: Latest stable CloudLinux 6.4 ISO:   x86_64 version: Please search ISO on Google i386 version: Please search Latest ISO on Google If you want to convert your existing server to CloudLinux you need to get CloudLinux activation key from. Get <activation_key> either by getting trial subscription or by purchasing subscription. You can download CloudLinux Converting scripts here and convet your server through folllowing command wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -k [...]

Read more...
Uninstall-cloudlinux-from-cpanel-server

Completely Uninstall cloudlinux from cpanel server

How to completely remove cloudlinux from cpanel server. You can always uninstall CloudLinux. In this case, we will ‘convert’ the system back to CentOS. Even if the original system was RHEL — we will still convert to ‘CentOS’ state. Following this will be done: 1.LVE related packages will be removed 2.CloudLinux repositories & yum plugin will be removed 3.CentOS repositories will be setup At the end, script will provide instructions on how to finish the conversion back to CentOS. That will require removal of CloudLinux [...]

Read more...
Configure-multiple-shared-IP’s-in-WHM

Configure multiple shared IP’s in WHM

It is not possible to add multiple shared IP’s from WHM but it is possible to do it from SSH. First of all we need to create a /var/cpanel/mainips/ directory if it is not present. mkdir /var/cpanel/mainips/ Then we have to create a file. vi /var/cpanel/mainips/root Add all IP’s into it. save the file and quit. 121.127.xxx.xx2 121.127.xxx.xx3 121.127.xxx.xx4 Now login to WHM and check the IP’s Home>>IP Functions>>Show/Edit Reserved IPs  

Read more...
Linux-server-services

Understanding Linux server services

Some common web related services running on a Linux server are, but not limited to, include: httpd (Apache), mysqld (MySQL), vsftpd (Very Secure FTP), named (BIND), iptables (packet filtering ruleset), sshd (Secure Shell), network (network related services) and various others. Usually these services are started at boot time. To check what services are installed on the server, you can use the chkconfig tool. For example: [root@server ~]# chkconfig –list sshd                  0:off    1:off    2:on    3:on    4:on    5:on    6:off webmin           [...]

Read more...
Brute-Force-Prevention-On-Linux-Server

Brute Force Prevention On Linux Server

How to install Fail2Ban Fail2Ban is a great utility to use to help prevent a server from being brute forced attacked on SSH. Fail2Ban works with Iptables to block a culprit IP for a certain amount of time. The actual setup and configuring can be done in under 10 minutes. Installation 1.To install fail2ban you will need to have root access (login with user and “su –“ to root). Type the following to begin the install process. yum –enablerepo=dag install fail2ban Yum will install [...]

Read more...
bridge-network-and-how-to-setup-it-on-Debian

What is bridge network and how to setup it on Debian.

How to setup Bridge Network on Debian. Network bridging describes the action taken by network equipment to allow two or more communication networks, or two or more network segments,  to create an aggregate network. Bridging is distinct from routing which allows the networks to communicate independently as separate networks.A network bridge is a network device that connects multiple network segments. In the OSI model bridging acts in the first two layers, below the network layer. Below are the few simple steps [...]

Read more...
Install-two-php-version-on-plesk

How to Install two php version on plesk

1. SSH to your Parallels Plesk Panel (PP) server as root, download the PHP source, unpack it, and configure it # cd /usr/local/src # mkdir php540 # cd php540 # wget http://www.php.net/get/php-5.4.0.tar.gz/from/at2.php.net/mirror # tar xzvf php-5.4.0.tar.gz # cd php-5.4.0 Note: You HAVE TO USE THE PREFIX SWITCH in order for your new PHP to be installed inside a single directory. For example: # ./configure '--with-libdir=lib64' '--cache-file=../config.cache' '--prefix=/usr/local/php540-cgi' '--with-config-file-path=/usr/local/php540-cgi/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--enable-fastcgi' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/local/php540-cgi' '--with-png-dir=/usr/local/php540-cgi' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr/local/php540-cgi' '--with-openssl' '--with-pspell' '--with-pcre-regex' '--with-zlib' '--enable-exif' [...]

Read more...