i know this is a really stupid question, sorry for asking it
i got LAMP installed and it shows "it works!" and everything, but how can i add folders to the 'var/www' folder. i see it needs the permission of root.
how can i do that??
thnx in advance
how to: write files to 'var/www'
Started by amrosama, Jan 30 2009 05:03 AM
12 replies to this topic
#1
Posted 30 January 2009 - 05:03 AM
|
|
|
#2
Guest_Jordan_*
Posted 30 January 2009 - 05:22 AM
Guest_Jordan_*
Execute this command:
This will make you root (if your user account is in the wheel group/sudoers file) and you will be able to do whatever you like. However, once you are root you may want to add your username to the http/apache group or whoever owns var/www.
# sudo -s
This will make you root (if your user account is in the wheel group/sudoers file) and you will be able to do whatever you like. However, once you are root you may want to add your username to the http/apache group or whoever owns var/www.
#3
Posted 30 January 2009 - 06:06 AM
thnx alot, you are a life saver
i bet i look like an idiot newbie now :D:D
i bet i look like an idiot newbie now :D:D
#4
Guest_Jordan_*
Posted 30 January 2009 - 06:19 AM
Guest_Jordan_*
Not at all. There are a lot of commands in the console and it would be impossible for anyone to immediately know them all.
#5
Posted 30 January 2009 - 06:22 AM
that makes me feel better
can i just copy phpAdmin from windows into the 'www' folder in linux, will that work?
can i just copy phpAdmin from windows into the 'www' folder in linux, will that work?
#6
Guest_Jordan_*
Posted 30 January 2009 - 06:24 AM
Guest_Jordan_*
Yes although you will need to modify the configuration file to use your Linux MySQL username and password.
#7
Posted 30 January 2009 - 06:28 AM
yeah that would be easy.
if things worked well like this for a while , i may use linux for developing php all the time, it saves alot of time and effort unlike windows
-when i bench marked the same php script on windows and ubuntu, guess who won?
if things worked well like this for a while , i may use linux for developing php all the time, it saves alot of time and effort unlike windows
-when i bench marked the same php script on windows and ubuntu, guess who won?
#8
Guest_Jordan_*
Posted 30 January 2009 - 06:39 AM
Guest_Jordan_*
Hmmmm.. Ubuntu? :D
#9
Posted 30 January 2009 - 10:41 AM
#10
Guest_Jordan_*
Posted 30 January 2009 - 12:17 PM
Guest_Jordan_*
Nice blog! :D
#11
Posted 31 January 2009 - 12:35 PM
yeah, the admin in that site is pretty cool
have you ever been to that site?
have you ever been to that site?
#12
Guest_Jordan_*
Posted 31 January 2009 - 01:28 PM
Guest_Jordan_*
Not yet, but I plan on visiting soon. :)


Sign In
Create Account


Back to top









