Compilation and Launch 3proxy on MacOS
Hertes edited this page May 21, 2018
·
1 revision
Instruction: compilation and launch 3proxy on MacOS:
- Download 3proxy-x.x.xx.tgz sources for Unix/Linux/Windows and documentation
- Unpack in Downloads ( /Users/USER_NAME/Downloads/3proxy )
- Open Application/Utilities/Terminal
cd /Users/*USER_NAME*/Downloads/3proxy
make -f Makefile.unix
mkdir /Users/*USER_NAME*/3proxy
mkdir /Users/*USER_NAME*/3proxy/logs
mkdir /Users/*USER_NAME*/3proxy/stat
cp src/3proxy /Users/*USER_NAME*/3proxy
touch /Users/*USER_NAME*/3proxy/3proxy.cfg
-
Next, configure the 3proxy.cfg ( /Users/USER_NAME/3proxy/3proxy.cfg )
For more information on configuring, you can
find file 3proxy.cfg.sample or
HowTo http://3proxy.ru/howtor.asp and FAQ http://3proxy.ru/faqr.asp -
After everything is set up, run with the command
/Users/*USER_NAME*/3proxy/3proxy /Users/*USER_NAME*/3proxy/3proxy.cfg
- After making sure that everything is working and configured properly,
add first line in 3proxy.cfg ( /Users/USER_NAME/3proxy/3proxy.cfg )
daemon
Optional. Script for autostart.
- In 3proxy programm folder ( /Users/USER_NAME/3proxy/ )
create a file in a text editor and save it with the name 3proxy.sh
file contents:
-
#!/bin/sh
/Users/*USER_NAME*/3proxy/3proxy /Users/*USER_NAME*/3proxy/3proxy.cfg
- Next in Terminal:
chmod 755 /Users/*USER_NAME*/3proxy/3proxy.sh
- Open: System Preferences - Users and Groups - Select the current user - Login Items
Click on the "+" and add file: /Users/USER_NAME/3proxy/3proxy.sh