Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

how to install apache, PHP and MySQL on Linux 2

how to install apache, PHP and MySQL on Linux
This tutorial explains the installation of Apache web server, bundled
with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE
9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all
Linux-like operating systems.
Contents:

MySQL 5 Installation

Apache 2 Installation
Prerequisites

Download Source

Unpack, Configure, Compile
Edit httpd.conf

Set up Access Privileges
Start and Stop Apache Server

Automatic Startup
PHP 5 Installation

apache 2 installation
prerequisites
Before you begin, it is highly recommended (though not inevitable) to create
a system user and user group under which your Apache server will be
running.
# groupadd www
# useradd -g www apache2
What is it good for? All actions performed by Apache (for instance your PHP
scripts execution) will be restricted by this user's privileges. Thus you can
explicitly rule which directories your PHP scripts may read or change. Also all
files created by Apache (e.g. as a result of executing your PHP scripts) will be
owned by this user (apache2 in my case), and affiliated with this user group
(www in my case).
download source
Get the source from http://httpd.apache.org/download.cgi

( httpd-2.2.4.tar.gz
). These instructions are known
to work with all 2.x.x Apache versions.
unpack, configure, compile
Go to the directory with the downloaded file and enter:
# tar -xzf
httpd-2.2.4.tar.gz
# cd httpd-2.2.4
# ./configure
--prefix=/usr/local/apache2 --enable-so --with-included-apr
The configure options deserve a little bit more of detail here. The most
important --prefix
option specifies the location
where Apache is to be installed. Another commonly used option --enable-so
turns on the DSO
support, i.e. available modules
compiled as shared objects can be loaded or unloaded at runtime. Very handy.
To compile some modules statically (they are


Ïà¹ØÎĵµ£º

linuxÄں˻ù±¾Êý¾ÝÀàÐÍ×ܽá


linuxÄں˻ù±¾Êý¾ÝÀàÐÍ×ܽá
¶ÔlinuxÄں˵ÄÊý¾ÝÀàÐÍ×öÒ»ÏÂ×ܽᡣ
ÏÂÃæ²¿·ÖÄÚÈݲο¼ÁË£ºhttp://book.csdn.net/bookfiles/12/100126.shtml
µ±
Linux
ÄÚºËÔÚÌåϵ½á¹¹²îÒì½Ï´óµÄƽ̨֮¼äÒÆÖ²Ê±£¬»á²úÉúÓëÊý¾ÝÀàÐÍÏà¹ØµÄÎÊÌâ¡£ÔÚ±àÒëÄÚºËʱʹÓÃ
-Wall -Wstrict-prototypes
Ñ¡Ï¿ÉÒÔ±ÜÃâºÜ¶à´íÎóµÄ·¢Éú¡£
ÄÚºËʹÓõĻ ......

LinuxÆô¶¯¹ý³ÌÏê½â

±¾Ô­´´ÎÄÕÂÊôÓÚ¡¶Linux´óÅï¡·²©¿Í£¬²©¿ÍµØÖ·Îªhttp://roclinux.cn¡£ÎÄÕÂ×÷ÕßΪrocrocket¡£
Æô¶¯µÚÒ»²½£­£­¼ÓÔØBIOS
µ±Äã´ò¿ª¼ÆËã»úµçÔ´£¬¼ÆËã»ú»áÊ×ÏȼÓÔØBIOSÐÅÏ¢£¬BIOSÐÅÏ¢ÊÇÈç´ËµÄÖØÒª£¬ÒÔÖÁÓÚ¼ÆËã»ú±ØÐëÔÚ×ʼ¾ÍÕÒµ½Ëü¡£ÕâÊÇÒòΪBIOSÖаüº¬ÁËCPUµÄÏà¹ØÐÅÏ¢¡¢É豸Æô¶¯Ë³ÐòÐÅÏ¢¡¢Ó²ÅÌÐÅÏ¢¡¢ÄÚ´æÐÅÏ¢¡¢Ê±ÖÓÐÅÏ¢¡¢PnPÌØ ......

linux С¼¼ÇÉ

linux С¼¼ÇÉ
ǰÑÔ£ºÒòΪÓÃLinuxµÄʱ¼äÔ½À´Ô½³¤£¬ËùÐèÒª×öµÄÊÂÒ²Ô½À´Ô½¶à£¬Ð§ÂʳÉÁËÎÒ±ØÐèÍ»ÆÆµÄÆ¿¾±¡£ÔÚ´Ë×ܽáÒ»ÏÂÕâ¶Îʱ¼äÓùýµÄһЩºÃµÄLinux¼¼ÇÉ¡£ÒÔºóʱ³£²¹³äÕâÑù×Ô¼ºÒªÓõÄʱºò¾ÍºÜ·½±ãÁË¡£ Author:Ajian[Îı¾´¦Àí]1¡¢ ...
ǰÑÔ£ºÒòΪÓÃLinuxµÄʱ¼äÔ½À´Ô½³¤£¬ËùÐèÒª×öµÄÊÂÒ²Ô½À´Ô½¶à£¬Ð§ÂʳÉÁËÎÒ±ØÐèÍ»ÆÆµÄÆ¿¾±¡£ ......

linux tinyxmlɾ³ýÈÎÒâ¸ø¶¨½Úµã

bool RemoveNode(string& szFileName)
{
  TiXmlDocument myDocument(szFileName);   
   bool loadOkay = myDocument.LoadFile();
   if(loadOkay == false)
    return false;
   //»ñµÃ¸ùÔªËØ
  TiXmlElement *rootElemen ......

LinuxÈëÃűʼǶþ

 1.¹Ø»ú
init 0»òÕß halt poweroff
ÖØÐÂÆô¶¯
init 6»òÕß reboot
¹Ø»úµÄʱºò֪ͨÏÂÆäËûÓû§ Shutdown
shutdown -r +5 (Îå·ÖÖÓÖ®ºó¹Ø»ú)
2.ÔÚLinuxÏ¿ÉÒÔʹÓó¤Îļþ»òĿ¼Ãû£¬ÐèÒª×ñÑ­µÄ¹æÔò
  / ½ûֹʹÓÃ
  ºó׺ÊÇûÓÐʵ¼ÊÒâÒåµÄ
3.touch a  ½¨Á¢Ò»¸öÎļþ
4.shellÃüÁîµÄÒ»°ã¸ñʽ
  $cmd ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ