清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| "sync" | |
| ) | |
| func work(serverChan chan int, wg *sync.WaitGroup, server int, thing string) { | |
| defer wg.Done() |
/*
https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object-acl.html
https://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
https://github.com/awslabs/aws-go-wordfreq-sample/blob/master/cmd/uploads3/main.go
https://docs.aws.amazon.com/sdk-for-go/api/aws/
1. Create bucket in s3 & get the keys
- login to UI web aws s3 interfaceFind fd limit:
cat /proc/sys/fs/file-maxCheck limit:
ulimit -n| sudo apt-get install php7.0-dev | |
| wget http://xdebug.org/files/xdebug-2.4.0rc2.tgz | |
| tar -xzf xdebug-2.4.0rc2.tgz | |
| cd xdebug-2.4.0RC2/ | |
| phpize | |
| ./configure --enable-xdebug | |
| make | |
| sudo cp modules/xdebug.so /usr/lib/. | |
| #FOR FPM | |
| sudo echo 'zend_extension="/usr/lib/xdebug.so"' > /etc/php/7.0/fpm/conf.d/20-xdebug.ini |
| ### install php 7 ### | |
| sudo apt-get install php7.0 php7.0-fpm php7.0-mysql -y | |
| ### install laravel ### | |
| composer global require "laravel/installer" | |
| ### install requirements ### | |
| sudo apt install php-gd php-zip phpunit php-mbstring | |
| ### new project ### |