| LAMP setup | |
|
|
Author | Message |
---|
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: LAMP setup Sat Jan 08, 2011 11:37 am | |
| i am interested in cofiguring LAMP on my opensuse 11.3 can anybody pls help me | |
|
| |
MattB4 Old Regular
Posts : 313 Join date : 2010-02-22 Location : Wilds of Arkansas
| Subject: Re: LAMP setup Sat Jan 08, 2011 2:10 pm | |
| The best I have seen on doing this is Swerdnas Howto located Here. | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Sat Jan 08, 2011 4:28 pm | |
| If you're going to allow outside access I'd also recommend running denyhosts. Its for blocking people trying to hack into your box via ssh attacks. If you don't have port 22 open, it may not help any but it can't hurt.
As far as getting a basic LAMP setup its quite easy in suse. Not in suse at the moment but if I recall corrrectly in the software manager there are package groups you can install and one of them is LAMP. The other option is to just select the apache, mysql, and php packages. | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Sun Jan 09, 2011 3:41 am | |
| cant get local host to work properly , not sure if i have everything configured properly yet. would have to do some more research. | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Wed Feb 02, 2011 12:38 pm | |
| got LAMP working , but am unable to add directories to the www dir. can anybody tell me how to add directories here to create websites. | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Wed Feb 02, 2011 10:26 pm | |
| Are you trying to add the directories under www as the root user? Your standard user won't access to the directory. | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Thu Feb 03, 2011 2:49 am | |
| yes.
but i believe i am logged in as admin, how do i go about this? | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Thu Feb 03, 2011 7:24 pm | |
| My normal way of creating directories is through the File Browser - Super User Mode. With it you should just be able to browse to the directory and right click to create a new directory. The other option is command line in su mode, change to the directory, and issue a "mkdir yourdirname". | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Fri Feb 04, 2011 5:05 am | |
| dont know abouut file browser, i use Kde and i have dolphin-file manager, but i just cant seem to get any joy with it | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Fri Feb 04, 2011 6:42 pm | |
| I guess it is File Manager not File Browser. I also got sloppy and didn't give the full path to it System -> File Manager -> File Manager - Super User Mode.
Did you try the command line way? If it can't create the folder, it should provide some sort of error message at least. | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Sat Feb 05, 2011 10:34 am | |
| how do i get into super user mode? | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Sat Feb 05, 2011 1:16 pm | |
| At the command line type "su", then enter your root password. | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Sat Feb 05, 2011 2:25 pm | |
| i got that part, but i need to change permissions of the www dir so i can create test websites that i can view under localhost for test purposes | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Sat Feb 05, 2011 9:54 pm | |
| I would be very careful about changing permissions on folders under www, if the server is visible to the internet. To change permissions you'll want to read up on the chmod command. Say you want to give everyone permission to www and its subfolders, the command would be something like "chmod -R 777 www". *caution I may have a parameter out of order didn't read the man pages* | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Sun Feb 06, 2011 7:13 am | |
| ok i understand thanks slightly different from windows, i used to use the localhost as a testing server, for my websites | |
|
| |
Alastairo Gecko
Posts : 62 Join date : 2010-02-25 Location : Somerset West, South Africa
| Subject: Run Dolpnin as root Sat Feb 26, 2011 9:25 am | |
| Right click on screen - run command - and in the white box type kdesu dolphin | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Sat Feb 26, 2011 9:44 am | |
| thanks. how do i view html and php pages in the www dir. i get the "it works" bit but not sure where to place my pages so i can see them. | |
|
| |
Alastairo Gecko
Posts : 62 Join date : 2010-02-25 Location : Somerset West, South Africa
| Subject: Lamp Setup Sat Feb 26, 2011 10:39 am | |
| I think if you install bluefish, you can read and edit those pages. | |
|
| |
Alastairo Gecko
Posts : 62 Join date : 2010-02-25 Location : Somerset West, South Africa
| Subject: Re: LAMP setup Sat Feb 26, 2011 10:51 am | |
| Bluefish is in the opensuse education repository. I had it once upon a time and it was very powerful and nice to use | |
|
| |
Alastairo Gecko
Posts : 62 Join date : 2010-02-25 Location : Somerset West, South Africa
| Subject: Re: LAMP setup Sat Feb 26, 2011 11:38 am | |
| There is a good article that might help you here | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Mon Feb 28, 2011 7:17 pm | |
| To edit the php pages you can edit any text editor. | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Tue Mar 01, 2011 4:58 am | |
| where in the 'www dir' do i place html and php pages, so that i can view them on my local machine? | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Tue Mar 01, 2011 9:51 pm | |
| Right in thee www directory should work. It will look for certain named files, like index.html or .php | |
|
| |
luke_suse11.3 Salamander
Posts : 25 Join date : 2011-01-03
| Subject: Re: LAMP setup Wed Mar 02, 2011 1:47 am | |
| thank you i see how it works now . all created files are places after the localhost file, which, yes i know make sense. | |
|
| |
bdquick Admin
Posts : 583 Join date : 2010-02-22 Age : 45 Location : Central Iowa
| Subject: Re: LAMP setup Thu Mar 03, 2011 9:55 am | |
| Good to hear you've it working. | |
|
| |
Sponsored content
| Subject: Re: LAMP setup | |
| |
|
| |
| LAMP setup | |
|