| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 56110 | 2005-03-27 14:51:00 | linux webserver 101 - help needed for beginner | 2nvhotsexy21 (7718) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 338512 | 2005-03-27 14:51:00 | ok so i have a dual 233mhz server with 128mb ram and 2x 4gig scsi hard drives. i have installed debian 3.0, (about 4 times) fedora 3 (twice) and redhat 7.3 (once)..... i am in desperate need of some help from those in the know. where do i begin? i have the hardware ready i just need to know what to install. redhat7.3 (because of the older hardware) or fedora (for bleeding edge) or debian (for stability)? or other...... i am really confused i have tried searching google for anything to get me started but its not really getting me anwhere. i want to register a domain and host the site myself on adsl (when i get it ... so for now i just want to get it going on my lan and build the website - personal portfolio and resume)..... please someone help me point me to the right places or give me advice i don't know what to install and how to configure it.... i don't know how to secure linux or what programs not to install... i have installed linux before (quite a few times) but this is the first server. i am a graphic art student learning web design, linux, networks and computer hardware in my spare time. thanks for any help :help: - shawna |
2nvhotsexy21 (7718) | ||
| 338513 | 2005-03-27 15:22:00 | Fedora is probably the distro with the best support community for beginners, best support for software, most up-to-date, and easiest to install and configure. The best webserver to run is Apache. This is almost certainly part of the Fedora distribution. It may also be the case with MySQL and PHP (or Perl), which any self-respecting dynamic site would need. You should dedicate the machine to webserving, and nothing else. Do not install unnecessary software such as office applications, multimedia stuff etc. |
vinref (6194) | ||
| 338514 | 2005-03-28 00:05:00 | I assume you are after a webserver for testing pages you design with php and mysql stuff, I tried a variety of different distros before settling on clark connect, it's really easy and comes with everything working out of the box there are instructions on their website, and it will also self install phpmyadmin if you require it (once everything else is installed) Speaking for myself it was the easiest I have ever used and suits my needs Nigel |
Morgenmuffel (187) | ||
| 338515 | 2005-03-28 00:23:00 | Install Debian (testing, stable, you choose). Configure apt sources through either /etc/sources.list or the base config utility (will run when you install anyway). Log in, and run at a bash shell: $ apt-get install apache php4 mysql-server You may have to be logged in as root, I don't remember. Oh, and don't install apache or any other web server during the installation of Debian, because it will cause hassles. Hope that helps :) |
Growly (6) | ||
| 338516 | 2005-03-28 05:00:00 | i think i am going to have to go with redhat 7.3 for now as its the only one i can find drivers for. unless i find the ones for debian ... i liked debian so far. whats a good partition set up and sizes and how do i set up x to let me have a gui remotely ( can this be done with redhat 7.X? ) for partitions i was going to have seperate ones for /var/ftp /var/www and /var/mail ( for mail server ) and /boot /home and / does this sound right? this is hopefully going to be a live site eventually but i would like to have it set up before i make the decision. thanks for your suggestions and comments so far please help me get this going. your shawna :help: |
2nvhotsexy21 (7718) | ||
| 338517 | 2005-03-28 05:34:00 | how do i set up x to let me have a gui remotely ( can this be done with redhat 7.X? ) :ssh to a vnc session | Mark.p (6961) | ||
| 338518 | 2005-03-28 12:21:00 | I wish I finished my book on setting up your own personal web development server, but I haven't. If you have any questions though, do feel free to ask. As for limited the partition for your http server, well depends how you want to run it, do you want to run it from the main or from your UserDir? I prefer UserDir since I rather not change the settings of the main, since it's controlled by user apache and my user has no rights to make anything there whatsoever, so it's easier if all my documents reside in my user directory. But if you do want to limit it, I say 150MB as minimal, you can even get away with ~20MB, few people even reach this with their sites. An easier way to have an easy to install server including FTP and many other useful tools I suggest XAMPP (http://xampp.org) although, I disagree with their user settings, configuration file and sloppy PHP pages they provide, everything else is excellent. KK |
Kame (312) | ||
| 338519 | 2005-03-28 12:40:00 | Kame has mentioned security. This is important, as both Apache and PHP are susceptible if not configured correctly. This can be extremely complex to do. And that brings to mind SELinux, which RedHat has configured to work with Apache out of the box - don't trust me about this, do a Google search and satisfy yourself. It maybe a better idea to have your site hosted, but use you machine to learn and to try out your stuff. |
vinref (6194) | ||
| 338520 | 2005-03-28 13:36:00 | I was reading about selinux (developed by the nsa?) i was going to try it out but i seem to be having a nightmare deciding how to set up my hardware. how many on the network and what cards to go into which machines etc (drivers are the major problem). im glad i dont want to get into IT it seems like a never ending headache of too many options. i did have the site hosted but i cant afford it anymore so i got some free domain names (5 sites while they were being handed out one week) and it only costs $7 USD to re-register them but i cant afford hosting so i decided to get cheap or free parts and do my own hosting and learn something in the meantime. thanks everyone - shawna p.s. i found this site im reading through that seems to cover the basics ok. http://www.dslwebserver.com/ |
2nvhotsexy21 (7718) | ||
| 338521 | 2005-03-28 14:58:00 | You might like to check, but I suspect having your site hosted for you may be cheaper than hosting it yourself. Not to mention Apache, MySQL and PHP would already be installed and configured for you... | vinref (6194) | ||
| 1 | |||||