Tag archive for ‘vps’

additional RAM on Xen VPS

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 [...]

XenServer create local ISO Repository (LVM)

Local ISO Repository To create a local ISO Repository for XenServer you can use any directory on the filesystem. The Problem is that the Operating System has normally about 2GB free space left which is too less. To use the “Local Storage” LVM space you can do it in the following way: Check the free [...]

Xen on Debian Etch

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 [...]

Adding an ISO repository on XenServer 5.5

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 [...]

HowTo: Add iptable modules on a VPS

If you receive the following error on restating iptables on a VPS: error message: from firewall software ~ iptables: Unknown error 4294967295 you need to make sure the required iptable modules are loaded in the host server kernel. You have to use modprobe to load the following modules in the kernel: modprobe ipt_MASQUERADE modprobe ipt_helper [...]

How to create a swap file

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 [...]

VPS login problem: enter into Container VEID failed

You may receive the following message on accessing a VPS from the host server: # vzctl enter 101 enter into VE 101 failed Unable to open pty: No such file or directory The reason behind is the missing tty/pty files OR the udev devices. There are two ways of creating them, using the ‘MAKEDEV’ program [...]

How to Optimize and Secure a Virtual Private Server (VPS) and Virtual Dedicated Server (VDS)

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 [...]

vzquota : (error) Quota is running, stop it first

If you receive the error message “vzquota : (error) Quota is running, stop it first” while restarting a VPS, you will first have to turn off it’s quota and then drop it vzquota off  VEID vzquota drop VEID Once done, restart the VPS and it will re-initialize the quota for the VPS and will start [...]

openvpn error: Cannot open TUN/TAP dev /dev/net/tun

P: Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13) Note: Attempting fallback to kernel 2.2 TUN/TAP interface Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2) R: The host OS *must* allow the VPS to use the tun device first. vzctl set –devices c:10:200:rw –save vzctl set –capability net_admin:on –save   Incoming [...]