# Group server **Repository Path**: moyiming1/Group-server ## Basic Information - **Project Name**: Group server - **Description**: No description available - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## django related ### nginx and uwsgi ## docker related commands ### docker container communication containers are communicated via bridge, and the name of the container is equivalent to the ip address of the container ### attach to a specific docker container ``` docker exec -it bash ``` ### stop and remove all containers ``` docker stop $(docker ps -a -q) docker rm $(docker ps -a -q) ``` ### remove all images ``` docker rmi -f $(docker images -q) ``` ### inspect an existing container ``` docker inspect ``` sudo service apache2 restart ## migrate wordpress site 1. copy the wordpress folder 2. go to phpmyadmin to export the database 3. change the website url in the wp-config.php to the new url 4. import the database into the new database 5. use the "Better Search Replace" to replace the remaining old url with the new url ## server related ### test server speed https://github.com/sivel/speedtest-cli