HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  Log in  
openFate
openFATE - openSUSE feature tracking
Latest topics
» Difference between 42.2 and 42.1
by findoctr Thu Dec 15, 2016 7:53 pm

» openSUSE Leap 42.1 ?
by findoctr Fri Feb 05, 2016 8:09 pm

» Happy Turkey Day
by findoctr Thu Nov 26, 2015 1:45 pm

» Happy 4th of July!
by bozo Sat Jul 04, 2015 12:56 pm

» It's been a while ...
by bozo Mon Feb 23, 2015 8:34 pm

» Mondo chillers
by bozo Wed Feb 18, 2015 5:11 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
IRC Channel
You can also find us on IRC's freenode.net as #suseunbound.

Share | 
 

 LAMP setup

View previous topic View next topic Go down 
AuthorMessage
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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 Smile
Back to top Go down
MattB4
Old Regular
avatar

Posts : 313
Join date : 2010-02-22
Location : Wilds of Arkansas

PostSubject: Re: LAMP setup   Sat Jan 08, 2011 2:10 pm

The best I have seen on doing this is Swerdnas Howto located Here.

_________________
Computers will never amount to anything.
Back to top Go down
http://suseunbound.canadaboard.net
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: 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.

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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.
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: 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.

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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?
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: 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".

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: 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.

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: Re: LAMP setup   Sat Feb 05, 2011 10:34 am

how do i get into super user mode?
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: Re: LAMP setup   Sat Feb 05, 2011 1:16 pm

At the command line type "su", then enter your root password.

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: 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*

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: Re: LAMP setup   Sun Feb 06, 2011 7:13 am

ok i understand Smile
thanks

slightly different from windows, i used to use the localhost as a testing server, for my websites
Back to top Go down
Alastairo
Gecko
avatar

Posts : 62
Join date : 2010-02-25
Location : Somerset West, South Africa

PostSubject: 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
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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.
Back to top Go down
Alastairo
Gecko
avatar

Posts : 62
Join date : 2010-02-25
Location : Somerset West, South Africa

PostSubject: Lamp Setup   Sat Feb 26, 2011 10:39 am

I think if you install bluefish, you can read and edit those pages.
Back to top Go down
Alastairo
Gecko
avatar

Posts : 62
Join date : 2010-02-25
Location : Somerset West, South Africa

PostSubject: 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
Back to top Go down
Alastairo
Gecko
avatar

Posts : 62
Join date : 2010-02-25
Location : Somerset West, South Africa

PostSubject: Re: LAMP setup   Sat Feb 26, 2011 11:38 am

There is a good article that might help you here
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: Re: LAMP setup   Mon Feb 28, 2011 7:17 pm

To edit the php pages you can edit any text editor.

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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?
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: 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

_________________
I'm here where ever here is.
Back to top Go down
luke_suse11.3
Salamander
avatar

Posts : 25
Join date : 2011-01-03

PostSubject: 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.
cheers
Back to top Go down
bdquick
Admin
avatar

Posts : 583
Join date : 2010-02-22
Age : 38
Location : Central Iowa

PostSubject: Re: LAMP setup   Thu Mar 03, 2011 9:55 am

Good to hear you've it working.

_________________
I'm here where ever here is.
Back to top Go down
Sponsored content




PostSubject: Re: LAMP setup   

Back to top Go down
 
LAMP setup
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
SUSEUnbound :: Help Section :: Software-
Jump to: