LinuxQuestions.org
Help answer threads with 0 replies.
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 11-05-2013, 05:20 PM   #1
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 229

Rep: Reputation: Disabled
LAMP-Server on OpenSuse 12.3 - issues with the doc-root


hello dear linux-experts, good evening!

I am having trouble with a web application;
Which is the localhost directory
and yes; I can't access localhost/phpmyadmin/

this is all the stuff: i have done a webserver-configuration according this tutorial

http://mntechblog.de/category/linux/opensuse-linux/

the configuration was done with the http-wizzard - see the data i have set...

Code:
#  netstat -lntp
linux-70ce:/srv # netstat -lntp
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 127.0.0.1:4242          0.0.0.0:*               LISTEN      2517/firefox        
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      2196/cupsd          
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1285/master         
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      1035/mysqld         
tcp        0      0 :::80                   :::*                    LISTEN      4556/httpd2-prefork 
tcp        0      0 :::631                  :::*                    LISTEN      1/init              
tcp        0      0 ::1:25                  :::*                    LISTEN      1285/master         
tcp        0      0 :::443                  :::*                    LISTEN      4556/httpd2-prefork 
linux-70ce:/srv #
btw. if i type localhost - i get back -"it works"

the structure is like this:

Code:
martin@linux-70ce:/srv> ls -ld 
drwxr-xr-x 5 root root 4096  6. Mär 2013  .
martin@linux-70ce:/srv>

see what i have:

Code:
./www/perl-lib:
martin@linux-70ce:/srv> find /srv -type d
/srv
/srv/www
/srv/www/htdig
/srv/www/htdig/images
/srv/www/htdig/common
/srv/www/htdocs
/srv/www/htdocs/gif
/srv/www/cgi-bin
/srv/www/perl-lib
/srv/tftpboot

or that:

Code:
ls -d /srv/*/
martin@linux-70ce:/srv> ls -d /srv/*/

/srv/ftp/  
/srv/tftpboot/  
/srv/www/

martin@linux-70ce:/srv> ^C
martin@linux-70ce:/srv>
btw: as mentioned above - I can't access localhost/phpmyadmin/

a friend of me told me the following:

what you need to do is to add phpmyadmin to the apache configuration:

Code:
sudo [my-password] /etc/apache2/apache2.conf
Add the phpmyadmin config to the file:
Code:
Include /etc/phpmyadmin/apache.conf
then restart apache:

Code:
sudo service apache2 restart

what should i do - what is your advice!?

love to hear from you´


greetings


say

Last edited by sayhello_to_the_world; 11-05-2013 at 08:02 PM.
 
Old 11-05-2013, 07:24 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well novell broke apart the httpd.conf into a few files in /etc/apache

how did you configure them ?

How did you install ...
Apache
php
mysql
phpmyadmin
-- and so on

using the yast "install and remove" gui
and install the "web and lamp server" pattern
or zypper in the terminal and install"patterns-openSUSE-lamp_server"

as to setting up and configuring an apache install
it is like the game "GO" 10 min. to learn but a lifetime to master


i would start with reading and rereading the documentation for installing and setting up


Use the novel http install and set up docs
Because suse is NOT the normal rpm os, they are doing things there own way.
The official docs will be only some help .BUT you will need to know them ( inside and out) to figure out just what novell did to the config files

http://doc.opensuse.org/documentatio...a.apache2.html
http://en.opensuse.org/SDB:LAMP_setup
http://en.opensuse.org/SDB:Linux_Apache_MySQL_PHP
-- OLD--
http://en.opensuse.org/SDB:Apache_installation
then

Apache
http://httpd.apache.org/docs/2.4/
php
http://php.net/docs.php

mysql ??
with suse it might be postgres or mariaDB
http://dev.mysql.com/doc/

phpmyadmin
http://www.phpmyadmin.net/home_page/docs.php

-- a VERY GOOD program and almost should be a requirement
AwStats
http://awstats.sourceforge.net/


then use the novel http install and set up docs
because suse is NOT the normal rpm os but they are doing things there own way

http://en.opensuse.org/SDB:LAMP_setup

Last edited by John VV; 11-05-2013 at 07:43 PM.
 
Old 11-05-2013, 08:12 PM   #3
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 229

Original Poster
Rep: Reputation: Disabled
hello dear John

many thanks for the answer;

i was installing the lamp while using the yast "install and remove" gui
and install the "web and lamp server" pattern



i try to digg into your docs and linked manuals.

i come back later the week

greetings
say


Quote:
Originally Posted by John VV View Post
well novell broke apart the httpd.conf into a few files in /etc/apache

how did you configure them ?

How did you install ...
Apache
php
mysql
phpmyadmin
-- and so on

using the yast "install and remove" gui
and install the "web and lamp server" pattern
or zypper in the terminal and install"patterns-openSUSE-lamp_server"

as to setting up and configuring an apache install
it is like the game "GO" 10 min. to learn but a lifetime to master


i would start with reading and rereading the documentation for installing and setting up


Use the novel http install and set up docs
Because suse is NOT the normal rpm os, they are doing things there own way.
The official docs will be only some help .BUT you will need to know them ( inside and out) to figure out just what novell did to the config files

http://doc.opensuse.org/documentatio...a.apache2.html
http://en.opensuse.org/SDB:LAMP_setup
http://en.opensuse.org/SDB:Linux_Apache_MySQL_PHP
-- OLD--
http://en.opensuse.org/SDB:Apache_installation
then

Apache
http://httpd.apache.org/docs/2.4/
php
http://php.net/docs.php

mysql ??
with suse it might be postgres or mariaDB
http://dev.mysql.com/doc/

phpmyadmin
http://www.phpmyadmin.net/home_page/docs.php

-- a VERY GOOD program and almost should be a requirement
AwStats
http://awstats.sourceforge.net/


then use the novel http install and set up docs
because suse is NOT the normal rpm os but they are doing things there own way

http://en.opensuse.org/SDB:LAMP_setup
 
  


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
/srv/www/htdocs/index.html content opensuse apache/lamp/cacti test server 127.0.0.1 Glenn D. Linux - Software 1 09-17-2013 02:30 AM
apache 2.2 won't server page below doc root. Ezplan Linux - Server 3 05-13-2010 09:01 AM
Doc on fine tune LAMP server. satimis Linux - Server 0 10-08-2007 11:36 PM
Problem accessing subdirs from doc root on Apache server ph0ngwh0ng Linux - Newbie 4 04-24-2004 12:02 PM
following HOWTO doc with issues... cockblocker Linux - Software 2 07-05-2003 12:10 PM

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

All times are GMT -5. The time now is 11:00 PM.

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