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
Ïà¹ØÎĵµ£º
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Æô¶¯Ê±£¬µÚÒ»¸ö±ØÐë¹ÒÔصÄÊǸùÎļþϵͳ£»Èôϵͳ²»ÄÜ´ÓÖ¸¶¨É豸ÉϹÒÔظùÎļþϵͳ£¬Ôòϵͳ»á³ö´í¶øÍ˳öÆô¶¯¡£Ö®ºó¿ÉÒÔ×Ô¶¯»òÊÖ¶¯¹ÒÔØÆäËûµÄÎļþϵͳ¡£Òò´Ë£¬Ò»¸öϵͳÖпÉÒÔͬʱ´æÔÚ²»Í¬µÄÎļþϵͳ¡£²»Í¬µÄÎļþϵͳÀàÐÍÓв»Í¬µÄÌص㣬Òò¶ø¸ù¾Ý´æ´¢É豸µÄÓ²¼þÌØÐÔ¡¢ÏµÍ³ÐèÇóµÈÓв»Í¬ ......
1 ²é¿´µ±Ç°°²×°sambaûÓУ¬
ÃüÁrpm -qa | grep samba
ÓÐ3¸öÎļþÈ磺samba¡¢common¡¢clientÔò±íÃ÷³É¹¦°²×°ÁË
·ñÔò£ºÓÃÃüÁîrpm -ivh samba*.rpm°²×°sambaÈí¼þ°ü¡£
2 °²×°Íêºó¶àÊý¶¼±£´æÔÚ/etc/sambaĿ¼Ï£¬Ä¿Â¼ÏÂÓÐÒ»¸ösmb.confµÄÎļþ£¬
ËüÊÇsamba·þÎñµÄºËÐÄÎļþ£¬ËùÓÐÅäÖö¼ÔÚÕâÀïÐ޸ġ£
ÆäÖаüÀ¨smbdºÍnmbdÁ½¸ö³ ......
LinuxϵͳÔÚʹÓùâÅÌ¡¢ÈíÅÌ»òUÅÌʱ£¬±ØÐëÏÈÖ´ÐйÒÔØ£¨mount£©ÃüÁî¡£¹ÒÔØÃüÁî»á½«ÕâЩ´æ´¢½éÖÊÖ¸¶¨³ÉϵͳÖеÄij¸öĿ¼£¬ÒÔºóÖ±½Ó·ÃÎÊÏàӦĿ¼¼´¿É¶Áд´æ´¢½éÖÊÉϵÄÊý¾Ý¡£
¡¡¡¡
¡¡¡¡1.¹ÒÔعâÅÌ
¡¡¡¡
¡¡¡¡¹ÒÔعâÅ̵ÄÃüÁîÈçÏ£º
¡¡¡¡
¡¡¡¡# mount -t is09660 /dev/cdrom /mnt/cdrom
¡¡¡¡
¡¡¡¡¸ÃÃüÁ¹âÅ̹ÒÔص½/ ......