PDA

View Full Version : Creating a Web Server



Seldimis
December 14th, 2001, 16:59
Hello. I 'd like to convert my PC to a server. I know that I will need to install PHP, MySql and other. I was wondering which OS will I use ? (Apache servers are good?). Where can I find sendmail and other paths if I install cgi?

Cyber
December 14th, 2001, 17:07
you might want ot try Linux for a server system

niv
December 14th, 2001, 23:48
Since Cyber's post was..well, not sufficient in content...*cough* :rolleyes:, it's my turn.

Hopefully you've got some background in Linux, you'll need a lot, even for newbie-oriented OSes like Red Hat. I suggest you get:

1. A domain for the server.
2. A fast connection if you already don't have one (at least 175KB up/175 KB down)
3. Red Hat 7.2: This includes{ PHP 4.0.6, Perl 5.6.0, mySQL 3, and Apache 1.3.* }
- You can choose packages in the installation. Red Hat 7.2 is composed of 2 ISOs, containing a ----load of software.

Some of the basic paths:

/sbin/sendmail - Sendmail
/usr/bin/perl - Perl path
/etc/apache/httpd.conf - HTTPd[aemon] configuration file for Apache.
/usr/bin/g++ - C++ compiler
/usr/bin/php - PHP [Apache will install a PHP module so .php files will automatically be parsed, rather than running it as a CGI file]
/etc/passwd (/etc/shadow if shadowed passwords are installed) - file containing passwords (encrypted) and usernames.

xboxsource
December 15th, 2001, 08:08
Originally posted by Hayama-kun
Since Cyber's post was..well, not sufficient in content...*cough* :rolleyes:, it's my turn.

Hopefully you've got some background in Linux, you'll need a lot, even for newbie-oriented OSes like Red Hat. I suggest you get:

1. A domain for the server.
2. A fast connection if you already don't have one (at least 175KB up/175 KB down)
3. Red Hat 7.2: This includes{ PHP 4.0.6, Perl 5.6.0, mySQL 3, and Apache 1.3.* }
- You can choose packages in the installation. Red Hat 7.2 is composed of 2 ISOs, containing a ----load of software.

Some of the basic paths:

/sbin/sendmail - Sendmail
/usr/bin/perl - Perl path
/etc/apache/httpd.conf - HTTPd[aemon] configuration file for Apache.
/usr/bin/g++ - C++ compiler
/usr/bin/php - PHP [Apache will install a PHP module so .php files will automatically be parsed, rather than running it as a CGI file]
/etc/passwd (/etc/shadow if shadowed passwords are installed) - file containing passwords (encrypted) and usernames.

/sbin/sendmail = /usr/sbin/sendmail or /usr/lib/sendmail