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

linux°²×°mysql

1¡¢°²×°°ü
ÏÂÔØÍøÖ·£ºhttp://dev.mysql.com/downloads/mysql/
mysql-5.1.38.tar.gz£¨°æ±¾£º5.1.38£©
2¡¢Ìí¼ÓmysqlÓû§ÓëȺ
groupadd mysql
useradd -g mysql -s /sbin/nologin mysql
3¡¢½âѹÓë±àÒë
tar zxvf mysql-5.1.38.tar.gz
cd mysql-5.1.38/
./configure --prefix=/usr/local/mysql/ --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=all
make && make install
chmod +w /usr/local/mysql
chown -R mysql:mysql /usr/local/mysql
4¡¢´´½¨MySQLÊý¾Ý¿â´æ·ÅĿ¼¡¢ÒÔmysqlÓû§ÕʺŵÄÉí·Ý½¨Á¢Êý¾Ý±í
mkdir -p /usr/local/mysql/data/
chown -R mysql:mysql /usr/local/mysql
/usr/local/mysql/bin/mysql_install_db --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql
5¡¢my.cnfÅäÖÃÎļþ£¨mysqlÏà¹ØÎĵµ¾ù·ÅÔÚ/usr/local/mysql/share/mysql/£©
cp /usr/local/mysql/share/mysql/my-medium.cnf  /etc/my.cnf
vi /etc/my.cnf
ÔÚ[client]ÏÂÃæÔö¼ÓÒ»ÐÐ:
[client]
default-character-set = utf8
ÔÚ[mysqld]ÏÂÃæÔö¼ÓÈýÐÐ:
[mysqld]
default-character-set = utf8
6¡¢´´½¨¹ÜÀíMySQLÊý¾Ý¿âµÄshell½Å±¾
cp /usr/local/mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysql
chown root:root /etc/rc.d/init.d/mysql
vi /etc/rc.d/init.d/mysql
# If you change base dir, you must also change datadir. These may get
# overwritten by settings in the MySQL configuration files.
basedir=/usr/local/mysql
datadir=/usr/local/mysql/data
7¡¢Æô¶¯MySQL
service mysql start
8¡¢ÐÞ¸Ä mysql µÄ root ÃÜÂ룺
/usr/local/mysql/bin/mysqladmin -u root password 'password'
9¡¢Í¨¹ýÃüÁîÐеǼ¹ÜÀíMySQL·þÎñÆ÷£¨ÌáʾÊäÈëÃÜÂë²¢»Ø³µ£©£º
/usr/local/mysql/bin/mysql -u root -p
10¡¢ÊäÈëÒÔÏÂSQLÓï¾ä£¬´´½¨Ò»¸öÏòÌض¨ip¿ª·ÅµÄÓû§ºÍÃÜÂë
GRANT ALL PRIVILEGES ON *.* TO 'root'@remote-ip IDENTIFIED BY 'password';
11¡¢²âÊÔnavicat:test connection
12¡¢ÐÞ¸ÄmysqlÖеÄuser±íroot@remote-ipµÄGrand-prvΪY
13¡¢ÖØÆômysql
service mysql restart


Ïà¹ØÎĵµ£º

ÔÚARM LinuxÉÏʹÓÃOpenGL

ÏÈÈ«¾Ö½éÉÜÏ£¬Ê×ÏÈ£¬Ê²Ã´ÊÇOpenGLºÍOpenGL|ES¡£OpenGLÊÇÒ»Ì×»æͼº¯ÊýµÄ±ê×¼£¬OpenGL|ESÊÇOpenGLÖÐÕë¶ÔǶÈëʽϵͳµÄÒ»Ì׺¯Êý×Ó¼¯¡£OpenGL|ESµÄ¹Ù·½ÊÇhttp://www.khronos.org/opengles/£¬ÉÏÃæÓиü¶àµÄÐÅÏ¢¡£ÐèҪעÒâµÄÊÇ£¬OpenGL½ö½öÊDZê×¼£¬¶øÈç¹ûÄãҪʹÓÃOpenGL£¬ÔòÐèÒªÕÒµ½¿ÉÒÔʵÏÖÕâЩOpenGL±ê×¼º¯ÊýµÄ³ÌÐò¿â»òÔ´´úÂë¡£Ä ......

linux ÏÂracµÄ°²×°

   LinuxÏÂracµÄ°²×°
1£¬»·¾³×¼±¸
 192.168.5.10  rac1
 192.168.5.100 prac1
 10.20.0.10 vrac1
 192.168.5.20 rac2
 192.168.5.200 prac2
 10.20.0.20 vrac2
2.Íø¿¨ÉèÖÃÇ°ÌáÊÇÁ½¿éÍø¿¨
 cd /etc/sysconfig/network-scripts
& ......

linux²é¿´ÏµÍ³ÐÅÏ¢


linuxÈçºÎϵͳÐÅÏ¢
Äõ½Ò»¸öϵͳ£¬¿Ï¶¨Òª¿´¿´ÏµÍ³ÅäÖã¬linuxÏ¿´ÅäÖ㬿ÉûÓÐwindowsÄÇôֱ¹Û¡£ÄãÖ»ÄÜÒ»¸öÒ»¸ö²é¿´¡£
Ò»£ºcpu
[root@srv /]# more /proc/cpuinfo | grep "model name"
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
model name  &n ......

Linux SCSI ×ÓϵͳÆÊÎö

Small Computer Systems Interface (SCSI)
ÊÇÒ»×é±ê×¼¼¯£¬Ëü¶¨ÒåÁËÓë´óÁ¿É豸£¨Ö÷ÒªÊÇÓë´æ´¢Ïà¹ØµÄÉ豸£©Í¨ÐÅËùÐèµÄ½Ó¿ÚºÍЭÒé¡£ Linux® ÌṩÁËÒ»ÖÖ SCSI ×Óϵͳ
£¬ÓÃÓÚÓëÕâЩÉ豸ͨÐÅ¡£Linux
ÊÇ·Ö²ã¼Ü¹¹µÄÒ»¸öºÜºÃµÄÀý×Ó£¬Ëü½«¸ß²ãµÄÇý¶¯
Æ÷£¨±ÈÈç´ÅÅÌÇý¶¯Æ÷»ò¹âÇý£©Á¬½Óµ½ÎïÀí½Ó¿Ú£¬±ÈÈç
Fibre Channel » ......

linux¹ØÓÚbashrcÓëprofileµÄÇø±ð


bashrcÓëprofileµÄÇø±ð
Òª¸ãÇåbashrcÓëprofileµÄÇø±ð£¬Ê×ÏÈҪŪÃ÷°×ʲôÊǽ»»¥Ê½shellºÍ·Ç½»»¥Ê½shell£¬Ê²Ã´ÊÇlogin shell ºÍnon-login shell¡£
½»»¥Ê½Ä£Ê½¾ÍÊÇshellµÈ´ýÄãµÄÊäÈ룬²¢ÇÒÖ´ÐÐÄãÌá½»µÄÃüÁî¡£ÕâÖÖģʽ±»³Æ×÷½»»¥Ê½ÊÇÒòΪshellÓëÓû§½øÐн»»¥¡£ÕâÖÖģʽҲÊÇ´ó¶àÊýÓû§·Ç³£ÊìϤµÄ£ºµÇ¼¡¢Ö´ÐÐһЩÃüÁǩÍË¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ