如果忘記mysql密碼的話,可用下列方法解決:
# killall mysqld
# mysqld -u root --skip-grant-tables &
myaql (進入mysql)
>use mysql
>UPDATE user SET password=password('new password') where user='root';
>FLUSH PRIVILEGES;
這樣就完成了!
作業系統:ubuntu 7.04 (not suitable for every os)
All hardware and software things including network, system, UI, maintaining tools and the information security field
7/23/2008
7/15/2008
how to Install lamp (less than 20 min)
1.只要到 系統-> 管理-> synaptic套件管理員-> 編輯->以任務配置標記套件
把 LAMP Server 打勾
就安裝完成了,真是夠簡單了!
把 LAMP Server 打勾
2.在 synaptic套件管理員 ,單獨把 phpmyadmin 打勾
就安裝完成了,真是夠簡單了!
7/13/2008
Install RoR on ubuntu
1. sudo apt-get install ruby irb ri rdoc ruby1.8-dev2.2
2. sudo apt-get install rails
3. sudo apt-get install rubygems
6. rails name_of_app
2. sudo apt-get install rails
3. sudo apt-get install rubygems
4.sudo gem update
5.sudo gem install rails
6. rails name_of_app
訂閱:
文章 (Atom)