Archive for the tag 'change'

How do I change default language for AWStats?

Languages for AWStats are defined by “Lang” directives in it’s configuration files. New languages need to be set in the main AWStats configuration files.

/etc/awstats/awstats.conf
/etc/awstats/awstats.model.conf

The files which are already configured by Plesk for every domain can be found in the following files (Be sure to replace mt-example.com with your domain name):

/usr/local/psa/etc/awstats/awstats.serverbuddies.com-http.conf
/usr/local/psa/etc/awstats/awstats.serverbuddies.com-https.conf

By default Lang is set to Lang=”auto”, this means it will accept the first available language by the browser. You can change it to any supported value that can be found above the Lang directive in the configuration files.

For example, if you want English you would use the following:

Lang=”en”

When you are finished making any changes be sure to restart awstats to see any changes instantly.

Reference: http://parallels.com

How do I change the IP address of my server in Ensim Pro for Linux.

If you are changing the IP address of your server you need to modify the following files with the new IP address, replacing any instance of the old IP address:

/etc/hosts
/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/virtualhosting/namebased_ip_addrs
/etc/httpd/conf/httpd20_app.conf
/etc/virtualhosting/localnameserver
/etc/bind/options.conf.wp
/home/virtual/FILESYSTEMTEMPLATE/siteinfo/etc/resolv.conf

Now reboot the server and then run the following command

# /usr/local/bin/NBDetectchanges

How to change default 19368 port of control panel interface.

To change default 19638 port it is enough to change it in /etc/ensim/epl.conf file and restart epld service. In other configuration files it will be substituted accordingly.

Note that the sites configuration files are located in /etc/httpd/conf/virtual/ and include “RedirectMatch” directive that contain redirect to 19638 port.

License Invalid in PPCP after the Network Card change

Parallels Pro Control Panel license is tied to a MAC-address. Therefore, when you change your network card, PPCP does not recognize the license as valid anymore.

Resolution

Just rename /etc/appliance/.license/.LIC_file and /etc/appliance/.license/.MLK_file so that the license would be treated as a new one by PPCP:

# mv /etc/appliance/.license/.MLK_file /etc/appliance/.license/.MLK_file.bak
# mv /etc/appliance/.license/.LIC_file /etc/appliance/.license/.LIC_file.bak

Reference: http://parallels.com

Mass IP addresses change in Plesk Control Panel

Solution: Using the special utility reconfigurator.pl in Plesk

#/usr/local/psa/bin/reconfigurator.pl
Plesk reconfigurator - utility to change IP addresses used by
Plesk Server Administrator

usage:
/usr/local/psa/bin/reconfigurator.pl

If doesn’t exists - template will be created, otherwise it will be used to map IP addresses.

There is the special utility reconfigurator.pl in Plesk that allows you to change IPs in Plesk base and reconfigure domain settings with new IPs.

This utility is available in the /usr/local/psa/bin directory.

The new IP addresses must NOT exist in Server > IP Addresses list in Plesk control panel before replacement, they may be added on system level only. If IP addresses do not exist in the system, the utility will add new IPs to the system as well.

« Prev - Next »