centOS 6でドットインストールさんのローカル開発環境構築を参考に
サーバーを設定しました。
その上さらにphpmyadminを下記のページを参考に設定しようしましたが
何も表示されませんでした。
error当の表示さえもありませんでした。
centOSにphpmyadminを設定する最新の成功例を教えてください。
http://dotinstall.com/lessons/basic_localdev_mac
https://www.conoha.jp/conoben/archives/9304
--- - hosts: localhost become: yes vars: - ruby_version: 2.2.2 tasks: - name: yum update yum: name=* state=latest - name: disable iptables service: name=iptables state=stopped enabled=no - name: install libselinux-python yum: name=libselinux-python state=latest - name: remove localtime file: path=/etc/localtime state=absent - name: change timezone file: src=/usr/share/zoneinfo/Asia/Tokyo dest=/etc/localtime state=link force=yes mode=0644 - name: change locale lineinfile: >- dest=/etc/sysconfig/i18n state=present regexp=^LANG= line='LANG="ja_JP.UTF-8"' - name: install remi repository command: rpm -Uvh --force http://rpms.famillecollet.com/enterprise/remi-release-6.rpm - name: install man yum: name=man state=latest - name: install apache yum: name=httpd state=latest - name: start apache and enabled service: name=httpd state=started enabled=yes - name: change owner file: dest=/var/www/html owner=vagrant recurse=yes - name: install gd-last yum: name=gd-last enablerepo=remi state=latest - name: install php yum: name={{item}} enablerepo=remi-php56 state=present with_items: - php - php-common - php-pdo - php-cli - php-devel - php-mysqlnd - php-mbstring - php-gd - php-intl - php-xml notify: - restart apache - name: copy php.ini.custom copy: src=php.ini.custom dest=/etc/php.ini backup=yes notify: - restart apache - name: install mysql yum: name=mysql-server enablerepo=remi,epel state=present - name: copy my.cnf.custom copy: src=my.cnf.custom dest=/etc/my.cnf backup=yes - name: start mysql and enabled service: name=mysqld state=started enabled=yes - name: install ruby dependencies yum: name={{item}} enablerepo=remi,epel state=present with_items: - gcc - openssl-devel - rpm-build - gcc-c++ - bzip2 - libtool - zlib - zlib-devel - httpd-devel - openssl-devel - curl-devel - ncurses-devel - gdbm-devel - readline - readline-devel - sqlite-devel - libyaml-devel - libffi-devel - bison - name: check rbenv installed command: test -x /home/vagrant/.rbenv register: rbenv_present ignore_errors: yes become: no - name: git clone rbenv git: repo=https://github.com/sstephenson/rbenv.git dest=/home/vagrant/.rbenv when: rbenv_present.rc != 0 become: no - name: update bash_profile copy: src=bash_profile.custom dest=/home/vagrant/.bash_profile backup=yes become: no - name: check ruby-build installed command: test -x /home/vagrant/.rbenv/plugins/ruby-build register: rbuild_present ignore_errors: yes become: no - name: git clone ruby-build git: repo=https://github.com/sstephenson/ruby-build.git dest=/home/vagrant/.rbenv/plugins/ruby-build when: rbuild_present.rc != 0 become: no - name: update rbenv command: git pull --rebase chdir=/home/vagrant/.rbenv become: no - name: update ruby-build command: git pull --rebase chdir=/home/vagrant/.rbenv/plugins/ruby-build become: no - name: check ruby installed shell: /bin/bash -lc "rbenv versions | grep {{ruby_version}}" register: ruby_installed ignore_errors: yes become: no - name: install ruby shell: /bin/bash -lc "rbenv install {{ruby_version}} && rbenv rehash && rbenv global {{ruby_version}}" when: ruby_installed.rc != 0 become: no - name: check node js installed shell: /bin/bash -lc "node -v" register: node_installed ignore_errors: yes become: no - name: install node script shell: /bin/bash -lc "curl -sL https://rpm.nodesource.com/setup | bash -" when: node_installed.rc != 0 - name: install nodejs yum: name=nodejs state=latest when: node_installed.rc != 0 handlers: - name: restart apache service: name=httpd state=restarted
wget https://files.phpmyadmin.net/phpMyAdmin/4.6.4/phpMyAdmin-4.6.4-all-languages.zip unzip phpMyAdmin-4.6.4-all-languages.zip mv phpMyAdmin-4.6.4-all-languages /var/www/html/phpmyadmin chown -R apache /var/www/html/phpmyadmin sudo chown -R apache /var/www/html/phpmyadmin
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。