Month: March 2013

  • Set Unlimited Resources on Openvz for the guest OS

    vzctl set 100 –applyconfig unlimited –save This should be refected in /etc/vz/conf/100.conf cat /etc/vz/conf/100.conf # Configuration file generated by vzsplit for 1 containers # on HN with total amount of physical mem 4037 Mb # low memory 845 Mb, swap size 8189 Mb, Max treads 8000 # Resourse commit level 0: # Free resource distribution.…

  • Reformat HDD in CentOS

    fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1044 8385898+ fd Linux raid autodetect /dev/sda2 1045 60278 475797105 fd Linux raid autodetect /dev/sda3 60279 60800 4192965 82 Linux swap…

  • Linux Malware Detect Installation

    root@choi [~]# wget http://www.rfxn.com/downloads/maldetect-current.tar.gz 2010-05-15 23:34:05 (148 MB/s) – `maldetect-current.tar.gz’ saved [268031/268031] root@choi [~]# tar xfz maldetect-current.tar.gz root@choi [~]# cd maldetect-* root@choi [~]# ./install.sh Linux Malware Detect v1.3.4 (C) 1999-2010, R-fx Networks (C) 2010, Ryan MacDonald inotifywait (C) 2007, Rohan McGovern This program may be freely redistributed under the terms of the GNU GPL installation…

  • View IP information in OpenVZ Guest OS

    vzlist -o veid,ip | grep 1xxxx