LinuxHelps.com

A blog for Linux Lovers.

Archive for the 'vps' Category


VPS creation commands.

Sunday, September 20th, 2009
vps | No Comments »

VPS Creation
# vzctl create VEID –ostemplate osname
# vzctl set VEID –ipadd a.b.c.d –save
# vzctl start VEID
Here VEID is the numeric ID for the VPS;
osname is the name of the OS template for the VE,
and a.b.c.d is the IP address to be assigned to the VE.
Example:
# vzctl create 101 –ostemplate fedora-core-5-minimal
# vzctl set 101 –ipadd 10.1.2.5 [...]

edquota: “Can’t write quota for /dev/vzfs”

Tuesday, March 10th, 2009
vps | 1 Comment »

If you see error message like this trying to manage users’ quotas inside a VE:
edquota: Can’t write quota for 32063 on /dev/vzfs: No such process
Resetting quota for admin2 to 0 Meg….Done
then probably its reason is that second-level quota limit is exceeded and user quotas above a limit were not loaded.
Please increase QUOTAUGIDLIMIT parameter value for [...]

Install APF firewall into the VPS

Tuesday, March 10th, 2009
vps | No Comments »

The installation of APF requires some additional steps to be taken on the hardware node.
1. First of all, you should define which iptables modules are available for VEs.
Edit /etc/sysconfig/iptables-config file on a Virtuozzo hardware node:
IPTABLES_MODULES=”ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp”
Edit /etc/sysconfig/vz file on a Virtuozzo [...]