Pages

Wednesday, March 16, 2011

Configure IP on Centos

Static IP

vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
HWADDR=00:0c:29:0e:8f:c7
PEERDNS=YES
NETMASK=255.255.255.0
IPADDR=192.168.235.147
GATEWAY=192.168.235.1

Dynamic IP

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=00:0c:29:0e:8f:c7


http://www.thewebmasterscafe.net/webhosting/how-to-configure-static-ip-address-on-centos-linux.html

Saturday, March 12, 2011

Drivers & Upgrade Windows on Vaio SZ79gn

http://www.sony-asia.com/support/download/product/vgn-sz79gn/modelfirst
http://www.sonyinsider.com/2009/10/22/windows-7-upgrade-information-for-sony-vaio-computers/
http://www.sevenforums.com/drivers/28528-nvidia-geforce-8400m-gt-gpu-driver-problem-3.html
http://www.driversforfree.com/omn_ofm_omd/sony/vgn-sz/vgn-sz79gn/drivers.aspx

Using TortoiseSVN on Windows

Steps:

  • Create repository. 
    • eg: d:\www\svnrepo
    • right click > tortoisesvn > create repo..
    • this will create repository that contains all the config files and complete historical source projects files
  • Initial import. 
    • eg: d:\tmp\wwwprojects
    • right click > tortoisesvn > import
    • this will import the contents of d:\tmp\wwwprojects to repository
  • Set working folder. 
    • eg: d:\www\project1
    • right click > svn checkout
    • this will download the project source files to the specified folder
  • Committing updated source
    • right click > SVN commit
    • this will import the updated file/s from the project folder/file to the repository
  • Synching with repository
    • right click > SVN update
    • this will download newest file/s on repository to the project folder

ref: http://www.shokhirev.com/nikolai/programs/SVN/svn.html