Fix: add player until 20 for maestro test

This commit is contained in:
2018-09-04 16:02:13 +09:00
parent e9da9b9bba
commit ae16c020ee
3 changed files with 72 additions and 28 deletions
+65 -24
View File
@@ -18,9 +18,12 @@ PermitRootLogin no
#1 Apache, mariadb, php7.1 설치
https://www.dazzii.com/centos7-apache-mariadb-php-webserver/
https://www.if-not-true-then-false.com/2010/install-apache-php-on-fedora-centos-red-hat-rhel/
# MariaDB 설치 확인
https://www.dazzii.com/centos7-apache-mariadb-php-webserver/
systemctl start mysql
mysql --version
@@ -47,12 +50,31 @@ default-character-set = utf8
# php용 remi repository 추가만
https://blog.asamaru.net/2018/02/14/install-php-7-2-on-centos-with-remi-rpm-repository/
# php 설치후 /etc/httpd/conf/httpd.conf 수정
LoadModule php7_module modules/libphp7.so
DirectoryIndex index.html index.html.var index.php index.php3
AddType application/x-httpd-php .php .html .htm .inc
AddType application/x-httpd-php-source .phps
# phpMyAdmin 설치
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum --enablerepo=remi,remi-test install -y phpMyAdmin
cp -a /etc/httpd/conf.d/phpMyAdmin.conf /etc/httpd/conf.d/phpMyAdmin.conf.original
sed -i '15,17s/Require local/Require all granted/' /etc/httpd/conf.d/phpMyAdmin.conf
systemctl restart httpd
http://luckyyowu.tistory.com/287
yum install -y phpMyAdmin
vi /etc/httpd/conf.d/phpMyAdmin.conf
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
Order Allow,Deny
Allow from All
</Directory>
vi /etc/httpd/conf/httpd.conf
<Directory />
AllowOverride none
Require all granted
</Directory>
@@ -80,24 +102,6 @@ https://blog.asamaru.net/2018/02/14/install-php-7-2-on-centos-with-remi-rpm-repo
# phpinfo.php
<?php phpinfo(); ?>
# phpMyAdmin 설치
http://luckyyowu.tistory.com/287
yum install -y phpMyAdmin
vi /etc/httpd/conf.d/phpMyAdmin.conf
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
Order Allow,Deny
Allow from All
</Directory>
vi /etc/httpd/conf/httpd.conf
<Directory />
AllowOverride none
Require all granted
</Directory>
#2 php 설치 확인
@@ -111,6 +115,43 @@ http://ellordnet.tistory.com/166
git 설치
yum install git
git 세팅
adduser git
passwd git
mkdir /git_repository
chown git:git /git_repository
mkdir /git_repository/mouse_typing.git
chown git:git /git_repository/mouse_typing.git
vi /git_reposotory/mouse_typing.git/hooks/post-receive
#!/bin/sh
# GIT_WORK_TREE=/var/www/html/mouse_typing git checkout -f
while read oldrev newrev ref
do
branch=`echo $ref | cut -d/ -f3`
if [ "master" == "$branch" ]; then
echo 'Changes pushed live.'
fi
if [ "release" == "$branch" ]; then
git --work-tree=/var/www/html/mouse_typing/ checkout -f $branch
echo 'Changes pushed to dev.'
fi
done
(root) mkdir /var/www/html/mouse_typing
(root) chown git:git /var/www/html/mouse_typing
----