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

RedHat Enterprise Linux 5ÏÂÅäÖÃApache,Mysql,Php

[¾­¹ý°²×°²âÊԳɹ¦µÄ·½·¨from CYBEND ]
µÚÒ»²½£ºÏµÍ³ÓëÈí¼þµÄ×¼±¸
ϵͳ°æ±¾ redhat enterprise linux 5 ,Äں˰汾 2.6.18
µÚ¶þ²½£ºÈí¼þ°üµÄ×¼±¸
httpdÈí¼þ°ü£ºhttpd-2.2.8.tar.bz2
mysqlÈí¼þ°ü´Ómysql¹Ù·½ÍøÕ¾ÏÂÔØ£¬ÎÒÑ¡ÓõÄÊÇehel5µÄrpm°ü
MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
MySQL-client-community-5.0.51a-0.rhel5.i386.rpm
MySQL-devel-community-5.0.51a-0.rhel5.i386.rpm
MySQL-shared-community-5.0.51a-0.rhel5.i386.rpm
php5Èí¼þ°ü£ºphp-5.2.5.tar.bz2
ÆäËû¿âÎļþ£º
curl-7.15.0.tar.gz
freetype-2.3.5.tar.gz
gd-2.0.35.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.2.26.tar.gz
libxml2-2.6.31.tar.gz
PDFlib-7.0.3-Linux-php.tar.gz
t1lib-5.0.0.tar.gz
xpm-3.4k.tar.gz
zlib-1.2.3.tar.gz
gettext-0.16.tar.gz
ÆäËû¹ÜÀíÈí¼þ°ü£º
phpMyAdmin-2.11.6-rc1-all-languages.tar.gz
webmin-1.410.tar.gz
µÚÈý²½¿ªÊ¼°²×°£º°²×°µÄ˳Ðò£¬httpdºÍmysqlµÄ°²×°£¬´ÓÕâ¸ö»·¾³¶øÑÔÊÇÎÞËùνµÄ£¬Ö»ÊÇphp5Èí¼þ°üÒª×îºó°²×°£¬ÏÈ°²×°httpd
¼òÒª²½ÖèÈçÏ£¬#ºÅÌáʾ·ûºóÃæΪÃüÁî,¸´ÖÆËùÓÐÈí¼þ°üµ½Ò»¸öλÖã¬ÎÒÕâÀïÊÇÔÚ/usr/local/srcĿ¼Ï´´½¨lampĿ¼£¬È»ºó¸´ÖÆËùÓÐÈí¼þ°üµ½lampÏÂ
#cd /usr/local/src/lamp
#tar jxvf httpd-2.2.8.tar.bz2
#cd http-2.2.8
#./configure --prefix=/usr/local/apache2 --enable-rule=SHARED_CORE --enable-module=so
#make
#make install
°²×°apacheÍê³É£¬ÊäÈëÃüÁî
#/usr/local/apache2/bin/apachectl -k start
´Ó±¾µØ»òÆäËü»úÆ÷´ò¿ªFirefoxä¯ÀÀÆ÷£¨ÎÒµÄÖÓ°®£©£¬ÊäÈëµØÖ·http://ÄãµÄ·þÎñÆ÷ipµØÖ·£¬¼ÇµÃ¿ª·Å·þÎñÆ÷µÄ80¶Ë¿Ú£¬²»È»¿ÉÄÜ»áÌáʾ´íÎó£¬Èç¹ûÕýÈ·µÄ»°»á³öÏÖÒ»¸ö"It works !"µÄÌáʾҳÃ棬´Ëʱ£¬apache2»ù±¾°²×°Íê³É¡£
½ÓÏÂÀ´½øÐÐMysqlµÄ°²×°£¬ÎÒÏÈ°²×°mysql-serverµÄ°²×°°ü£¬ÌáʾÐèÒªperl-DBI°ü£¬´Ó°²×°¹âÅÌÉϼ´¿ÉÕÒµ½£¬DVD°²×°µÄÖ±½Ó¾ÍÈ¥¹âÅÌÉϵÄServerÎļþ¼ÐÈ¥ÕҾͿÉÒÔÁË£¬Èç¹ûÊÇcd°²×°£¬¾ÍÈ¥cd-2ÉÏȥͬÑùµÄĿ¼¡£
#mount /dev/cdrw /media
#rpm -ivh /media/Server/perl-DBI-1.52-1.fc6.i386.rpm
°²×°Íê³ÉºóÔÙÒÀ´Î°²×°mysqlµÄÆäËû°ü
#rpm -Uvh MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
#rpm -Uvh MySQL-client-community-5.0.51a-0.rhel5.i386.rpm
#rpm -Uvh MySQL-devel-community-5.0.51a-0.rhel5.i386.rpm
#rpm -Uvh MySQL-shared-community-5.0.51a-0.


Ïà¹ØÎĵµ£º

MYSQL»ù±¾ÃüÁî

²âÊÔ»·¾³£ºmysql 5.0.45 ¡¾×¢£º¿ÉÒÔÔÚmysqlÖÐͨ¹ýmysql> SELECT VERSION();À´²é¿´Êý¾Ý¿â°æ±¾¡¿ÕûÀí£ºWebjx.Com Ò»¡¢Á¬½ÓMYSQL¡£¸ñʽ£º mysql -hÖ÷»úµØÖ· -uÓû§Ãû £­pÓû§ÃÜÂë 1¡¢Á¬½Óµ½±¾»úÉϵÄMYSQL¡£Ê×ÏÈ´ò¿ªDOS´°¿Ú£¬È»ºó½øÈëĿ¼mysql\bin£¬ÔÙ¼üÈëÃüÁîmysql -u root -p£¬»Ø³µºóÌáʾÄãÊäÃÜÂë.×¢ÒâÓû§ÃûÇ°¿ÉÒÔÓпոñ ......

¼ÇÒäÖеļÆËã»ú 11 (DELL Pentium IV ºÍ GNU/Linux)

À뿪Õâ¼Ò¹«Ë¾Ò²ÒѾ­ÎåÄê¶àÁË£¬ÔÙ֮ǰÓÐÒ»¸öÅóÓÑÀ뿪ʱ£¬ÎÒ»¹Ì¸µ½ÐÄÖеÄÓ²¼þÀíÏ룬ËûÖ»ÊÇ˵À뿪Ӳ¼þºÜ¶àÄêÖ®ºó¿ÖÅÂÒѾ­ÎÞ·¨»ØÈ¥ÁË£¬µ±Ê±ÎÒËäȻû˵ʲô£¬ÐÄÀﻹÊÇÓÐЩÎÞÄεġ£½ñÌ쵱дµ½ÏÖÔÚµÄʱºò£¬·¢ÏÖÓ²¼þÔÚÎҵŤ×÷ÖÐÒѾ­½¥½¥µ­»¯ÁË£¬ÊDz»ÊÇËüÕæµÄ²»ÖØÒªÁË£¿
ÓÚÊÇдϽñÌìµÄ±êÌâµÄʱºò£¬¾ö¶¨¼ÓÉÏGNU/Linux£¬ÒòΪËü³ÉΪÁ ......

linux api±Ê¼Ç£¨3£©£ºỊ̈߳¨Ò»£©

±¾ÎÄÖн«½²Êölinux»·¾³±à³ÌÖÐÏ̵߳ÄʹÓᣲ»Ëµ·Ï»°Ö±½ÓÉÏ´úÂ룺
#include <pthread.h>
#include <assert.h>
struct ThreadData
{
int i;
};
void * ThreadProc(void* arg)
{
ThreadData* data = static_cast<ThreadData*>(arg);
//do something

pthread_exit(data);
}
int main() ......

linux °²×°Kmplayer²¥·ÅÆ÷


°²×°Kmplayer²¥·ÅÆ÷
£¨×÷Õß/l4nneret£©ÎªÁËÄÜÔÚ Linux ÏÂÒ²Äܲ¥·Å¶àýÌåÎļþ£¬ÓÚÊÇ°²×°¾Ý³ÆºÜÇ¿º·µÄ Kmplayer ²¥·ÅÆ÷¡£¹ý³ÌÈçÏ£ºÔÚ http://www.mplayerhq.hu/MPlayer/ ÕâÀï¿´µ½ Kmplayer µÄÖ÷³ÌÐòÒѾ­¸üе½ÁË 1.0rc2 °æ¡£
ÏÂÔØÖ÷³ÌÐò£ºMPlayer-1.0rc2.tar.bz2
Á½¸ö½âÂë°ü£ºall-20071007.tar.bz2 ºÍ windows-all-2007 ......

linuxÖ®¼äһЩ²î±ð

redhatϵÁÐ(rhel,centos,fc) yum install package-name
debianϵÁÐ(debian,ubuntu)  apt-get install package-name
¶ÔÓÚ¿ª·¢°ü
redhat:  yum install python-devel
debian:  apt-get install python-dev
Ìí¼ÓÓû§
redhat:  useradd user-name
debian:  useradd -m user-name
debianϵÁÐÀï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ