Re: install LAMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Mar 3, 2008 at 9:04 AM, Hiep Nguyen <hiep@xxxxxxxxxx> wrote:
>
> On Mon, 3 Mar 2008, Matt Shields wrote:
>
>  > On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <hiep@xxxxxxxxxx> wrote:
>  >> hi all,
>  >>
>  >>  i'm not an expert on linux/centos, but i play with it and have a general
>  >>  idea.  it's time for me to setup a centos box for development.  i rarely
>  >>  install anything from source, except a few times in college when i have to
>  >>  modify kernel for OS project.  but i guess i can learn now.
>  >>
>  >>  i just installed centos 5 with minimal installation.  next step is to
>  >>  install LAMP w/ SSL.
>  >>
>  >>  i found http://lamphowto.com/lampssl.html, but i have questions before i
>  >>  proceed.
>  >>
>  >>  is it better to install from source or rpm?  how easy it is to
>  >>  upgrade/update if install from source?  it seems so much easy to
>  >>  upgrade/update from rpm, well b/c i'm always do this way.
>  >>
>  >>  is there any other instruction (beside the one mentioned above) to install
>  >>  LAMP w/ SSL?
>  >>
>  >>  appreciate your help/suggestion
>  >>  t. hiep
>  >
>  > It's better to stick to the RPMs to make it easier to upgrade.  If you
>  > want an easy way to install LAMP you can run 2 commands
>  >
>  > yum -y groupinstall "Web Server"
>  > yum -y install mysql-server php-mysql
>  >
>  > This will get Apache, MySQL, and PHP all installed.
>
>  is this include SSL???
>

Learn Yum, it's your friend.  If you don't know how to use it just
type "yum" and it will give you a list of options.  See how I used
"yum groupinfo" on the "Web Server" group.  One of the default
packages is mod_ssl.

[root@admin ~]# yum groupinfo "Web Server"
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
centosplus                100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
comps.xml                 100% |=========================| 912 kB    00:02
yumgroups.xml             100% |=========================| 9.7 kB    00:00

Group: Web Server
 Description: These tools allow you to run a Web server on the system.
 Mandatory Packages:
   httpd
 Default Packages:
   tux
   mod_python
   mod_ssl
   distcache
   webalizer
   php-ldap
   squid
   mod_perl
   crypto-utils
   httpd-manual
   php
 Optional Packages:
   php-odbc
   tomcat5-admin-webapps
   php-pear
   mod_auth_kerb
   httpd-suexec
   tomcat5-webapps
   mod_nss
   mod_auth_pgsql
   mod_auth_mysql
   mod_authz_ldap
   tomcat5
   php-mysql
   php-pgsql

-- 
-matt
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux