 |
|
|
|
yum update
yum groupinstall 'Development tools'
yum install httpd
systemctl enable httpd.service
systemctl start httpd.service
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum -y install yum-plugin-priorities
yum check-update --enablerepo=remi-php56,remi
yum update php --enablerepo=remi-php56,remi
yum install --enablerepo=remi,remi-php56 php php-pdo php-mbstring php-common php-cli php-mysql php-devel php-pgsql
yum update --enablerepo=remi,remi-php56
yum install --enablerepo=remi,remi-php56
yum -y install ImageMagick
yum -y install ImageMagick-devel
yum -y install postgresql postgresql-server postgresql-libs
yum install --enablerepo=remi-php56 php-pear
yum list | grep imagick
yum install –disablerepo=* –enablerepo=remi-php56 php56-php-pecl-imagick.x86_64
yum install –disablerepo=* –enablerepo=remi-php56 php56-php-pecl-imagick-devel.x86_64
pecl install imagick
vi /etc/php.ini
extension=imagick.so #追記
systemctl restart httpd
postgresql起動
https://qiita.com/jinnai73/items/af58bdac6fca869933c7
su - postgres #確認
postgresql-setup initdb
systemctl enable postgresql.service
systemctl start postgresql.service
vi /var/lib/pgsql/data/postgresql.conf
下記変更
listen_addresses = '*'
port = 5432
データベース追加(EUC-JP)
psql -U postgres
postgres=# CREATE DATABASE animalnotesample WITH TEMPLATE=template0 ENCODING='EUC_JP' LC_COLLATE='C' LC_CTYPE='C';
CREATE DATABASE
yum -y install samba
samba用ユーザをkscatで設定
pdbedit -a kscat
vi /etc/samba/smb.conf
[src]
comment = source
path = /usr/local/src
writable = yes
[htdocs]
comment = httpd source
path = /var/www/html
writable = yes
systemctl start smb.service
参照サイト
https://dekiruengineer.com/engineer/install_mysql57_on_centos7/
tar xvf mysql-5.7.33-1.el7.x86_64.rpm-bundle.tar
rpm -qa |grep mariadb
yum remove -y mariadb-libs
yum localinstall mysql-community-*
systemctl start mysqld.service
systemctl status mysqld.service
grep 'temporary password' /var/log/mysqld.log
3frlCzUt2r,H
set password for root@localhost=password('A-QVPpTF7v8M');
yum install --enablerepo=remi,remi-php56 phpMyAdmi
エラー の箇所を見てみると、5系バージョンを要求しているのに対し、7系バージョンをインストールしようとしています。
あえて要求している7系 PHP のリポジトリを見てもらうようにリポジトリを指定します。
yum --enablerepo=remi-php72 install phpmyadmin
pear install
pear install DB-1.9.0
pear install Auth
pear install Image_QRCode-0.1.3
pear install XML_Parser
pear install MDB
Let’s Encryptをインストール
yum install epel-release
yum install certbot python-certbot-apache
|
|
|