Setting up the Linux terminal to use proxy servers
If you are running proxy at IP 192.168.1.1 with the proxy port as 3128 and wish to use wget, lynx and other utilities from a shell prompt then export the following variables on the command line.
export http_proxy=http://192.168.1.1:3128/
export ftp_proxy=http://192.168.1.1:3128/
export ftps_proxy=http://192.168.1.1:3128/
export https_proxy=http://192.168.1.1:3128/
Now your will be able to use the update commands from the command line.
Removing Reseller’s Access to Server’s Shared IP in DirectAdmin
As an Admin, you can give Resellers the ability to create User web sites using the Server’s Shared (main) IP address. At this time, you cannot remove this ability through the control panel.
To solve the problem manually, remove the desired IP address from the ip.list file in the Reseller’s DirectAdmin config directory
Reseller’s DirectAdmin config directory
/usr/local/directadmin/data/users/username/ip.list
This change will not affect the Reseller’s current Users (if they are using the server’s main IP, they will continue to do so.
Source & credit - http://www.directadmin.com
Download a distribution that suits your operating system from the URL http://www.parallels.com/en/download/plesk9/ and save it on your server’s hard drive.
To install Parallels Plesk Panel on a number of servers, you may want to set up a mirror of the official Parallels Plesk Panel update server (http://autoinstall.plesk.com) inside your network so as not to download the distribution files through the Internet each time, and then install Parallels Plesk Panel.
If you have Parallels Plesk Panel installed on the server, you can use the parallels_installer binary file, which is stored in the directory /usr/local/psa/admin/bin/ on RPM-based Linux, FreeBSD and Mac OS systems, and /opt/psa/admin/bin/ on deb-based Linux systems.
Prepare the installation script based on the example below. Replace the options in the example script with the ones you prepared, and specify server names in the ‘SERVERS_LIST=’ string separated by white spaces:
#!/bin/sh
SERVERS_LIST=”node1.example.com node2.example.com”
for current_server in $SERVERS_LIST; do
scp parallels_installer root@current_server:
ssh -f root@current_server “parallels_installer –source-type network –source http://updates.example.com/ –target /tmp/plesk –select-release-id PLESK_9_0_0 –install-component base –install-component postgresql –install-component asp –notify-email admin@example.com”
done
Run the script. It will copy the Parallels Products Installer to the specified servers and install Parallels Plesk Panel. Keep the passwords for access to the servers at hand, as you may be required to specify them.
Document Source : http://parallels.com/Plesk/
Plesk Panel Importing Data From Linux/Unix-based Servers
To transfer your data using the data import function:
1. Locate the following folders on your Parallels Plesk Panel 9 server, and copy all files from them to a single directory on the server, from which you want to transfer data.
On Linux/Unix platforms, you need to copy all files from the following folders:
[parallels_plesk_panel_installation_directory]/PMM/Agents/PleskX/ and [parallels_plesk_panel_installation_directory]/PMM/Agents/shared.
2. On the source server, run the PleskX.pl utility with the appropriate command line options:
To make a copy of all data, issue the command
Once all the required files are created, open the file content-list.xml to see what files were created. Move all these files, including dump.xml, to the destination server.
In a Web browser, log in as administrator to your Parallels Plesk Panel, go to Home > Migration Manager (in the Help & Support group), and then click Start Migration.
Select the option Transfer data already processed by the migration agent and located on the local host.
In the Migration data file location box, type the path to the directory where you saved the data. Click Next >>.
How to create Custom Name Servers for your domain.
1. Ensure that your domain registrar allows you to create custom nameservers with your domain name.
2. Choose the prefix you wish to use with your domain, e.g. ns1.yourdomain.com ns2.yourdomain.com
3. Set them up using the two IP addresses that you have for DNS at the registrar domain manager. You will need to contact you provider to obtain these IP addreses.
4. Ask your data centre to enter a reverse DNS pointer for your nameservers.
5 .Now–> WHM–>>Server Setup >> Enter ns1.yourdomain.com in the Primary Nameserver field. Hit ‘Assign IP Address’, then hit ‘Add an A Entry for this nameserver’.
6. Repeat this process for Secondary.