インストールメモ:Snipe-IT
会社のほうでブログかきました。
# nginx yum install epel-release rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum --enablerepo=epel install nginx systemctl enable nginx systemctl start nginx #php,phpfpm yum --enablerepo=remi-php70 install php php-fpm php-mbstring php-pdo php-mysqlnd php-mcrypt php-gd php-zip php71には対応してない vi /etc/php-fpm.d/www.conf 24〜26行目らへん user = nginx group = nginx systemctl enable php-fpm systemctl start php-fpm # nginx config # mariadb yum install mariadb mariadb-server [root@snipe-it snipe-it]# rpm -qa | grep maria mariadb-5.5.52-1.el7.x86_64 mariadb-server-5.5.52-1.el7.x86_64 mariadb-libs-5.5.52-1.el7.x86_64 [root@snipe-it snipe-it]# systemctl enable mariadb.service systemctl start mariadb.service # MySQL 設定変更 /usr/bin/mysql_secure_installation パスワードとかanonymous無効とか # Step 2 Creating a Database and User mysql -u root -p create database snipeit; show databases; create user snipe_user; grant all on snipeit.* to 'snipe_user'@'localhost' identified by '*****'; # Step 3 Configure Snipe-IT for your environment cp -a cp .env.example .env vi .env # Step 4 Install package dependencies via composer