AWD platform to build

AWD is because before the race pit, so I built it myself thinking about it. Such convenience may be the school and a college, two schools of people communicate with each other, and common progress.

Set up the premise:

ubuntu16.04 mirror, this is the best place inside the virtual machine is loaded. (Attached: Ubuntu source can be replaced by Ali cloud, so download speed will be faster, and here I was given someone else's blog, I was replaced by Ali cloud sources

https://blog.csdn.net/lym152898/article/details/79100507 

 

After a good start inside the virtual machine, and then load the docker container that can store our game time ctf environment. Start the game environment is very easy, the problem is the template, be careful pondering I do not catch anxious.

 

1. Install docker environment

Ubuntu there is no docker normal environment, so we need to download a docker environment. Because it is linux system, so the command line or download. But I do not demonstrate a direct release of someone else's blog it. If the blog fails, it can also Baidu under ubuntu system installation docker environment. 

 https://www.cnblogs.com/jiyang2008/p/9014960.html 

 

2. The next step is to clone projects

 

      sudo git clone https://github.com/zhl2008/awd-platform.git


3. Enter the project


     sudo cd awd-platform/


4. Download the image, wood mirror equals no good


      sudo docker pull zhl2008/web_14

5. To root user authority to enter into this directory, if you are root permission to do so would be a # instead of a $. Instruction to switch the user is a user su

 

6. boot image

 

# Python batch.py web_yunnan_simple 3 // Copy 3 web_yunnan_simple drone, the value can be changed
# python start.py ./ 3 // start docker drones and three check server, flag_server server. Value can be changed 

 

Because of the time it was built encounter many pit, then people may want to take these little pits. So do not insist on hydrology, write slowly, but always finished, for detailed record

Guess you like

Origin www.cnblogs.com/Triangle-security/p/11332223.html
AWD