"https://registry.docker-cn.com",
"https://k6djaujw.mirror.aliyuncs.com"
sudo apt install git
sudo apt install docker-compose # if you install docker-desktop, it will be added too. not need to install independently.
edit docker-compose.dev.yml, it will be copied from docker-compose.dev.yml.sample at the first running. # these configure codes
# 第一次执行前先加权限:
chmod +x ./stop ./start ./restart ./remove ./go ./wingo ./upgrade ./docker-compose
chmod 777 -R .docker/php73-fpm/log .docker/php-fpm/log .docker/php81-fpm/log
./start
./restart
./stop
./remove
./upgrade
# mac&linux
./go [sshd|php73|php7.3|php74|php7.4|php81|php8.1|nginx|mysql57|mysql5.7|mysql80|mysql8.0|mariadb|redis|ubuntu]
# windows
./wingo [sshd|php73|php7.3|php74|php7.4|php81|php8.1|nginx|mysql57|mysql5.7|mysql80|mysql8.0|mariadb|redis|ubuntu]
# sshd configure, for phpStorm auto deployment when developing
ssh -p 2222 [email protected] ##passwd:qwer
cd /data/www
# tools in sshd container :
su root
# password is : admin
git --version
#git version 2.34.2
composer -v
#Composer version 2.3.5
node -v
#v16.14.2
npm -v
#8.1.3
cnpm -v
#[email protected] (/usr/local/lib/node_modules/cnpm/lib/parse_argv.js)
apidoc -v
#apidoc version: 0.51.1
ifconfig -a
# net-tools
ipaddr
# net-tools
mysql -h mysql -u fusc -p
# mysql-client
redis-cli -h redis
# redis-cli, redis pwd is redis
drill baidu.com
# drill
http://php.demo/php73.php
http://php.demo/php74.php
http://php.demo/php81.php
http://localhost:8899/ #root user : root ; password : fusc
#visit mysql8.0, sever name : mysql
#visit mysql5.7, sever name : mysql57
http://localhost:9100/ # check ES data
in windows, need to go container(./wingo ubuntu) and sudo chmod 755 /home/www-data/.ssh and sudo chmod 644 /home/www-data/.ssh/authorized_keys and sudo chown -R www-data:www-data authorized_keys at the first time.
ssh-copy-id -i ~/.ssh/id_rsa -p 3333 [email protected] # ubuntu container
http://192.168.236.170:15672/
fusc/fusc