ror安装
fedora 14
1. 安装Ruby
yum install ruby ruby-libs ruby-devel ruby-rdoc ruby-mysql ruby-irb
2. 安装gems
yum install rubygems
3. 安装Rails
gem install rails --version 2.2.2 版本2.2.2
4.安装LAMP
apache
yum install httpd httpd-devel
etc/init.d/httpd start
mysql
yum install mysql mysql-server mysql-devel
/etc/init.d/mysqld start
设置密码
mysql> USE mysql;
mysql> UPDATE user SET Password=PASSWORD('newpassword') WHERE user='root';
mysql> FLUSH PRIVILEGES;
登陆
mysql -u root -p
Enter Password: <your new password>
创建一个用户管理数据库
mysql > create database demo
mysql >GRANT ALL PRIVILEGES ON demo.* TO 'guest'@'localhost' IDENTIFIED BY 'guest' WITH GRANT OPTION;
mysql> UPDATE user SET Password=PASSWORD('guest') WHERE user='guest';
安装php
yum install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml
etc/init.d/httpd restart
设置开机启动
chkconfig httpd on
chkconfig mysqld on
5.安装netbeans 6.9.1 java... 省略