Showing posts with label plesk. Show all posts
Showing posts with label plesk. Show all posts

How to Restart new Plesk?

In past versions, to restart Plesk you just need to tip
Check Spelling

# service PSA restart ALL

In the newest versions, depending on the OS you use you should be able to restart Plesk using the next commands:

Regular Linux OS:
#/etc/rc.d/init.d/psa stopall
#/etc/rc.d/init.d/psa start


FreeBSD:

/usr/local/psa/rc.d/init.d/psa stopall
/usr/local/psa/rc.d/init.d/psa start

How to change Plesk default page

If you are running Plesk and you need to change the default page "Plesk Default Page" you just need to change the index.html file on /var/www/vhosts/default/htdocs

Login your server as root and

# nano /var/www/vhosts/default/htdocs/index.html


If you are using Plesk on a Windows Server please check that directory:

%plesk_vhosts%\default\htdocs

How to assign an IP address to a site in Plesk

Assigning an ip address to a site in Plesk is simple and easy

Log in to your server as root (http://IP:8443), then follow the next steps:

- First you should assign the ip address to a client account.
"Server" -> "Ip Addresses"

- Then you need to assign the ip address to a site.
- "Hosting" -> "Setup"

-Finaly and only if you want it you can make the site default domain for the ip.
"Sever" -> "IP Addresses"

Spamassassin on all mailboxes on Plesk

This should activate Spamassassin on all mailboxes:
# /usr/local/psa/admin/bin/mchk --with-spam

To upgrade Spamassassin you can run:
# yum update spamassassin

How to update Plesk Server

You are running a Plesk server and dont know what linux packages should you update. You can configure yum with atomicrocketturtle configuration.

Read this:
How to Install yum on centOS

Login to your server as root. You can configure using:

- Automatic configuration
# Using Lynx (yum -y install lynx):
# lynx -source http://3es.atomicrocketturtle.com/installers/atomic.sh | sh

- Wget:
# wget http://3es.atomicrocketturtle.com/installers/atomic.sh
# sh ./atomic.sh

Now for example, if you whant to upgrade spamassassin:
# yum update spamassassin

It will only install / update compatible rpms with Plesk.