mirror of
https://github.com/3proxy/3proxy.git
synced 2026-05-13 13:57:26 +00:00
1
Compilation and Launch 3proxy on MacOS
Hertes edited this page 2018-05-21 23:04:29 +03:00
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/3proxymake -f Makefile.unixmkdir /Users/*USER_NAME*/3proxymkdir /Users/*USER_NAME*/3proxy/logsmkdir /Users/*USER_NAME*/3proxy/statcp src/3proxy /Users/*USER_NAME*/3proxytouch /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