Σχόλια 0

Το κείμενο του εγγράφου

Setting up Netbeans Remote Connection

The factorisation example will be used to illustrate the use of Netbeans remote connection feature. Note: When you see the s‐number “s744492”, enter your own s‐number instead. Follow these steps: 1. Copy the factorise example to the following directory on Dwarf: ~/public_html/wp/labs/factorise/ Note: ~ means your home directory. Set the required permissions for files and directory so it can be accessed by the web server. Test it to make sure works by opening it on a web browser (i.e. point your browser to the this link: http://dwarf.ict.griffith.edu.au/~s744492/wp/labs/factorise/ ). 2. Start Netbeans on your computer. Create a new project (File ‐> New project) in Netbeans, and select “PHP Application from Remote Server” as the project type. Then click “Next>”.

3. Name and Location Window: Enter project name. Then click “Next>”. Source Folder specifies the location where the local copy is stored. Change the location if you need to (say to your H: drive).

4. Remote Configuration Window: Enter Project URL, which is the address on Dwarf that allows you to access your factorisation example.

9. Remote Configuration Window: if required change upload directory, so the sftp address is the directory on dwarf that contains the files you wish to work on. Click “Next>”.

10. Warning: Click “Yes”.

11. Done! When you press the “Run Project” button, the local copy of your files is uploaded to Dwarf, and the default browser is opened up with the address to your (factorise) project on Dwarf (your copy on Dwarf will be overwritten). Now the hard work begins in making changes to your PHP program.