If you wish to add additional RAM on a Xen based VPS, you need to follow the below steps: #Search the VM name: xm list #Edit the VM’s configuration file. Update the required value and save the file: vi /home/xen/vmname/vmname.cfg #To stop and start the VPS, follow the below steps: xm destroy vmname xm create [...]
April 25th, 2013 |
admin |
To add a swap file: Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of a 64 MB swap file is 65536. At a shell prompt as root, type the following command with count being equal to the desired [...]
April 6th, 2013 |
admin |
I’ve been testing out a few virtualization systems and am sofar very pleased with Xen. Installing on Debian Etch couldn’t be easier and it worked straight out the box – I had my first virtual server running in under 15 minutes flat! Use the following commands to install Xen on a Debian Etch machine: apt-get [...]
January 25th, 2013 |
admin |
This article covers a wide range of methods for securing and optimizing your VPS/VDS. We do not provide any warranty for this article, so if you are not sure what you are doing please make sure you research before you do it. Secure cPanel/WHM and the Root User on VDS: Checking for formmail: Form mail [...]
January 8th, 2013 |
admin |
You may come across with a “numiptent” error message while restarting iptables or whatever firewall (say csf) you have installed on your VPS. The error appear as follows: The VPS iptables rule limit (numiptent) is too low (200/250) – stopping firewall to prevent iptables blocking all connections There is a limit on the number of [...]
December 24th, 2012 |
admin |
How to re-create/re-install a OpenVZ VPS? 1) Make a backup of the configuration file: cp -p /etc/sysconfig/vz-scripts/VEID.conf /etc/sysconfig/vz-scripts/VEID.conf_old 2) Stop the VPS: vzctl stop VEID 3) Destroy/Terminate the VPS: vzctl destroy VEID 4) Create the VPS using the OS templates stored under /vz/template/cache directory: vzctl recreate VEID –ostemplate os-template-name 5) Copy the original configuration file [...]
December 22nd, 2012 |
admin |
1.) Firewall Installation Installing firewall and various other related tools such as CSF, sim. These will prevent unauthorized access to your server and from brute force attacks. CSF (ConfigServer Firewall) http://www.configserver.com/free/csf/install.txt SIM (System Integrity Monitor) http://www.rfxnetworks.com/sim.php NSIV (Network Socket Inode Validation) http://www.rfxnetworks.com/nsiv.php LES (Linux Environment Security) http://www.rfxnetworks.com/les.php these do not prevent exploits of services which [...]
December 7th, 2012 |
admin |
In order to do advanced installs or installations where there are no templates under XenCenter and you wish to use your own custom ISO images, you can add an ISO repository. The following steps outlines what needs to be done; mkdir -p /var/opt/xen/iso_import Copy your ISO image to this directly, but be careful as the [...]
October 30th, 2012 |
admin |
This article discusses the process of recovering deleted data from an ext3 partition, on a system running Linux, using a process called data carving. This basic technique is useful in any number of situations, such as recovering data that has been accidentally deleted by a user, information removed in an attempt to erase signs of [...]
October 29th, 2012 |
admin |
Most PHP scripts and content management system scripts (CMS scripts) require writable permission 777 (rwxrwzrwz) to be set for certain folders for uploading photos and videos. Many security experts warn that setting 777 permission means that anybody can upload any content to your server, install malicious code, run unwanted programs and could potentially misuse your [...]