How to upload a picture url's content by form POST without local storage in Golang

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 16.04 LTS

# go version
go version go1.8.4 linux/amd64

How To Storage Session By Redis In Symfony2

Server Environment

1
2
3
4
5
6
7
8
9
10
11
12
$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

$ redis-server --version
Redis server v=3.0.6 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64

$ cat composer.json
"require": {
"php": ">=5.5.9",
"symfony/symfony": "2.8.*",
...
},

How to install EduSoho in Ubuntu

Server environment

1
2
$ cat /etc/issue
Ubuntu 14.04.5 LTS

Fail2ban Pass Mysql Remote Login through

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 14.04.5 LTS

$ fail2ban-server -V
Fail2Ban v0.8.11

Linux upload file to Baidu cloud disk

Server environment

1
2
3
4
5
6
7
8
$ cat /etc/issue
Ubuntu 16.04.2 LTS

$ pip -V
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)

$ php -v
PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )

Build Google Mirror By Nginx

Server Environment

1
2
3
4
$ cat /etc/issue
Ubuntu 14.04.4 LTS
$ nginx -v
nginx version: nginx/1.4.6 (Ubuntu)

How to Install docker-ce in Ubuntu17

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 17.10

$ docker -v
Docker version 17.09.0-ce, build afdb6d4

Composer Memory Limit

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 16.04.1 LTS

$ php -v
PHP 7.0.30-0ubuntu0.16.04.1 (cli) ( NTS )

Nginx + Keepalived, high available load balance

Server environment

1
2
3
4
5
6
7
8
$ cat /etc/issue
Ubuntu 14.04.5 LTS

$ nginx -v
nginx version: nginx/1.4.6 (Ubuntu)

$ apachectl -V
Server version: Apache/2.4.7 (Ubuntu)

Mysql5.7 MTS(multi-threaded slave)

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 14.04.5 LTS

$ mysqld -V
mysqld Ver 5.7.20 for Linux on x86_64 (MySQL Community Server (GPL))

How to Add Virtual Memory In Linux

Server environment

1
2
$ cat /etc/issue
Ubuntu 14.04.5 LTS

How Nginx Add Basic Auth

Server Environment

1
2
3
4
$ cat /etc/issue
Ubuntu 14.04.4 LTS
$ nginx -v
nginx version: nginx/1.10.3 (Ubuntu)

How to install ELK and Filebeat

ELK Server Environment

1
2
3
4
5
6
7
8
9
10
11
$ cat /etc/issue
Ubuntu 14.04.4 LTS
$ ifconfig eth0 | grep inet
inet addr:192.168.0.110
$ cat /proc/cpuinfo | grep processor
processor : 0
processor : 1
processor : 2
processor : 3
$ cat /proc/meminfo | grep MemTotal
MemTotal: 8125540 kB

Build new mysql slave without stop service or locked table by Xtrabackup

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 14.04.5 LTS

$ php -v
PHP 5.6.32-1+ubuntu14.04.1+deb.sury.org+2 (cli)

Mysql data optimization

Server environment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
$ cat /etc/issue
Ubuntu 14.04.5 LTS

$ free -h
total used free shared buffers cached
Mem: 7.8G 7.7G 132M 260K 276K 6.8M
-/+ buffers/cache: 7.7G 139M
Swap: 8.0G 2.3G 5.7G

$ mysqld -V
mysqld Ver 5.5.58-0ubuntu0.14.04.1 for debian-linux-gnu on x86_64 ((Ubuntu))

$ php -v
PHP 7.1.12
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×