RE: Ubuntu 8.04 as LAMP machine?

2008-06-09 Thread Andrew Hodgson
Luke L wrote:

Ubuntu gets its packages for new releases from Debian unstable.
However, the community is large and any bugs are taken care of
promptly, esp. on the server side.

Ok.  That is what I imagined.

Hardy, being an LTS release, will receive regular updates and support
for the next 5 years.

I am aware of that.

As far as the diff between Deb and Ubuntu AMP packages, well, Ubuntu
will have a later version. Also, Ubuntu's AMP install is very easy to
get up and running. It is toggled at OS install time, or by running
tasksel at console. Within minutes you'll have MySQL, PHP, and
apache2 running on your server.

What is the difference between using tasksel and apt-get install apache2
php5 php5-mysql etc?

I just got up a VM on my machine at home with a standard 8.04 install,
with the LAMP option installed by the install script.  It gave me this:

Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch

SO I need to check with the webdevs that the patch will work ok with our
apps, though it looks like this is going on with 5.2.4 PHP builds in
Lenny also...

What is the difference between a standard Debian network install (with
no extra packages chosen), and a default Ubuntu install with no options
in Tasksel chosen?

Andrew.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: Ubuntu 8.04 as LAMP machine?

2008-06-09 Thread Ante Karamatic
On Mon, 9 Jun 2008 21:47:27 +0100
Andrew Hodgson [EMAIL PROTECTED] wrote:

 Ok.  I will be running around 20-30 public facing websites from this
 box.

If it helps, I run over 50 public web sites from single machine. On the
other hand, I also run one public site on 6 machines.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: Ubuntu 8.04 as LAMP machine?

2008-06-09 Thread Luke L
What is the difference between using tasksel and apt-get install apache2
php5 php5-mysql etc?

As far as I know, tasksel integrates all the services and sets them up
with default options. To be honest, I've never setup each component
separately (In Linux).



-- 
Luke L.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: Ubuntu 8.04 as LAMP machine?

2008-06-09 Thread Brett Alton
 What is the difference between using tasksel and apt-get install apache2
 php5 php5-mysql etc?

 I just got up a VM on my machine at home with a standard 8.04 install,
 with the LAMP option installed by the install script.  It gave me this:

 Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch

 SO I need to check with the webdevs that the patch will work ok with our
 apps, though it looks like this is going on with 5.2.4 PHP builds in
 Lenny also...

 What is the difference between a standard Debian network install (with
 no extra packages chosen), and a default Ubuntu install with no options
 in Tasksel chosen?

 Andrew.

 --
 ubuntu-server mailing list
 ubuntu-server@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
 More info: https://wiki.ubuntu.com/ServerTeam


You can actually see the physical code changes by search for packages
in Ubuntu's Launchpad.

For example:

Apache2: https://launchpad.net/ubuntu/+source/apache2
PHP5: https://launchpad.net/ubuntu/+source/php5

If you click on a release number, it will provide you with three files:

* apache2_2.2.8.orig.tar.gz (5.8 MiB)
* apache2_2.2.8-4ubuntu2.diff.gz (128.2 KiB) -- this is the
difference between Debian and Ubuntu in diff/patch format
* apache2_2.2.8-4ubuntu2.dsc (1.7 KiB)

Other than that, there isn't any difference between installing a LAMP
package using the installer, tasksel or aptitude, one merely gives you
more freedom than the other.

For example, I may just want a plan ol', unconfigured Ubuntu server up
in VMware so I can copy it as a default and re-use it for many many
applications and testbeds, each with its own specific need.

You can of course use the installer if you prefer or tasksel like so:

sudo tasksel install lamp-server

I also like to run a script like this to set up my localhost on a
desktop machine:

#--
# Install Apache, PHP, MySQL and phpMyAdmin
sudo aptitude install apache2 php5 mysql-server phpmyadmin 

# Remove Apache's default web directory
sudo rm /var/www 

# Create a localhost folder for the current user
mkdir $HOME/localhost 

# Link Apache's default web directory to localhost in the current user's home
sudo ln -s /var/www $HOME/localhost 

# Link phpmyadmin to http://localhost/admin
ln -s /usr/share/phpmyadmin $HOME/localhost/admin
#--

Its all preference!

-- 
Brett Alton
[EMAIL PROTECTED]

Do you really need to print this email? Help preserve our environment!

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam