2014/09/01

How to install VMware Player 6 on Linux Mint

a. VMware Player for 32bit OS.
1. sudo su then enter your root password.
2. apt-get install build-essential linux-headers-`uname -r`
3. mkdir ~/VMware
4. cd VMware
5. wget -c http://goo.gl/kkfRJg -O VMware-Player-i386.bundle.tar
6. tar -xvf VMware-Player-i386.bundle.tar
7. chmod +x VMware-Player-6.0.1-1379776.i386.bundle
8. sh VMware-Player-6.0.1-1379776.i386.bundle

b. VMware Player for 64bit OS.
1. sudo su then enter your root password.
2. apt-get install build-essential linux-headers-`uname -r`
3. mkdir ~/VMware
4. cd VMware
5. wget -c http://goo.gl/Uxia2s -O VMware-Player-x86_64.bundle.tar
6. tar -xvf VMware-Player-x86_64.bundle.tar
7. chmod +x VMware-Player-6.0.1-1379776.x86_64.bundle
8. sh VMware-Player-6.0.1-1379776.x86_64.bundle

2014/01/08

Linux Mint - Install PPTP VPN Server

1. Install PPTP VPN Server.
apt-get install pptpd

2. Edit pptpd.conf file to add your VPN server ip settings.
gedit /etc/pptpd.conf
--------------------------------------------
localip 192.168.60.10
remoteip 192.168.60.20-30
--------------------------------------------

3. Edit pptpd-options file to add dns server and encryption.
gedit /etc/ppp/pptpd-options
--------------------------------------------
ms-dns 8.8.8.8
ms-dns 4.4.4.4

#require-mschap-v2
+chap
--------------------------------------------

2014/01/03

Ubuntu - Install and Set DHCP Server

1. Open Terminal
2. sudo su then enter your root password.
3. apt-get install isc-dhcp-server
4. gedit /etc/dhcp/dhcpd.conf

subnet 192.168.60.1 netmask 255.255.255.0 {
  range 192.168.60.100 192.168.60.200;
  option routers 192.168.60.1;
  option broadcast-address 192.168.60.255;
  default-lease-time 600;
  max-lease-time 7200;
}

2013/12/20

Install VirtualBox to Linux Mint 12

1. Add the below line in the /etc/apt/sources.list

deb http://download.virtualbox.org/virtualbox/debian oneiric contrib

2.Add the Oracle VBox public key

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

3. Install the VirtualBox using apt-get script

sudo apt-get update

sudo apt-get install virtualbox-4.X

2013/12/10

How to run Python script under WinPE

1. Go to download and install python-3.3.3.msi or python-3.3.3.amd64.msi
    www.python.org
2. Launch and select "install just for me".
3. Press Next button and select or create program folder.
4. Select all function and press Next to install.
5. Download and install Windows ADK from Microsoft website.
6. Open "Deployment and Image Tools Environment" as administrator.
7. Type "dism /mount-wim /wimfile:C:\boot.wim /index:1 /mountdir:C:\mount" to mount boot.wim file.
8. Copy C:\Python33 folder to C:\mount
9. Open and edit "startnet.cmd" from C:\Winodws\System32
10. Type 2 command after "wpeinit"
11. assoc .py=PythonFile
      ftype PythonFile=X:\Python33\Python.exe
12. Save and exit.
13. Back to  "Deployment and Image Tools Environment" command line.
14. Type "dism /unmount-wim /mountdir:C:\mount /commit" to unmount boot.wim file.
15. Copy and replace boot.wim to your WinPE iso.
16. Boot to WinPE and run Python script to test it can be workable.

2013/11/26

How to Build Windows 8.1 install.wim

1. Download Windows 8.1 DVD iso file then burn it.
2. Install Windows 8.1 to other units or Virtual Machine.
3. Un-plug your SATA HDD after install was completed.
4. Use external SATA USB cable to connect to WDS Server.
5. Download the Assessment and Deployment Kit (ADK) from MSDN subscribers download.
6. Install ADK by running adksetup.exe, and make sure that Windows Preinstallation Environment is selected (selected by default).
7. Open "Deployment and Image Tools Environment" as administrator.
8. Type imagex /compress maximum /capture X:\ C:\install.wim "Windows 8.1 Pro"
9. Wait about 5~10 minutes, and you will get it.

2013/10/25

Enable Network Service Under WinPE

1. Extract your LAN driver package.
2. Copy LAN driver folder(xxxxx.inf) to your WinPE USB key.
3. Plugin it to test unit and boot from WinPE USB key.
4. Type "ipconfig/all" to check network status first.
5. If no IP address are listed, type "dir *.inf" to list the INF files that you previously copied to WinPE USB key.
6. Type "drvload xxxxx.inf" to load your LAN driver.
7. Wait about few seconds, it should report that the dirver has loaded successfully.
8. Type "ipconfig/all" to check network status again.