How to use XAMPP on Ubuntu?

1

I installed Ubuntu 12.04 today and I would like to use XAMPP on this OS.

I downloaded the installation file, extracted that in Opt directory and tried to start it from the terminal. It started fine from the terminal. To edit my files, I downloaded Geany. Now when I try to save file through this text editor in the htdocs folder of XAMPP, it says "Permission Denied". It was also not allowing me to make a subfolder in htdocs but I made that through Terminal. I want to know how to save the file?

Please give me some additional commands too (like deleting files, renaming files..). Would I need to type in commands in Terminal for everything I need to do in this Root directory?

Vijay

Posted 2012-10-13T18:12:52.767

Reputation: 11

did you have "root" access in the terminal (sudo su)? permissions... – Logman – 2012-10-13T20:52:42.343

@Logman Yeah I have the root access – Vijay – 2012-10-14T12:07:29.307

1you installed Xampp with root, but you are trying to edit those files when you are not. Usually you do not edit the htm file directly but thru http/ftp... change the user access rights to files or run Geany with root access (dangerous).... – Logman – 2012-10-14T14:20:55.723

No answers