LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-30-2005, 11:14 AM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
Apache advantage?


I'm now wondering what do do with my old P200 tower that only has 64 MB of RAM. I put Slack 10.1 on it and that works nicely-I then tied it into my home network with a router and vsftp. I never tried Apache. Maybe this is something to delve into. My website is on my ISP's online space. What's the advantage of having your site on your home pc with Apache?
 
Old 08-30-2005, 11:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you can control it easier, and can do whatever the cribbins you want with it. you do of course then have the hassle and cost in terms of bandwidth. your ADSL bill (or whatever) is going towards other people looking at your site...
 
Old 08-30-2005, 11:19 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
The main advantage is that you can configure it the way you want
also it is easiest to update site files etc...

You can even experiment things like audio/video streaming, you can do
all as it is your http server
 
Old 08-30-2005, 11:22 AM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Not sure I can precisely answer this but if your website has heavy traffic, then your server might not be adequate (memory wise). Advantage (that I can think of) is that you have control over your server...downside is you might have to keep it running all the time and if you have a dynamic ip, you'll have to get a dynamic dns service (its free) to point to your server.

Oh...almost forgot, you might have to use another domain name if your ISP does not allow ip forwarding.

Tux,
 
Old 08-30-2005, 01:23 PM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
Well I don't have much traffic going to my site now-that probably won't change. What I want to do is to have the ability to communicate with my home from work. Maybe have an ftp area on my home pc (I have an 80 GB drive) or check my home web cam. Could I do these things with Apache?
 
Old 08-30-2005, 01:27 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You don't need Apache for that kind of things. Most webcam programs run their own webserver to server images, and well, if you want to access trough ftp, just run a ftp server like proftpd or vsftpd. SSH access combined with screen is really nice too
 
Old 08-30-2005, 01:33 PM   #7
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
I've only used vsftpd to transfer files on my home network. How would I access linuxhippy@192.168.1.47 from a Win box using SSH or vsftpd? I realize that's my router's IP...but that's the IP address ifconfig gives me.

Last edited by linuxhippy; 08-30-2005 at 01:41 PM.
 
Old 08-30-2005, 01:59 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You need to forward the port you want to access from your router to your machine, so when you connect EXTERNALIP:Port it's redirected to INTERNALIP:Port. That's configured in the router.
A very good and well known SSH client for Windows is Putty.
 
Old 08-30-2005, 02:59 PM   #9
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Rep: Reputation: 30
I used to host my site at a hosting-company, but since I have Linux I host my site (apache - php - SQL) at home (50 different visitors a day or so, not a lot). The website itself, with all the (7000 or so) images from the gallery and bla bla bla is around 200 MB.


Advantages:

It's cool
Most website-hosters have a limit on data that you can store, your limit is your hard-drive (200 GB in my "server" serves a whole lot of stuff
You have CONTROL, can install your own webmail or whatever
Your mailbox limit is your hard-drive (if you also decide to recieve your own mail for your domain.

Disadvantage:

When you internet connection fails, your site doesn't work, but that just 3 times a year (or so) over here



This all is running for almost a year now on a Pentium 400 Mhz, 256 MB memory box.
 
Old 08-30-2005, 07:30 PM   #10
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
Quote:
Originally posted by gbonvehi
You need to forward the port you want to access from your router to your machine, so when you connect EXTERNALIP:Port it's redirected to INTERNALIP:Port. That's configured in the router.
A very good and well known SSH client for Windows is Putty.
ok, I see in my router setup that my primary PPP is xxx.xxx.xxx.xxx and the box I will leave up is linuxhippy@192.168.1.47

With this info, how would I use ssh on putty to contact my home pc?
 
Old 08-30-2005, 07:58 PM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
First of all, change sshd default port in /etc/ssh/sshd_config from 22 to something else to avoid bot attacks.
Then set the router to redirect incoming connection on that port from outside, to 192.168.1.47.
Then access your ssh with user@xxx.xxx.xxx.xxx with the port you configured.
 
Old 08-31-2005, 06:18 PM   #12
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
ok I changed my /etc/ssh/sshd_config to port 45 and set up 192.168.1.47 to go to port 45 in my router. Now if I'm on the internet outside my house, how do I log into my pc if my IP is 124.121.15.11....user is guest?
 
Old 08-31-2005, 08:44 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Depends on the client. With Putty set Host name (or IP Address) to 124.121.15.11 and Port to 45. Then connect, you should be able to type the username and password. If you want to directly connect as user guest type as ip: guest@124.121.15.11 and select Port to 45.
When using ssh client use: ssh -oPort=45 user@ip or ip as you wish.
 
  


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
Is there any advantage of openswan over OpenVPN? ddaas Linux - Security 4 11-26-2007 07:22 AM
The advantage of GTK2 over GTK1? beejayzed Linux - Software 5 10-22-2005 12:08 PM
advantage of primary over logical abunsair Linux - Hardware 4 07-04-2005 05:37 PM
how to take advantage of openMOSIX ? qwijibow Programming 5 01-14-2005 04:39 AM
The advantage of *BSD vs. any-Linux? Chijtska *BSD 23 07-17-2002 09:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:26 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