Up Down Interface Linux
Posted on August 18, 2022
sudo su
up
ip link set interface up
down
ip link set interface down
cek
ifconfig
ip a
Script Server Ubuntu Mediawiki Moodle
Posted on August 18, 2022
apt update -y ; apt upgrade -y apt install -y apache2 mysql-server php libapache2-mod-php php-mysql php-curl php-json php-cgi php-curl php-gd php-mbstring php-xml php-xmlrpc php-intl systemctl enable apache2 mariadb systemctl start apache2 mariadb mysql -u root CREATE DATABASE wiki; CREATE USER 'adminwiki'@'localhost' IDENTIFIED BY 'adminwiki'; GRANT ALL ON webdata.* TO 'adminwiki'@'localhost';...
[Read More]
Drop Mysql User
Posted on August 18, 2022
SELECT User, Host FROM mysql.user;
DROP USER 'username'@'host';
Static Ip Ubuntu
Posted on August 18, 2022
cek dulu gatewaynya
route
gas static ip
sudo su
vim /etc/netplan/00-installer-config.yaml
edit
# This is the network config written by 'subiquity'
network:
ethernets:
enp0s3:
dhcp4: false
addresses: [192.168.56.100/24]
gateway4: 192.168.56.0
nameservers:
addresses: [8.8.8.8,8.8.4.4]
version: 2
terapkan
netplan apply
cek
ifconfig
[Read More]
Tentang Capsman Mikrotik
Posted on August 13, 2022
CAPsMAN untuk memanage banyak AP secara terpusat karena umumnya untuk mengatur AP itu harus dikonfig manual di masing-masing AP. Nah dengan adanya CAPsMAN maka konfigurasi bisa dilakukan secara terpusat.
[Read More]