Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Web Server, Recomended Stats?
NodMercinary
post Aug 11 2004, 04:29 AM
Post #1


Grub-er
**

Group: Members
Posts: 30
Joined: 6-August 04
Member No.: 3,502



Ok, I am getting sick of using my slow computer for my graphics editing, so im getting a new one. My current desktop will be put on the side as a web server. What are the recomended stats for a web server? I will probably be streaming audio on it cuz its going to be hosting my bands website.

The PC's Cureent Stats:

Asus A7N8X-X Motherboard
AMD 2500+ OC'd to 3200+
256 DDR 400 FSB
and a 20 Gig HD (but that's not really important)
RedHat 9.0

I'm wondering if the Ram and the CPU are enough... LIke I said, its going to be a graphics and audio rich site.... Like I said, what do u recomend?

Also, I read DHCP tutorial by hughesjr and it was great... is there a nice tutorial for creating a web server by him?
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 11 2004, 05:47 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



You might want to increase the RAM (512mb would be better) if you expect a great number of hits ... but that machine is great for a web server.

I would recommend CentOS, TaoLinux or WBEL for your webserver software ... I have a LAMP server guide here:
http://www.linuxhelp.ca/forums/index.php?a...=ST&f=15&t=3676

(or also on my website here:
http://www.hughesjr.com/content/view/13/2/Site_News


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
NodMercinary
post Aug 11 2004, 06:39 AM
Post #3


Grub-er
**

Group: Members
Posts: 30
Joined: 6-August 04
Member No.: 3,502



Awww, I like my redhat 9 though... why does everyone hate Redhat? I'm new to linux, so I dont know much about the different versions... all I know is that the database admin at my old job recomended RH9... I wanna know how to use RH9 to make a webserver...

Also, I have a RH9 Router and I'm using quicktables to route traffic.. how do I configure port forwarding?
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 11 2004, 08:22 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



RedHat 9 no longer gets security updates and it not supported by RedHat. (Support ended 3 months ago). I have nothing against RedHat, but don't use distros you can't get updates for.

WBEL, CentOS, TaoLinux are Clones of RedHat Enterprise Linux AS 3 ... which does get security updates. So it is very RedHat 9 like, but recieves bug fixes and security updates.

See this article on Introduction to Enterprise Linux and why it is good...

I would not run a public facing server on a distro that no longer gets security updates. If you do, you are begging for someone crack into your machine. (That is my opinion wink.gif)
---------------
There is currently a problem with machines that have been hacked ... and the machines with a specific root kit are now scanning and connection to other Linux machines. See this post:
http://beau.org/pipermail/whitebox-users/2...ust/002873.html

If you have public facing ssh, check your log and see if some people who you don't know are trying to conenct to your box using the users root, admin, guest, test.

Most of the computers that are trying to scan for ssh ports and make the connections are rootkit'ed ... and I'm not sure, but I think the initial vulnerability was an Apache / mod_ssl issue.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
NodMercinary
post Aug 11 2004, 08:59 AM
Post #5


Grub-er
**

Group: Members
Posts: 30
Joined: 6-August 04
Member No.: 3,502



:-/... well, I still need to port forward right? u missed that question above ^^^^

(I think I may get debian for my web server, cuz its also going to be my only linux computer to play with and I heard debian was cool.)
Go to the top of the page
 
+Quote Post
NodMercinary
post Aug 11 2004, 01:44 PM
Post #6


Grub-er
**

Group: Members
Posts: 30
Joined: 6-August 04
Member No.: 3,502



port forwarding anyone? I am using quicktables on a redhat 9 router... can anyone help?
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 11 2004, 07:55 PM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I looked at the quicktables website...

http://qtables.radom.org/samples.php?id=26

Basically, this would let you port forward port 80 (http) and port 443 (https) in:

$iptables -A FORWARD -i eth1 -p tcp --dport 80 -j ACCEPT
$iptables -t nat -A PREROUTING -i eth1 -p tcp -d 166.51.160.107 --dport 80 -j DNAT --to-destination 192.168.0.8:80

$iptables -A FORWARD -i eth1 -p tcp --dport 443 -j ACCEPT
$iptables -t nat -A PREROUTING -i eth1 -p tcp -d 166.51.160.107 --dport 443 -j DNAT --to-destination 192.168.0.8:443

(in the above example ... I am assuming that the internal webserver is 192.168.0.8, that eth1 is the EXTERNAL Network Card .... and that 166.51.160.107 is the EXTERNAL IP Address).

I personally use this as my firewall ... it is very similar to the quicktables script:
http://ldp.hughesjr.com/HOWTO/IP-Masquerad...-2.4.X-STRONGER


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th December 2017 - 03:46 PM