Blame
Date:
Sun Dec 27 01:56:09 2020 UTC
Message:
Updated p5-Class-DBI-SQLite-0.11p2
01
2020-09-08
jrmu
USERNAME="botnow"
02
2020-09-08
jrmu
HOMEDIR="/home/botnow"
03
2020-09-08
jrmu
HTDOCS="/var/www/htdocs/botnow"
04
2020-09-08
jrmu
DATABASE="/var/www/botnow/"
05
2020-09-08
jrmu
ZONES="/var/nsd/zones/master/"
06
2020-09-16
jrmu
ZNCUSER="znc"
07
2020-09-16
jrmu
ZNCDIR="/home/znc/home/znc/"
08
2020-10-27
jrmu
HTTPDCONF="/etc/httpd.conf"
09
2020-10-27
jrmu
ACMECONF="/etc/acme-client.conf"
10
2020-09-08
jrmu
11
2020-10-26
jrmu
botnow: figlet php sqlite
12
2020-09-08
jrmu
useradd -m -g =uid -c ${USERNAME} -d ${HOMEDIR} -s /bin/ksh ${USERNAME}
13
2020-09-08
jrmu
mkdir ${DATABASE}
14
2020-09-08
jrmu
touch ${DATABASE}/www
15
2020-09-08
jrmu
chown -R www:${USERNAME} ${DATABASE}
16
2020-09-08
jrmu
chmod -R ug+rw ${DATABASE}
17
2020-09-08
jrmu
mkdir ${HTDOCS}
18
2020-09-08
jrmu
cp words ${HTDOCS}/
19
2020-09-08
jrmu
cp register.php ${HTDOCS}/
20
2020-09-08
jrmu
chown -R www:daemon ${HTDOCS}
21
2020-09-08
jrmu
usermod -G daemon ${USERNAME}
22
2020-10-27
jrmu
usermod -G wheel ${USERNAME}
23
2020-09-08
jrmu
chown -R _nsd:daemon ${ZONES}
24
2020-09-13
jrmu
chmod ug+rwx ${ZONES}
25
2020-09-21
jrmu
chmod ug+rw ${ZONES}/*
26
2020-10-27
jrmu
chmod g+rw ${HTTPDCONF} ${ACMECONF}
27
2020-09-21
jrmu
echo "permit nopass ${USERNAME} as _nsd cmd nsd-control" >> /etc/doas.conf
28
2020-09-08
jrmu
cp register.php ${HTDOCS}/
29
2020-11-17
jrmu
cp LICENSE README botnow.pl botnow.conf.example BNC.pm DNS.pm Mail.pm SQLite.pm Shell.pm table.sql Hash.pm Help.pm makefile networks register.php words shell ${HOMEDIR}/
30
2020-09-08
jrmu
chown -R ${USERNAME}:${USERNAME} ${HOMEDIR}
31
2020-09-08
jrmu
chmod u+x ${HOMEDIR}/botnow.pl
32
2020-09-16
jrmu
chown -R ${ZNCUSER}:daemon ${ZNCDIR}
33
2020-09-16
jrmu
chmod -R ug+r ${ZNCDIR}
34
2020-09-16
jrmu
find ${ZNCDIR} -type d -exec chmod ug+rx {} +
35
2020-09-08
jrmu
echo "Installation complete. To run botnow, type $ ./botnow.pl"
36
2020-09-08
jrmu
figlet:
37
2020-09-08
jrmu
pkg_add figlet-2.2.5
38
2020-09-08
jrmu
39
2020-09-08
jrmu
php:
40
2020-11-05
jrmu
pkg_add php-7.4.11
41
2020-09-08
jrmu
42
2020-09-16
jrmu
sqlite:
43
2020-09-21
jrmu
pkg_add p5-DBI
44
2020-09-16
jrmu
pkg_add p5-DBD-SQLite
45
2020-09-16
jrmu
pkg_add sqlite3
46
2020-12-27
jrmu
pkg_add p5-Class-DBI-SQLite-0.11p2