SUSEUnbound
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  
openFate
LAMP setup Fatelogo_small openFATE - openSUSE feature tracking
Latest topics
» Difference between 42.2 and 42.1
LAMP setup Emptyby findoctr Thu Dec 15, 2016 7:53 pm

» openSUSE Leap 42.1 ?
LAMP setup Emptyby findoctr Fri Feb 05, 2016 8:09 pm

» Happy Turkey Day
LAMP setup Emptyby findoctr Thu Nov 26, 2015 1:45 pm

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

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

» Mondo chillers
LAMP setup Emptyby 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.

 

 LAMP setup

Go down 
4 posters
AuthorMessage
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: LAMP setup   LAMP setup EmptySat 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
MattB4


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

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

The best I have seen on doing this is Swerdnas Howto located Here.
Back to top Go down
https://suseunbound.canadaboard.net
bdquick
Admin
bdquick


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

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptySat 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.
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptySun 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
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyWed 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
bdquick


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

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyWed 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.
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyThu 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
bdquick


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

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyThu 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".
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyFri 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
bdquick


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

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyFri 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.
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

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

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


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

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

At the command line type "su", then enter your root password.
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptySat 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
bdquick


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

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptySat 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*
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptySun 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
Alastairo


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

LAMP setup Empty
PostSubject: Run Dolpnin as root   LAMP setup EmptySat 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
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptySat 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
Alastairo


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

LAMP setup Empty
PostSubject: Lamp Setup   LAMP setup EmptySat 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
Alastairo


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

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptySat 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
Alastairo


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

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

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


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

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

To edit the php pages you can edit any text editor.
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyTue 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
bdquick


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

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyTue 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
Back to top Go down
luke_suse11.3
Salamander
luke_suse11.3


Posts : 25
Join date : 2011-01-03

LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup EmptyWed 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
bdquick


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

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

Good to hear you've it working.
Back to top Go down
Sponsored content





LAMP setup Empty
PostSubject: Re: LAMP setup   LAMP setup Empty

Back to top Go down
 
LAMP setup
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: