Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WIN DEV VM notes
- - install VMWare tools
- - install firefox
- - install chrome
- - install cygwin
- http://www.cygwin.com/
- - subversion
- - mercurial
- - python
- - nano
- - install console
- http://sourceforge.net/projects/console/
- - install notepad2
- http://www.flos-freeware.ch/notepad2.html
- - instal Mozilla Build
- http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.4.exe
- add C:\mozilla-build\msys\bin to ENV
- - install Java SDK
- http://java.sun.com/javase/downloads/index.jsp
- download Java SE Development Kit
- JDK 6 Update 16 (jdk-6u16-windows-i586.exe)
- define JAVA_HOME as C:\Program Files\Java\jdk1.6.0_16 in ENV
- add %JAVA_HOME%\bin to ENV
- - install Ant
- http://ant.apache.org/bindownload.cgi
- define ANT_HOME as C:\shell\apache-ant-1.7.1 in ENV
- add %ANT_HOME%\bin to ENV
- - install Visual Studio C++ 2008 express edition
- http://www.microsoft.com/express/download/default.aspx
- have a hotmail/msn account ready
- open VC++ and click help/register (use IE, chrome or firefox does not work)
- - hard disks
- having another disk for dev files can allow you to share it
- between different VM
- also it allow you to keep the main hard disk clean
- and not defragmenting it every 2 days
- close the VM
- create a new hard disk (outside of your current VM)
- for ex "dev_shared.vmdk"
- start the VM
- run administrative tools
- open computer management
- in storage
- select "disk management"
- follow the "initialise and convert disk" wizard
- right click the new disk, create a new volume, format, etc.
- - configuring Windows
- right click C: (and any other drive letters)
- in "general" tab
- uncheck "Allow Indexing Service to index this disk for fast file searching"
- right click "My Computer
- in "System Restore" tab
- check "turn off system restore"
- in "automatic update" tab
- select "turn off automatic update"
- in "remote" tab
- uncheck "allow remote assistance invitations to be sent from this computer"
- in "advanced" tab
- in "performance"
- click "settings"
- in performance options
- select "advanced" tab
- in virtual memory
- click "change"
- select "no paging file"
- click "set"
- restart the VM
- right click C:
- in "tools" tab
- click "defragment now"
- repeat 2/3 times
- open a DOS prompt and type
- chkdsk C: /X
- the system will ask to run on system restarts
- answer "Y"
- restart
- shut down the VM
- go in settings and shrink the hard disk
- - configure cygwin bash to run VS C++ on the command line
- open your .bash_profile
- add
- ----
- # NOTE: The INCLUDE, LIB and LIBPATH must contain windows path information and separator and not cygwin paths.
- VS_HOME_PATH="/c/Program Files/Microsoft Visual Studio 9.0"
- VS_HOME="c:\Program Files\Microsoft Visual Studio 9.0"
- export PATH="$VS_HOME_PATH/Common7/IDE:$VS_HOME_PATH/VC/bin:$VS_HOME_PATH/Common7/Tools:$VS_HOME_PATH/VC/VCPackages:$PATH"
- export INCLUDE="$VS_HOME\VC\atlmfc\include;$VS_HOME\VC\include;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include;"
- export LIB="$VS_HOME\VC\atlmfc\lib;$VS_HOME\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib"
- export LIBPATH="$VS_HOME\VC\atlmfc\lib;$VS_HOME\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib"
- ----
- - install PageDefrag
- http://technet.microsoft.com/en-us/sysinternals/bb897426.aspx
- - install MyDefrag
- http://www.mydefrag.com/Manual-DownloadAndInstall.html
- - optimise Windows hard disk
- in your hard disk "dev_shared.vmdk"
- mounted as O:
- create a tmp directory
- right click "My Computer
- in "advanced" tab
- click "environment variables"
- replace all the TMP/TEMP variables to O:\tmp
- reboot the VM
- run PageDefrag on reboot
- run MyDefrag to consolidate free space
- shut down the VM
- go in settings and shrink the hard disk again
Advertisement
Add Comment
Please, Sign In to add comment