Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this assumes you can already compile, aka have all the deps installed
- git clone https://github.com/nochowderforyou/clam
- cd clams
- ./autogen.sh
- ./configure
- make
- mv src/clamd ~/clamd-somenametotellapart
- cd ~
- mkdir .syncing/
- mkdir .synced/
- ** ideally you have a synced copy of clam here and can do this
- ** if you don't you'll need to get a bootstrap and sync a client first
- ./clamd stop ** if its running
- cp ~/.clam/* ~/.synced
- ** make sure to change the ports else you'll get port in use errors
- vi ~/.synced/clam.conf
- rpcuser=awef
- rpcpassword=awef
- port=36453
- rpcport=33623
- daemon=1
- server=1
- cp ~/.synced/clam.conf ~/.syncing/clam.conf
- vi ~/.syncing/clam.conf
- rpcuser=awef
- rpcpassword=awef
- port=36444
- rpcport=33647
- daemon=1
- server=1
- maxconnection=1
- ** datadir doesn't use ~ so you have to give it the full path and replace username with your username of cousre!
- ./clamd-somenametotellapart -datadir=/home/username/.synced -debug=net
- ./clamd-somenametotellapart -datadir=/home/username/.syncing -debug=net -connect=127.0.0.1:36453
- and that is it.
- You can watch the log files with tail ala
- tail ~/.syncing/debug.log
- tail ~/.synced/debug.log
- in two different consoles
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement