본문 바로가기
★━Server OS〃/1. Linux

rpm 설치 및 삭제

by Raynee 2011. 8. 7.
반응형

ㅁ MySql 설치파일 확인하기

[root@fedora6-server mysql5.0]# ls
MySQL-client-5.0.67-0.i386.rpm  MySQL-server-5.0.67-0.i386.rpm


ㅁ MySql_Server RPM 설치하기

[root@fedora6-server mysql5.0]# rpm - i MySQL-server-5.0.67-0.i386.rpm
081007 17:14:33 [Warning] Asked for 196608 thread stack, but got 126976
081007 17:14:33 [Warning] Asked for 196608 thread stack, but got 126976
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h fedora6-server password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL.[  OK  ]
Thank you for installing the MySQL Community Server! For Production
systems, we recommend MySQL Enterprise, which contains enterprise-ready
software, intelligent advisory services, and full production support with
scheduled service packs and more.  Visit www.mysql.com/enterprise for more
information.


ㅁ MySql_Client RPM 설치하기

[root@fedora6-server mysql5.0]# rpm -i MySQL-client-5.0.67-0.i386.rpm


ㅁ MySql RPM 설치내역 확인하기

[root@fedora6-server mysql5.0]# rpm -qa | grep My
MySQL-server-5.0.67-0
MySQL-client-5.0.67-0

ㅁ MySql_Client RPM 삭제하기

[root@fedora6-server mysql5.0]# rpm -e MySQL-client-5.0.67-0
[root@fedora6-server mysql5.0]# rpm -qa | grep My          

MySQL-server-5.0.67-0
 
ㅁ MySql_Server RPM 삭제하기

[root@fedora6-server mysql5.0]# rpm -e MySQL-server-5.0.67-0
[root@fedora6-server mysql5.0]# rpm -qa | grep My     
     


 

반응형

댓글