wget -O composer https://getcomposer.org/download/1.7.2/composer.phar
chmod +x composer
mv composer /usr/bin/
git clone https://github.com/jitamin/jitamin.git jitamin
mv -f jitamin/* /var/www/html/
mv -f jitamin/.* /var/www/html/
cd /var/www/html
cp .env.example .env
APP_NAME=Jitamin
APP_ENV=production
APP_DEBUG=true
APP_KEY=SomeRandomString
APP_TIMEZONE=Asia/Shanghai
APP_LOCALE=zh-CN
APP_THEME=black
APP_LOG=daily
APP_LOG_LEVEL=error
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=jitamin
DB_USERNAME=root
DB_PASSWORD=123456
composer install -o --no-dev
chown -R apache.apache /var/www/html
mysql -uroot -p123456 -e 'create database jitamin;'
vendor/bin/phinx migrate
vendor/bin/phinx seed:run
a. 输入:172.20.10.11/public
b. 用户名:admin
c. 密码:admin
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。