波多野结衣作品全集 Docker安设wikijs wiki系统
1. 拉取mysql8的镜像并运转docker pull mysqldocker run -d -v /data/mysql/data:/var/lib/mysql -v /data/mysql/conf:/etc/mysql/conf.d --name mysql -e TZ=Asia/Shanghai -e MYSQL_ROOT_PASSWORD=1234 -p 3306:3306 mysql:latest2. 投入mysql,创建并修改权限docker exec -it mysql bashmysql -uroot -puse mysql;create user 'wiki'@'localhost' identified by 'vegasd1234';create user 'wiki'@'%' identified by 'vegasd1234';create database `wiki`;grant all privileges on wiki.* to 'wiki'@'localhost';grant all privileges on wiki.* to 'wiki'@'%';flush privileges;select host,user,authentication_string,plugin from user;alter user 'wiki'@'%' identified with mysql_native_password by 'vegasd1234';3. 拉取wiki.js镜像并运转docker pull requarks/wikidocker run -d -p 82:3000 --name wiki --restart unless-stopped -e "DB_TYPE=mysql" -e "DB_HOST=10.1.0.105" -e "DB_PORT=3306" -e "DB_USER=wiki" -e "DB_PASS=vegasd1234" -e "DB_NAME=wiki" requarks/wiki:latest4. 大开浏览器,访谒http://10.1.0.105:82/ 进行开荒,即可。图片波多野结衣作品全集波多野结衣作品全集
调教母狗 本站仅提供存储劳动,所有试验均由用户发布,如发现存害或侵权试验,请点击举报。