Using Eclipse for PHP development with SVN

  1. Download Eclipse for PHP from here: http://www.eclipse.org/downloads/
  2. Unpack it for into your working folder.
  3. Launch it. For the first time it will ask a few questions about working folders, etc.
  4. Now you need to install Subclipse (SVN client integrated in Eclipse)
    • Help -> Install New Software -> Add -> Type “Subclipse” for name and “http://subclipse.tigris.org/update_1.6.x” for URL.
    • Select all the options of available plugins
    • Agree with all the questions it is going to ask you -)
  5. Create SVN repository. In Linux issue command svnadmin create /path/to/reppo
  6. Now need to link existing repository with Subclipse: In Eclipse switch to SVN pane, right click on white space under Repositories and select New -> Repository. As URL give it this: file:////C:path/to/svn_reppo/ Important to get correct number of forward slashes!!
  7. Create new PHP project and commit it to the repository: Right click on Project -> Team -> Share Project. Select SVN and choose the repository you have just created. This will commit first version of the project.
  8. To commit files/project do right click on the file/folder -> Team -> Commit -> add notes

Mount NTFS in Lunix as user

Put into your Linux box a HDD with NTFS system on it.. you would want to be able to read and write to it under user account, not only as root.


root#: fdisk -l

To find all the hard drives installed in your system.. locate the one that looks like freshly installed and

root#: mount -t ntfs-3g /dev/sdb1 /mnt/hdd -o force,uid=userID

where sdb1 is the name of that HDD you want to mount, and userID is your username.