-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
141 lines (83 loc) · 3.21 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
Linux installation using source RPM
==================================
1. To compile ss5, type:
rpmbuild --rebuild ss5-X.Y-mrZ.src.rpm
2. To install ss5, type:
rpm -ivh ss5-X.Y-mrZ.i386.rpm
3. To remove ss5, type:
rpm -e ss5-X.Y-mrZ.i386.rpm
Linux installation using tar.gz
==================================
1. cd to the directory containing the ss5 source code
and type:
./configure
2. To compile ss5, type:
make
3. To install ss5, type:
make install
4. To remove ss5, type:
make uninstall
To remove the program binaries and object files from the source code
directory, type:
make clean
To remove the files that configure created before recompiling or before
compiling ss5 for a different kind of computer, type:
make distclean
Solaris installation using tar.gz
=================================
1. cd to the directory containing the ss5 source code
and type:
./configure
2. To compile ss5, type:
make
3. To install ss5, type:
make install
4. Copy the content of doc/pam/examples/pam file into /etc/pam.conf
5. To remove ss5 from your system, type:
make uninstall
To remove the program binaries and object files from the source code
directory, type:
make clean
To remove the files that configure created before recompiling or before
compiling ss5 for a different kind of computer, type:
make distclean
Configuring package
===================
configure recognizes options that control the compilation process:
--with-debug
Turn on debugging flags
--with-gssapi
Turn on gssapi support
--with-configfile=FILE
Set the location of config file, i.e. /usr/local/etc/ss5.conf (default /etc/opt/ss5/ss5.conf)
--with-passwordfile=FILE
Set the location of password file, i.e. /usr/local/etc/ss5.passwd (default /etc/opt/ss5/ss5.passwd)
--with-logfile=FILE
Set the location of log file, i.e. /usr/local/log/ss5.log (default /var/log/ss5/ss5.log)
--with-profilepath=PATH
Set the location of profile path, i.e. /usr/local/etc (default /etc/opt/ss5)
--with-libpath=PATH
Set the location of ss5 modules, i.e. /usr/local/lib/ss5 (default /usr/lib/ss5)
--with-tracepath=PATH
Set the location of ss5 trace files, i.e. /usr/local/trc/ss5 (default /var/log/ss5)
--with-defaultaddr=ADDR
Set default bind address, i.e. 10.10.10.1 (default 0.0.0.0, all addresses)
--with-defaultport=PORT
Set default bind port, i.e. 8080 (default 1080)
--with-defaultuser=USERNAME
Set default user process, i.e. socksuser (default nobody)
Configuring installation
===================
configure recognizes options that control the installation process:
--with-confpathbase=PATH
Set install location of ss5 config files (default /etc/opt)
--with-binpathbase=PATH
Set install location of ss5 binary files (default /opt)
--with-docpathbase=PATH
Set install location of ss5 doc files (default /usr/share/doc)
--with-manpathbase=PATH
Set install location of ss5 man files (default /usr/share/man)
--with-tracepathbase=PATH
Set install location of ss5 trace files (default /var/log/ss5)
--with-logpathbase=PATH
Set install location of ss5 log file (default /var/log/ss5)