Archives


Paste #1091
  1. CFGS=`vzlist -S -Ho ctid`;for cfg in $CFGS;do vzctl set $cfg --onboot no --save;done

Posted by Anonymous at 15 Mar 2014, 02:22:30 UTC
Language: text
Paste #1090
  1. <?php if($this->loggedin) { ?>
  2.          <select name="vpslist" id="vpslist" onchange="location = this.options[this.selectedIndex].value;">
  3.                 <option value="home.php"><?=$_lang['headerselectgroup'];?></option>
  4.                    <?=$this->vpsselect;?>  
  5.                  </select>
  6.                    <?php } ?>

Posted by phill at 08 Mar 2014, 05:25:38 UTC
Language: php
Paste #1088
  1.                    case "changeip":
  2.  
  3.                          /**
  4.                           * Product IP Change
  5.                           */

Posted by phill at 01 Mar 2014, 07:37:03 UTC
Language: php
Paste #1084
  1. $SERVER["socket"] == "0.0.0.0:80" {
  2.  
  3.  }

Posted by Anonymous at 13 Feb 2014, 10:38:53 UTC
Language: text
Paste #1082
  1. Fix for Xen PV disk usage showing 100% when using a CentOS 6.5 host node
  2. ========================================================
  3.  
  4. The "df" output in CentOS 6.5 has changed. You may notice this when you upgrade you're host node from CentOS 6.4. All the Xen PV virtual servers will show 100% disk space used.
  5.  

Posted by phill at 09 Dec 2013, 10:33:48 UTC
Language: text
Paste #1075
  1. ENABLE VSWAP PER NODE
  2.  
  3. Download the script:
  4.  
  5. wget https://www.dropbox.com/s/jsmauzxtcgy84ud/vswap_per_node.php -O /tmp/vswap_per_node.php

Posted by phill at 03 Oct 2013, 08:26:11 UTC
Language: text
Paste #1056
  1. 2013-04-20 18:24:31.786+0000: starting up
  2. LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name kvm103 -S -M rhel6.4.0 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -uuid e796e882-46aa-42f6-8e7b-5d13740e87e6 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/kvm103.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/dev/vg/kvm103_img,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2 -netdev tap,fd=22,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=02:00:00:52:e4:de,bus=pci.0,addr=0x3 -device usb-tablet,id=input0 -vnc 0.0.0.0:3,password -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
  3. qemu: terminating on signal 15 from pid 1632
  4. 2013-04-21 17:43:34.102+0000: shutting down
  5. 2013-04-21 17:43:56.159+0000: starting up

Posted by Anonymous at 02 May 2013, 07:23:47 UTC
Language: text
Paste #1022
  1. yum install ntp
  2. chkconfig ntpd on
  3. ntpdate pool.ntp.org
  4. /etc/init.d/ntpd start

Posted by Anonymous at 15 Dec 2012, 10:47:50 UTC
Language: text
Paste #1021
  1.  export LIBGUESTFS_DEBUG=1
  2.                     export LIBGUESTFS_TRACE=1
  3.                     virt-resize -d --resize /dev/sda2=512M --expand /dev/sda1 /home/solusvm/kvm/template/linux-ubuntu-12.04-server-x86_64-min-gen2-v1.gz /dev/vg0/kvm105_i
  4. img
  5. command line: virt-resize -d --resize /dev/sda2=512M --expand /dev/sda1 /home/solusvm/kvm/template/linux-ubuntu-12.04-server-x86_64-min-gen2-v1.gz /dev/vg0/kvm105_img

Posted by Anonymous at 15 Dec 2012, 10:19:01 UTC
Language: text