PPTP VPN setup on CentOS 6.4

22 November 0

There’re three models for setting up VPN servers for remote client access as PPTP, L2TP, and OpenVPN. The below is described about the PPTP 1. Installation: At the “root” privilege, Installing PPP #yum install ppp To install pptpd #cd /usr/local/src #wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm #rpm -Uhv pptpd-1.3.4-2.el6.x86_64.rpm To check the latest version of pptpd, please visit http://poptop.sourceforge.net/yum/stable/packages/ […]

Read More

How to create a new guest (virtual machine) by CLI on Xen

01 September 0

How to use command lines to create a new guest (virtual machine) on XEN The command is “virt-install”. The sample executing command as below $virt-install -p -n vs2 -r 512 -f /home/vs2.img -s 8 -l http://repo.cloudhosting.com.hk/centos/6/os/x86_64/ -w bridge:xenbr0 –vcpus=1 Description: to create a new VM named “vs2” with 512MB RAM, image-file at /home/vs2.img, image-size as […]

Read More

How to rescue and re-install Ubuntu after it’s crashed/terminated on upgrading.

27 November 0

Using LiveCD to boot the system, or Download Puppy Linux (http://www.puppylinux.com/flash-puppy.htm) Build USB Puppy Linux  udevadm trigger is not permitted while udev is unconfigured The solution is to use a live-CD to mount the system (or boot from a completely separate installation), mount the failed OS partition(s), and complete the update process: Commands listed as […]

Read More

Install Oracle Java Runtime (JRE) 7 in Ubuntu 12.04

02 September 0

Install Oracle Java Runtime (JRE) 7 in Ubuntu 12.04 (Precise Pangolin) Objectives: Install Oracle Java / JRE in Ubuntu 12.04 (Precise Pangolin) To open Terminal. When it opens, run the commands below to remove all other installations of OpenJDK from your system. sudo apt-get purge openjdk*   After that, go and download Java JRE package from […]

Read More