linux:database-spammer-dengan-rbldns
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:database-spammer-dengan-rbldns [2022/09/15 20:42] – created kbadmin | linux:database-spammer-dengan-rbldns [2022/09/15 20:57] (current) – kbadmin | ||
---|---|---|---|
Line 74: | Line 74: | ||
rbl.serveranda.net. NS ns1rbl.serveranda.net | rbl.serveranda.net. NS ns1rbl.serveranda.net | ||
rbl.serveranda.net. NS ns2rbl.serveranda.net | rbl.serveranda.net. NS ns2rbl.serveranda.net | ||
+ | </ | ||
+ | |||
+ | Membuat restart script | ||
+ | < | ||
+ | nano / | ||
+ | </ | ||
+ | isi dengan | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | # | ||
+ | # chkconfig: 2345 85 15 | ||
+ | # description: | ||
+ | # processname: | ||
+ | # pidfile: / | ||
+ | # source function library | ||
+ | . / | ||
+ | |||
+ | prog=" | ||
+ | lockfile=/ | ||
+ | PID_FILE=/ | ||
+ | [ -e / | ||
+ | RETVAL=0 | ||
+ | start() { | ||
+ | echo -n $" | ||
+ | daemon / | ||
+ | RETVAL=$? | ||
+ | echo | ||
+ | [ $RETVAL -eq 0 ] && touch / | ||
+ | } | ||
+ | stop() { | ||
+ | echo -n $" | ||
+ | killproc rbldnsd | ||
+ | RETVAL=$? | ||
+ | echo | ||
+ | [ $RETVAL -eq 0 ] && rm -f / | ||
+ | } | ||
+ | case " | ||
+ | start) | ||
+ | start | ||
+ | ;; | ||
+ | stop) | ||
+ | stop | ||
+ | ;; | ||
+ | restart|reload) | ||
+ | stop | ||
+ | start | ||
+ | RETVAL=$? | ||
+ | ;; | ||
+ | condrestart) | ||
+ | if [ -f / | ||
+ | stop | ||
+ | start | ||
+ | RETVAL=$? | ||
+ | fi | ||
+ | ;; | ||
+ | status) | ||
+ | status -p $PID_FILE rbldnsd | ||
+ | RETVAL=$? | ||
+ | if [ $RETVAL -eq 3 -a -f $lockfile ] ; then | ||
+ | RETVAL=2 | ||
+ | fi | ||
+ | ;; | ||
+ | *) | ||
+ | echo $" | ||
+ | exit 1 | ||
+ | esac | ||
+ | exit $RETVAL | ||
+ | </ | ||
+ | |||
+ | kemudian buat autostart setiap boot | ||
+ | < | ||
+ | chkconfig rbldnsd on | ||
+ | </ | ||
+ | jalankan | ||
+ | < | ||
+ | service rbldnsd start | ||
</ | </ | ||
Line 79: | Line 155: | ||
Referensi | Referensi | ||
+ | - https:// | ||
- https:// | - https:// | ||
- https:// | - https:// | ||
- https:// | - https:// | ||
+ | |||
+ | <nspages linux -h1 -exclude: |
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |linux/database-spammer-dengan-rbldns.1663288938.txt.gz · Last modified: 2022/09/15 20:42 by kbadmin