LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-12-2007, 01:17 PM   #1
jtatarin
LQ Newbie
 
Registered: Mar 2007
Posts: 10

Rep: Reputation: 0
Confused about installing a simple LAMP server in Linux


Hey guys I've taken up a new interesst. I have been a webmaster for years (just using crummy shared hosting accounts) but just recently I purchased my own ded server running FC5 and Plesk 8 which I have migrated my sites to. When I bought my server they gave me my SSH root login which I was terrified to use lol. Anyways I've been reading hundreds of articles online because I eventually want to be able to manage my own server from the ground up (installing a complete Lamp Server via SSH command line) with ISP config/webmin/plesk/cpanel and run dedicated gaming server. Hey Sometimes you gotta have some fun. So anyways I build a whole new PC just as an experimental PC and so far i've installed FREEBSD Ubuntu 6.10 Desktop and Ubuntu 6.10 Server all at seperate times just so I can kinda figure out the big picture. I have learned virtually everying I know so far by google search but each time I type in say "Installing a Lamp Server On Ubuntu 6.10" I find literally thousands of tutorials that explain how to the same thing completely differently. It is so confusing I am pulling out my hair. I have yet to find a tutorial that was 100% accurate.

I follwed this tutorial here:

http://www.howtoforge.com/perfect_setup_ubuntu_6.10

But a lot of the steps don't work. For example after you install Ubuntu It tells you to run this command to Install Software:

apt-get install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++

This command gives an error aswell as several others in the tutorial. Likwise if you go here:

http://www.debianadmin.com/webmin-in...ntu-linux.html

It just tells you to install webmin as everything comes with webmin.

Then I read this tutural which is basically the same as howtoforge's but its way more simple

http://www.mysql-apache-php.com/

Perhaps Ubuntu 6.10 server is not as good as other dist's. Where is a good starting place, It just seems that so man articles are so incconsistent. -jeff
 
Old 03-12-2007, 09:20 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Jeff,

You need to take it a step at a time. A LAMP server is a pretty complex thing, when you think about all the parts that come together. It really isn't that hard though, and I think you're expecting a one-liner to do all the setup for you.

Now, hopefully I haven't offended you

What was the error that the apt-get command gave you? Usually HowToForge's docs are pretty good. I've used one to set up a few CentOS servers without issue.



-- Shade
 
Old 03-13-2007, 01:56 PM   #3
jtatarin
LQ Newbie
 
Registered: Mar 2007
Posts: 10

Original Poster
Rep: Reputation: 0
??

Ive read hundreds of articles and each article has different steps to do the same thing. I installed Ubuntu 6.10 Server exactly following this tutorial:

http://www.howtoforge.com/perfect_setup_ubuntu_6.10_p4

On Stop 8 When it instructs to install some software: It gives me an error saying can't read packet and doesn't install

apt-get install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++

I was also unable to install Step 13 Gave me same error:

apt-get install courier-authdaemon courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl gamin libgamin0 libglib2.0-0

Step 14 Also didn't work:

apt-get install autoconf automake1.4 autotools-dev libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php-pear php5-ldap php5-mhash php5-mysql php5-mysqli php5-snmp php5-sqlite php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-pspell

And Step 15.. Couldn't "apt-get install proftpd proftpd-common ucf" gave me an error

Its just confusing seing tutorials like this NOT work? I wish I could just follow the instruction for EACH software packet and install it..

I am having a hard time understanding what all these MOD packets are? Like why is it that some tutorials ask to install apache by apt-get install apache and others ask for tons of lines of cope with a bunch of mods? Do I need them? Can I install mods later.

It seems easier to install the BARE minimum.

Perhaps I should try a different DIST.. They also have a tutorial Of the "Perfect Server for OpenSuse".. Which by the way? Is it better than Ubuntu Server?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM
New LAMP Server dragondefj Linux - General 5 01-31-2006 01:38 AM
I am confused with the partitioning process during installing suse linux personal ultra99 Linux - Software 1 08-11-2004 04:36 PM
on-x Rx linux as a LAMP server violentpurrr Linux - Software 0 06-26-2004 12:33 AM
Linux Dialup server...confused tisource Linux - Networking 6 06-18-2004 09:44 PM


All times are GMT -5. The time now is 03:25 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration