VPS攒机经历(4)

1添加ucenter
2添加uchome
3添加discuz
4添加ecshop
5添加wordpress
 
6添加ruby openssl支持
yum install openssl-devel
cd ruby/ext/
ruby ./extconf.rb
make && make install
 
7添加应用
heroku clone comparefriends
问题
7.1
No ssh public key found in /root/.ssh/id_[rd]sa.pub.  You may want to specify the full path to the keyfile.
解决
ssh-keygen -t rsa
 
8gem install rmagick
9安装应用
问题
9.1
/usr/local/ruby/lib/ruby/1.8/irb/completion.rb:10:in `require’: no such file to load — readline (LoadError)
解决
yum install readline-devel
cd ruby/ext/readline
ruby ./extconf.rb
make && make install
9.2
中文乱码
解决
mysql设置默认字符集
修改/etc/my.cnf
在[client]和[mysqld]中添加
default-character-set=utf8
 
 



Tags: discuz, install, linux, php, server, wordpress

无觅相关文章插件,快速提升流量