昨天,今天,明天,每天的每天,你是否都多懂得一点点...

星期一, 五月 25, 2009

ubuntu 下安装 mysql

呵,突然想写个专门偷看别人IP的网页,呵,用PHP写吧,然后总得把人家的IP记录下来,不然有啥用呀,所以还是得操作数据库呀,于是没办法,只好安装MYSQL了...随便找个教程,装吧...一装才发现MYSQL在UBUNTU中的版本还不小,120M...我看了看我WINDOWS中的MYSQL...才27兆...
feng@feng-desktop:~/soft/share$ sudo apt-get install mysql-server
[sudo] password for feng:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libqt4-opengl libqt4-assistant libqt4-test libqt4-dbus libqt4-core
  libqt4-gui libqt4-svg libqt4-xml libqt4-designer libqt4-script
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl
  libplrpc-perl mysql-client-5.0 mysql-common mysql-server-5.0
Suggested packages:
  dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca
Recommended packages:
  libhtml-template-perl mailx
The following NEW packages will be installed:
  libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl
  libplrpc-perl mysql-client-5.0 mysql-common mysql-server mysql-server-5.0
0 upgraded, 9 newly installed, 0 to remove and 331 not upgraded.
Need to get 38.2MB of archives.
After this operation, 112MB of additional disk space will be used.
Do you want to continue [Y/n]?




--
Feng

没有评论:

其它博客地址

此博客的同步博客地址: http://fengnz.wordpress.com
这里进入我的MSN SPACE.