Upload files to "/"

This commit is contained in:
dickyyyrf 2024-07-30 11:40:37 +07:00
commit 9e6a74165a
1 changed files with 34 additions and 0 deletions

34
Kode Program.txt Normal file
View File

@ -0,0 +1,34 @@
Kode Program
a. Install zone minder CCTV
1) sudo apt-get update
2) sudo apt-get upgrade -y
3) sudo apt install -y software-properties-common
4) sudo add-apt-repository ppa:iconnor/zoneminder-1.36
b. Konfigurasi CCTV dengan PC
1) sudo a2enmod rewrite
2) sudo a2enconf zoneminder
3) sudo systemctl restart apache2
4) sudo systemctl start zoneminder
5) sudo apt-get update
c. Install email dari Website Zone Minder
1) sudo apt-get update
2) sudo apt-get install ssmtp
3) sudo apt-get install mailutils
4) nano /etc/ssmtp/ssmtp.conf
hostname=dicky-H10
root=nextlawpower@gmail.com
mailhub=smtp.gamil.com:587
RewriteDomain=gmail.com
useSTARTTLS=YES
useTLS=YES
AuthUser=nextlawpower@gmail.com
AuthPass=solkcgcnaivpefda
5) nano /etc/ssmtp/revaliases
root:nextlawpower@gmail.com:smtp.gmail.com:587
www-data:nextlawpower@gmail.com:smtp.gmail.com:587
6) sudo tail -f /var/log/syslog