LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-31-2009, 09:09 AM   #1
Bller
Member
 
Registered: Aug 2009
Location: Tulcea, Romania
Distribution: Slackware 13.0
Posts: 177

Rep: Reputation: 15
Lampp on Slackware 13.0


I did a LAMPP webserver installation earlier today. Everything went good, i set the security files everything was set. I disabled the preinstalled apache server from the setup and started lampp with /opt/lampp/lampp start. I added my project site into htdocs folder and tried http://localhost, it showed my site instantly. But when i try to access the site through my ip, as in http://xx.xx.xx.xxx it doesn`t connect. Why ?
 
Old 08-31-2009, 09:15 AM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,857

Rep: Reputation: Disabled
http://jengelh.medozas.de/links/iptables/ - more specifically, http://iptables-tutorial.frozentux.n...tml/x4033.html
 
Old 08-31-2009, 09:19 AM   #3
fastestOS
LQ Newbie
 
Registered: Jun 2008
Location: @terminal LOL
Distribution: Slackware forever
Posts: 28

Rep: Reputation: 16
Hello. You mean XAMPP?

You don't have to. Slackware comes with LAMP out-of-the-box! You just need to configure it. After that you could execute apache, mysql, and php. If I am developing enterprise web sites, I would use LAMP rather than XAMPP, if I were you.

Go uninstall XAMPP and reinstall apache. It's a lot better!
 
Old 08-31-2009, 09:22 AM   #4
Bller
Member
 
Registered: Aug 2009
Location: Tulcea, Romania
Distribution: Slackware 13.0
Posts: 177

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fastestOS View Post
Hello. You mean XAMPP?

You don't have to. Slackware comes with LAMP out-of-the-box! You just need to configure it. After that you could execute apache, mysql, and php. If I am developing enterprise web sites, I would use LAMP rather than XAMPP, if I were you.

Go uninstall XAMPP and reinstall apache. It's a lot better!
LAMP is the same with LAMPP : XAMPP = Windows webserver, LAMPP = Linux webserver , both of them are built by the same team.

LE: Eaven apache won`t work, it works on localhost but when i target my ip noting happens.

Last edited by Bller; 08-31-2009 at 09:34 AM.
 
Old 08-31-2009, 09:27 AM   #5
Bller
Member
 
Registered: Aug 2009
Location: Tulcea, Romania
Distribution: Slackware 13.0
Posts: 177

Original Poster
Rep: Reputation: 15
Is this Slackware only issue? I mean i installed lampp on another distro and worked as soon as i typed /opt/lampp/lampp start it would work instantly without any iptables issues or anything it just worked. That`s why i`m like so lost right now.
 
Old 08-31-2009, 10:18 AM   #6
Scuzz
Member
 
Registered: Jul 2009
Posts: 35

Rep: Reputation: 16
Quote:
Originally Posted by Bller View Post
http://localhost, it showed my site instantly. But when i try to access the site through my ip, as in http://xx.xx.xx.xxx it doesn`t connect. Why ?
If your using a router, make sure that you have port forwarding enabled.
For my router i setup it up to forward port 80 to 192.168.1.XX port 80 or whatever the ip your router assigned your computer.

Then apache displays the page just fine using the ip assigned to my modem.
Without doing this, all i see is a blank page.

Last edited by Scuzz; 08-31-2009 at 10:23 AM.
 
Old 08-31-2009, 11:14 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,857

Rep: Reputation: Disabled
What you're seeing is purely a routing issue. Additional details depend on how your network is set up.
There is absolutely nothing wrong with Slackware or apache et al - it is a routing issue.
 
Old 08-31-2009, 12:15 PM   #8
Bller
Member
 
Registered: Aug 2009
Location: Tulcea, Romania
Distribution: Slackware 13.0
Posts: 177

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rworkman View Post
What you're seeing is purely a routing issue. Additional details depend on how your network is set up.
There is absolutely nothing wrong with Slackware or apache et al - it is a routing issue.
I didn`t say it was a Slackware problem, i forgot about using lampp on another distro when i didn`t have a router.
 
Old 08-31-2009, 12:29 PM   #9
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,857

Rep: Reputation: Disabled
Quote:
Originally Posted by Bller View Post
I didn`t say it was a Slackware problem, i forgot about using lampp on another distro when i didn`t have a router.
Sorry if that came across as accusatory - I didn't mean it that way. I was just trying to be explicitly clear for the benefit of everyone in this thread.
 
Old 08-31-2009, 01:13 PM   #10
Bller
Member
 
Registered: Aug 2009
Location: Tulcea, Romania
Distribution: Slackware 13.0
Posts: 177

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rworkman View Post
Sorry if that came across as accusatory - I didn't mean it that way. I was just trying to be explicitly clear for the benefit of everyone in this thread.
I got it, no problem . But i can`t seem to connect to my router. I did a hard reset to it so i could use the factory config. But i can`t login into the config web menu. And if i give cancel it says :

Web Server Error Report: Server Error: 401 N/A

Operating System Error Nr:3997698: HTM Access denied

/userRpm/index.htm

please mail problems to support
 
Old 08-31-2009, 01:20 PM   #11
sycamorex
Senior Member
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 4,397
Blog Entries: 1

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Have you got any papers that came with the router so that you could check the factory username/password?
 
Old 08-31-2009, 01:27 PM   #12
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Quote:
Originally Posted by Bller View Post
I got it, no problem . But i can`t seem to connect to my router. I did a hard reset to it so i could use the factory config. But i can`t login into the config web menu. And if i give cancel it says :

Web Server Error Report: Server Error: 401 N/A

Operating System Error Nr:3997698: HTM Access denied

/userRpm/index.htm

please mail problems to support
This may not be of help, but just in case:

1) Make sure you're trying to log in via the LAN side of the router, not the WAN side.

2) Wireless routers sometimes don't (by default) allow logins wirelessly; only via ethernet cable connection.

3) I've yet to meet a (normal, non-$10000) router that by default uses something other than a blank username & PW, or "admin:admin" as username & password.

Sorry if this isn't helping and good luck,
Sasha
 
Old 08-31-2009, 01:33 PM   #13
Bller
Member
 
Registered: Aug 2009
Location: Tulcea, Romania
Distribution: Slackware 13.0
Posts: 177

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sycamorex View Post
Have you got any papers that came with the router so that you could check the factory username/password?
Yeah got the pdf manual and double checked it, the default username/password are admin admin, i tried login in with both seamonkey and mozilla and didn`t work.

I pressed the reset button for more than 30 seconds and that should have restarted it. I even unplugged it from the power supply and still doesn`t want to work, i keep trying admin admin and it won`t allow it to connect and i`m sure i`m on the lan part i use 192.168.1.1 to connect, any other address i try won`t find anything. Only 192.168.1.1 detects correctly my MSI Wireless Router, but when i try to log in it won`t allow me.
Does anyone have any problem like this one with their router?
 
Old 08-31-2009, 01:37 PM   #14
Bller
Member
 
Registered: Aug 2009
Location: Tulcea, Romania
Distribution: Slackware 13.0
Posts: 177

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GrapefruiTgirl View Post
This may not be of help, but just in case:

1) Make sure you're trying to log in via the LAN side of the router, not the WAN side.

2) Wireless routers sometimes don't (by default) allow logins wirelessly; only via ethernet cable connection.

3) I've yet to meet a (normal, non-$10000) router that by default uses something other than a blank username & PW, or "admin:admin" as username & password.

Sorry if this isn't helping and good luck,
Sasha
Tried everything, i`m beginning to think that this could be due to only 2 things
Or this shitty router dosen`t support Linux or Slackware in particular ( highly unlikely ) Or Slackware has a bug somewhere. ( Sorry if i`m getting too general on this sentence )

Last edited by Bller; 08-31-2009 at 01:38 PM.
 
Old 08-31-2009, 01:37 PM   #15
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Further reading of the manual should point out two things which you should double check:

1) The correct subnet & IP address needed to access the router. So, if the router's address is xxx.yyy.2.xxx then your computer needs to have an IP address of xxx.yyy.2.xxx (notice the 2) .. Second, I have a Belkin router here, which seems to like being logged into at xxx.yyy.aaa.254 rather than xxx.yyy.aaa.1, so check to manual for this info.

2) The hard-reset button generally needs to be held in, WHILE power cycling the router, so:

Press and hold the button, while the router is ON.
Turn off the router (still holding the button).
Power ON the router, and after the lights calm down, release the button.

Good luck
Sasha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating from XAMPP to LAMPP JohnE1 Linux - Server 1 05-07-2009 06:00 PM
configuring lampp mysql Eugene.Maritim Linux - Newbie 1 05-02-2009 04:41 PM
LAMPP Installation BrianEWilliams Linux - Newbie 3 10-19-2006 04:12 PM
Lampp problem begby Linux - Software 10 04-30-2005 12:19 AM
Lampp, FTP and Directories.... mattbuechler Linux - Software 0 07-02-2003 04:10 PM


All times are GMT -5. The time now is 06:29 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration