Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-03-2008, 12:46 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
creating folders under opt/lampp/htdocs folder in fedora


I have been using xampp on Windows. Now I am trying it on fedora. I followed the installation procedures of xampp-linux. It created htdocs folder in opt/lampp/htdocs but i am unable to create folder in htdocs what`s the procedure.

thanks in advance

Old 01-03-2008, 01:40 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Why are you unable to create the directories you want? Please post error messages or any other relevant information, because it's hard to help you otherwise.
Old 01-03-2008, 01:44 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to be root in order to create directories and files in /opt. You can create directories by starting a terminal and then using the mkdir command e.g.
mkdir /opt/lampp/htdocs/somedir
I you want to run AMP on Fedora, also consider using the apache, php and mysql packages shipped by the distro. This guide may prove useful.
Old 01-03-2008, 05:46 AM   #4
LQ Newbie
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
thanks for the solution

with this i created the directory
mkdir /opt/lampp/htdocs/somedirname

after that i used the following one to change the permission
chown -hR username /opt/lampp/htdocs/somedirname

now everything works fine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a command that gives you ownership of a folder and all it's sub-folders royeo Linux - Newbie 3 06-01-2007 02:55 PM
getting strings for all the files and folders in a folder Hard_Working_ Programming 6 04-07-2007 11:55 AM
Fedora: Error creating folders or writing to files thecrozz Linux - Software 1 02-02-2006 08:12 AM
creating files/folders accessing root folder remotely NapalmBob Linux - Networking 2 09-24-2004 11:47 PM
Where is the htdocs folder for Apache? Ekim Gram Linux - Newbie 5 05-24-2003 08:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration