sudo -i
mysql_secure_installation
pass : test1234
faizal
mysql -u root -p
pass : zabbix1234
sebelum install zabbix install wget
apt-get install wget -y (HARUS SU HOME/FAIZAL)
apt install ./
HARUS SU
fftea
baru
mysql_secure_installation
root debian
pass : faizal
new passw
1234
mysql -u root -p
faizal
create user zabbix@localhost identified by 'faizal1234';
22 desember
enter current password for root
faizal
mariadb
faizal
faizal1234
apt - get install ufw (harus keluar root)
systemctl start ufw
systemctl status ufw
harus pake su-
bukan su biasa
COBA PAKE SU -
TUTOR SAYA
syntax
$ apt update && apt install apache2 php php-mysql php-mysqlnd php-ldap
php-bcmath php-mbstring php-gd php-pdo php-xml libapache2-mod-php
$ systemctl status apache2
$ apt update && apt install mariadb-server mariadb-client
$ systemctl status mariadb
$ mysql_secure_installation
$ mysql -u root -p
faizal
faizal
$ create database zabbix character set utf8 collate utf8_bin;
G
$ grant all privileges on zabbix.* to zabbix@localhost identified by
'<password>';
$ quit;
apt-get install wget -y
$ wget https://repo.zabbix.com/zabbix/5.0/debian/pool/main/z/zabbix-release/
zabbix-release_5.0-1+buster_all.deb
$ apt install ./zabbix-release_5.0-1+buster_all.deb
$ apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-agent
$ apt update && apt upgrade -y
$ zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz |
mysql -u zabbix -p zabbix
$ nano /etc/zabbix/zabbix_server.conf
$ DBHost=localhost
$ DBName=zabbix
$ DBUser=zabbix
$ DBPassword=<password> (YANG LU BUAT DI IDENTIFIED BY)
$ apt update && apt install -y zabbix-apache-conf
$ systemctl reload apache2
$ nano /etc/zabbix/apache.conf
$ php_value date.timezone <time_zone>
$ systemctl restart apache2
$ systemctl start zabbix-server zabbix-agent
$ systemctl enable zabbix-server zabbix-agent
$ systemctl status zabbix-server
$ systemctl status zabbix-agent
MASUK SU-
apt install ufw (harus keluar root)
systemctl start ufw
systemctl status ufw
harus pake su-
bukan su biasa
$ ufw allow 80/tcp
$ ufw allow 443/tcp
$ ufw reload
$ use zabbix
clone of source list udah baru sampe mysql -u root -p
ubuntu
Admin@123
sudo mysql -u root -p
create user zabbix@localhost identified by 'Admin@123'
faizal
faizal1234
zabbix_server
ZABBIX UBUNTU 20.0tutor
https://www.youtube.com/watch?v=ig8IleBDXwY&list=LL&index=3&t=333s&ab_channel=VianJuli
- sudo apt-get install isc-dhcp-server -y
- sudo apt install net-tools
super user gakbisa pasti
buat super user
https://www.youtube.com/watch?v=JmLucEh8U_8&list=LL&index=2&ab_channel=NoNonsense
"How to become a superuser in Ubuntu"
- sudo passwd root
- pass su = faizal1234
kalo mau remote
- apt install openssh-server
- buka putty
login linux :faizal (root)
faizal1234
wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4%2Bubuntu20.04_all.deb
sudo dpkg -i zabbix-release_6.0-4+ubuntu20.04_all.deb
sudo apt update
- apt get install wget -y kalo belom bisa
- wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
kalo dpkg pake terminal aja masuk su
- dpkg -i zabbix-release_5.0-1+focal_all.deb
- sudo apt update && sudo apt upgrade
- sudo apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent mysql-server
- liat version
- sudo mysql -V
- sudo php --version
- sudo apache2 -V
- sudo mysql_secure_installation
faizal1234
https://www.youtube.com/watch?v=W24FknWfF4U&list=LL&index=1&ab_channel=HappyGhost
pasti gakbisa
masuk ke sudo mysql
(langsung kesini)
alter user root@localhost identified with mysql_native_password by 'Admin@123';
flush privileges;
sudo mysql_secure_installation
MINTA PASS
- menghafus anonim user N
- Menghapsu database Y
- reload privilege tabel Y
- sudo mysql -u root -p
mysql>create database zabbix character set utf8 collate utf8_bin;
mysql>create user zabbix@localhost identified by 'Admin@123';
mysql>grant all privileges on zabbix.* to zabbix@localhost;
mysql>show GRANTS FOR'zabbix'@'localhost';
mysql>flush privileges;
mysql>quit;
- sudo zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -u zabbix -p zabbix
MINTA PASS Admin@123
- sudo nano /etc/zabbix/apache.conf
setting yg gak kepager Asia/Jakarta
- sudo systemctl restart zabbix-server zabbix-agent apache2
- sudo systemctl enable zabbix-server zabbix-agent apache2
buka zabbix pake ip lu
masukin pass Admin@123
- sudo nano /etc/zabbix/zabbix_server.conf
cek dbhost =localhost
dbname=zabbix
dbuser=zabbix
dbpassword=Admin@123
sud
username zabbix
Admin
zabbix
apt-get install snmp
snmpwalk -v2c -c monitoringtest 192.168.10.1
\\
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
POP H23
Radio Wireless ePMP 1000 Mode AP 10.69.207.72 --> Radio Wireless ePMP 1000 Mode Subcriber 10.69.203.75
Radio Wireless Bullet M5 Mode AP 10.69.207.85 --> Radio Wireless Bullet M5 Mode Station 10.69.75.41
POP ROBINSON
Radio Wireless Bullet M5 Mode AP 172.58.207.211 --> Radio Wireless Bullet M5 Mode Subcriber 172.58.75.117
1085924901
5951132410:AAHosnW2uae8YeosIdxQ4vUHzATH60nvApg
https://www.youtube.com/watch?v=DDRkb5XJmcA&list=PL4xjLQPCiKHO9YCQF-kOPZnlumNsOTmGZ&index=1&ab_channel=DjokoSupriyanto
https://www.youtube.com/watch?v=1PpgHd9jgec&ab_channel=AgungChannel
----------------- Install Zabbix 6.4 On Ubuntu Server/GUI 22.04.1 In Under 10 Minutes -----------------------------
- sudo wget https://repo.zabbix.com/zabbix/6.3/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.3-3%2Bubuntu22.04_all.deb
- sudo dpkg -i zabbix-release_6.3-3+ubuntu22.04_all.deb
- sudo apt update
- sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
4. Install sql server
sudo apt-get install mysql-server
sudo systemctl start mysql
Create initial database
sudo mysql
create database zabbix character set utf8mb4 collate utf8mb4_bin;
create user zabbix@localhost identified by 'password';
grant all privileges on zabbix.* to zabbix@localhost;
set global log_bin_trust_function_creators = 1;
quit;
--On Zabbix server host import initial schema and data. You will be prompted to enter your newly created password.
- sudo zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
Disable log_bin_trust_function_creators option after importing database schema
- sudo mysql
- set global log_bin_trust_function_creators = 0;
- quit;
Configure the database for Zabbix server
Edit file /etc/zabbix/zabbix_server.conf and set the DB password with ->
- sudo vim /etc/zabbix/zabbix_server.conf
- sudo nano /etc/zabbix/zabbix_server.conf
Start Zabbix server and agent processes
- systemctl restart zabbix-server zabbix-agent apache2
- systemctl restart zabbix-server zabbix-agent apache2
https://reasonableitservice.com/install-zabbix-6-4-on-ubuntu-server-22-04-1-in-under-10-minutes/
------sudah----
Komentar
Posting Komentar