Created
March 28, 2013 06:29
-
-
Save shinofara/5261121 to your computer and use it in GitHub Desktop.
AWS環境下で、mysql5.6系をインストールしたら、unicornが起動しなくなった ref: http://qiita.com/items/b93e7dd8283359882687
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum remove mysql* | |
### Mysql5.6系をyum install | |
```bash | |
sudo yum install http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-client-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-shared-compat-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-server-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-devel-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-shared-5.6.10-1.el6.x86_64.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mysql_install_db``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /etc/rc.d/init.d/mysql restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem pristine mysql2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unicorn_rails -c config/unicorn.conf -D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ps auxww | grep unicorn | |
ec2-user 20848 0.0 8.4 168952 51164 ? Sl 11:42 0:01 unicorn_rails master -c config/unicorn.conf -D | |
ec2-user 20851 0.0 13.4 827776 81840 ? Sl 11:42 0:01 unicorn_rails worker[0] -c config/unicorn.conf -D | |
ec2-user 20854 0.0 10.1 257516 61496 ? Sl 11:42 0:00 unicorn_rails worker[1] -c config/unicorn.conf -D | |
ec2-user 21387 0.0 0.0 6596 592 pts/0 S+ 15:25 0:00 grep unicorn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment