HAproxy 基础5

2022-01-19 11:00:21 浏览数 (1)

安装
代码语言:javascript复制
[root@h102 haproxy-1.6.3]# make install PREFIX=/usr/local/haproxy
install -d "/usr/local/haproxy/sbin"
install haproxy  "/usr/local/haproxy/sbin"
install -d "/usr/local/haproxy/share/man"/man1
install -m 644 doc/haproxy.1 "/usr/local/haproxy/share/man"/man1
install -d "/usr/local/haproxy/doc/haproxy"
for x in architecture close-options configuration cookie-options intro linux-syn-cookies lua management network-namespaces proxy-protocol; do 
		install -m 644 doc/$x.txt "/usr/local/haproxy/doc/haproxy" ; 
	done
[root@h102 haproxy-1.6.3]# echo $?
0
[root@h102 haproxy-1.6.3]# ll /usr/local/haproxy/
total 12
drwxr-xr-x 3 root root 4096 Feb 19 17:03 doc
drwxr-xr-x 2 root root 4096 Feb 19 17:03 sbin
drwxr-xr-x 3 root root 4096 Feb 19 17:03 share
[root@h102 haproxy-1.6.3]# tree /usr/local/haproxy/
/usr/local/haproxy/
├── doc
│   └── haproxy
│       ├── architecture.txt
│       ├── close-options.txt
│       ├── configuration.txt
│       ├── cookie-options.txt
│       ├── intro.txt
│       ├── linux-syn-cookies.txt
│       ├── lua.txt
│       ├── management.txt
│       ├── network-namespaces.txt
│       └── proxy-protocol.txt
├── sbin
│   └── haproxy
└── share
    └── man
        └── man1
            └── haproxy.1

6 directories, 12 files
[root@h102 haproxy-1.6.3]# 

0 人点赞