LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-02-2008, 11:46 PM   #1
sent222
LQ Newbie
 
Registered: Jan 2008
Posts: 4

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


Hi,

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

senthil
 
Old 01-03-2008, 12:40 AM   #2
Nylex
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, 12:44 AM   #3
reddazz
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.
Code:
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, 04:46 AM   #4
sent222
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
 
  


Reply



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 01:55 PM
getting strings for all the files and folders in a folder Hard_Working_ Programming 6 04-07-2007 10:55 AM
Fedora: Error creating folders or writing to files thecrozz Linux - Software 1 02-02-2006 07:12 AM
creating files/folders accessing root folder remotely NapalmBob Linux - Networking 2 09-24-2004 10:47 PM
Where is the htdocs folder for Apache? Ekim Gram Linux - Newbie 5 05-24-2003 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 AM.

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