$ rbenv install -v 2.6.5
configure: error: in `/tmp/ruby-build.202005191817.10626/ruby-2.6.5':
configure: error: no acceptable C compiler found in $PATH
$ sudo yum install gcc openssl-devel
$ sudo yum install -y gcc-6 bzip2 openssl-devel libyaml-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel
$ sudo yum erase ruby.noarch
$ sudo yum install gcc
$ cat /var/log/mysqld.log | grep password
A temporary password is generated for root@localhost: ************
$ mysql_secure_installation
Enter password for user root: ************
New password: ************
Re-enter new password: ***********
$ bundle install --path vendor/bundle
An error occurred while installing rmagick (3.0.0), and Bundler cannot continue.
Make sure that `gem install rmagick -v '3.0.0' --source 'https://rubygems.org/'`
$ sudo yum -y install ImageMagick
$ sudo yum -y install ImageMagick-devel
$ sudo yum install nginx
Plug-in chargé:extras_suggestions, langpacks, priorities, update-motd
Le package nginx n'est pas disponible.
Erreur:Ne fais rien
$ sudo amazon-linux-extras install nginx1.12
or
$ sudo yum install http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm -y
$ sudo yum install nginx -y
$ cd /var/lib
$ sudo chmod -R 775 nginx
Recommended Posts