goksu
October 23rd, 2008, 03:59 AM
hello,
I am a somewhat new user to linux. made the transition from winXP a couple of months ago.
I have a laptop (MSI m670 AMD x64 x2 1.5GB RAM) running ubuntu 8.04 hardy. My intention is to use it as a web/DB server for my projects. I have some demos running on WinXP but want to get everything transferred to opensource in the following months. In the near future, this will become harder and harder to do as the work progresses.
I installed apache2, php5, mysql through synaptic. everything worked like a charm! I was surprised. got the "It Works!" web page through the LAN.
I installed ssh. and managed to sftp to by box from WinXP. I don't want to sit on the laptop while working on the webapps. I want to do the work some other place and upload the contents through sftp.
problem is this: default sftp directory is /home/username. I crawl to the /var/www directory. can read the index.php. but can NOT edit/change it.
I understand it is an issue with permissions. I did not want to do a dumb chmod everything. I want to do it the right way. Hense my posting here.
I have been reading man pages and tutorials the last couple of months on and off. but I need a quick proper fix to get going with my webapp building effort.
what is the proper thing to do to update the webapp? How do I do it?
I have found a couple of threads on the issue. they all seem to go around the ideal solution. some have been hijacked. So here I post anew. The help I get I'll consolidate into a tutorial.
Thank you.
Goksu
I am a somewhat new user to linux. made the transition from winXP a couple of months ago.
I have a laptop (MSI m670 AMD x64 x2 1.5GB RAM) running ubuntu 8.04 hardy. My intention is to use it as a web/DB server for my projects. I have some demos running on WinXP but want to get everything transferred to opensource in the following months. In the near future, this will become harder and harder to do as the work progresses.
I installed apache2, php5, mysql through synaptic. everything worked like a charm! I was surprised. got the "It Works!" web page through the LAN.
I installed ssh. and managed to sftp to by box from WinXP. I don't want to sit on the laptop while working on the webapps. I want to do the work some other place and upload the contents through sftp.
problem is this: default sftp directory is /home/username. I crawl to the /var/www directory. can read the index.php. but can NOT edit/change it.
I understand it is an issue with permissions. I did not want to do a dumb chmod everything. I want to do it the right way. Hense my posting here.
I have been reading man pages and tutorials the last couple of months on and off. but I need a quick proper fix to get going with my webapp building effort.
what is the proper thing to do to update the webapp? How do I do it?
I have found a couple of threads on the issue. they all seem to go around the ideal solution. some have been hijacked. So here I post anew. The help I get I'll consolidate into a tutorial.
Thank you.
Goksu