linux ϵͳԴÂë°²×° mysql ¡¢fedora10 mysql5
²Ù×÷ϵͳ Fedora 10
mysql°²×°°ü mysql-5.0.85.tar.gz
1¡¢´´½¨mysqlÓû§×éºÍÓû§Ãû
# groupadd mysqlGroup
£¨´´½¨×飩
# useradd -g mysqlGroup mysqlUser
£¨´´½¨Ò»ÕʺÅ)
2¡¢½âѹ°²×°°ü £¬µ±Ç°Ä¿Â¼Îª /home/hust/down/mysql/
# tar -xvzf mysql-5.0.85.tar.gz
½âѹºóĿ¼Ϊ£º/home/hust/down/mysql/
mysql-5.0.85
×¢Òâ°²×°Îĵµ /home/hust/down/mysql/
mysql-5.0.85/INSTALL-SOURCE
3¡¢½¨Á¢mysql°²×°Ä¿Â¼£¬½«mysql °²×°µ½ /usr/local/mysql5 ÏÂ
# cd /usr/local
#ls
Èç¹ûûÓÐmysql5Ŀ¼£¬½¨Á¢mysql5Ŀ¼
# mkdir mysql5
·ñÔòÖØÐ½¨Á¢Ò»¸öÐÂĿ¼À´°²×°mysql
4¡¢¼ÙÉ轨Á¢ºÃÁËĿ¼ /usr/local/mysql5
תµ½ °²×°ÎļþĿ¼
# cd /home/hust/down/mysql/
mysql-5.0.85
# ./confiure --prefix=/usr/local/mysql5 \
£¨ÅäÖð²×°Â·¾¶£©
> --with-mysqld-user=mysqlUser
(ÅäÖÃmysqlÓû§)
#make
(±àÒë)
#make install
£¨°²×°£©
5¡¢½¨Á¢ÅäÖÃÎļþ
# cp /home/hust/down/mysql/mysql-5.0.85/support-files/my-medium.cnf /etc/my.cnf
ÅäÖÃȨÏÞ
# cd /usr/local/mysq5/
# chown -R mysqlUser .
(mysqlUser Óû§È¨ÏÞ)
# chgrp -R mysql .
(mysql×éȨÏÞ)
#bin/mysql_install_db --user=mysqlUser
(ΪÊý¾Ý¿âÉèÖÃmysqUserÓû§)
# chown -R root .
# chown -R mysql var
# bin/mysqld_safe --user=mysqlUser &
(ÒÔ mysqlUser Óû§ Æô¶¯mysql)
6¡¢ÅäÖÃmysql ϵͳ·þÎñ£¨¿ª»ú×Ô¶¯Æô¶¯mysql·þÎñ£¬ÔÚÕýʽ´î½¨·þÎñÆ÷±ØÐëÓõ½£©
# cp /home/hust/down/mysql/mysql-5.0.85/support-files/mysql.server &n
Ïà¹ØÎĵµ£º
¼¶±ð£º ³õ¼¶
Ñî ¾ (cdlyangj@cn.ibm.com), Èí¼þ¹¤³Ìʦ, IBM
2008 Äê 11 ÔÂ 27 ÈÕ
ÈçºÎ¶¨Î»Ó¦ÓóÌÐò¿ª·¢ÖеÄÄÚ´æÎÊÌ⣬һֱÊÇ inux Ó¦ÓóÌÐò¿ª·¢ÖÐµÄÆ¿¾±ËùÔÚ¡£ÓÐÒ»¿î·Ç³£ÓÅÐãµÄ linux Ï¿ªÔ´µÄÄÚ´æÎÊÌâ¼ì²â¹¤¾ß£ºvalgrind£¬Äܹ»¼«´óµÄ°ïÖúÄã½â¾öÉÏÊöÎÊÌâ¡£ÕÆÎÕ valgrind µÄʹÓÃÒÔ¼°¹ ......
½ñÌìfedora¹ÒÁË£¬ÎªÁ˱¸·ÝÊý¾ÝÓÃubuntuµÄlivecdÀ´½øÐÐÊý¾Ý±¸·Ý£¬´ÓÍøÉÏ¿´µ½ÁËһƪÌû×Ó£¬
http://www.linux-sxs.org/storage/fedora2ubuntu.html
½â¾öÁËÎÊÌâ
ÄÚÈÝÈçÏ£º
Boot Ubuntu.
Install lvm2:
$ sudo apt-get install lvm2
Load the necessary module(s):
$ sudo modprobe dm-mod
Scan your system for LVM v ......
Oracle Database 10g Release 2 (10.2.0.1) Installation On Red Hat Enterprise Linux 5 (RHEL5)
Ò»°²×°ÐèÇó
1.swap ·ÖÇø²»µÍÓÚ2G
2.selinux ״̬disable
3.ÎïÀíÄÚ´æ²»µÍÓÚ512M
ϵͳ×é¼þ
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Development Libraries
Development Tools
......
Linuxϸ߲¢·¢µÄSquid·þÎñÆ÷£¬TCP TIME_WAITÌ×½Ó×ÖÊýÁ¿¾³£´ïµ½Á½¡¢ÈýÍò£¬·þÎñÆ÷ºÜÈÝÒ×±»ÍÏËÀ¡£Í¨¹ýÐÞ¸ÄLinuxÄں˲ÎÊý£¬¿ÉÒÔ¼õÉÙSquid·þÎñÆ÷µÄTIME_WAITÌ×½Ó×ÖÊýÁ¿¡£
¡¡¡¡
vi /etc/sysctl.conf
¡¡¡¡Ôö¼ÓÒÔϼ¸ÐУº
ÒýÓÃ
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.tcp_syncookie ......