CentOS

Photo of author

fahmialazhar

Cara Install Nginx untuk Multiple Website di Vultr dengan Centos 8

bridge

Beberapa hari yang lalu saya melakukan migrasi blog dari yang semula di shared hosting, saya pindahkan ke VPS di Vultr. Tulisan saya kali ini akan membahas mengenai cara install nginx untuk multiple website di Vultr. Untuk mengikuti tutorial ini, setidaknya kamu harus punya pengalaman menggunakan Linux ya. Jika belum, jangan khawatir karena dengan membaca tulisan … Read more

Allow Remote Access MySQL / MariaDB CentOS 7

After MySQL / MariaDB successfully installed, may be you want to give remote access to the server. Lets say the database server’s IP is 192.168.10.105, and you have web server at 192.168.10.100 so what you must to do is, open the terminal and: vi /etc/my.cnf.d/server.cnf uncomment #bind-address and fill it with your MySQL server’s IP bind-address=192.168.10.105 save … Read more

Manajemen Database dan User MySQL/MariaDB CentOS 7

Create User: create user ‘user’@’localhost’ identified by ‘password’; Create Database: create database monitoring; Assign user to database monitoring: grant all privileges on monitoring . * to ‘user’@’localhost’; monitoring adalah: nama databasenya, * berarti semua table nya Terakhir: flush privileges; Notes: GRANT [type of permission] ON [database name].[table name] TO ‘[username]’@’localhost’; REVOKE [type of permission] ON … Read more

Install MariaDB 10 di CentOS 7

Bikin file repo baru di /etc/yum.repos.d/, misal MariaDB.repo, isi: # MariaDB 10.1 CentOS repository list – created 2016-10-11 08:34 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 install: yum install MariaDB-server MariaDB-client referensi: https://downloads.mariadb.org/mariadb/repositories/ setelah install: systemctl start mariadb jalankan: mysql_secure_installation, ikuti langkah2 di terminal

Cara Setting Proxy di .bashrc CentOS 7

vi ~/.bashrc # Proxy Settings export ALL_PROXY=http://10.0.0.94:8080 # export ALL_PROXY=http://username:password@10.0.0.94:8080 #AUTH export HTTP_PROXY=$ALL_PROXY export HTTPS_PROXY=$ALL_PROXY export FTP_PROXY=$ALL_PROXY export RSYNC_PROXY=$ALL_PROXY export http_proxy=$ALL_PROXY export https_proxy=$ALL_PROXY export ftp_proxy=$ALL_PROXY export rsync_proxy=$ALL_PROXY export NO_PROXY=.fahmialazhar.com,.local,10.0.2. Reload .bashrc: source ~/.bashrc atau . ~/.bashrc

Cara Setting IP Static di CentOS 7

[root@localhost /]# cat /etc/sysconfig/network-scripts/ifcfg-ens32 TYPE=Ethernet NM_CONTROLLED=no BOOTPROTO=static DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no NAME=ens32 UUID=8ec37beb-1c78-405e-addd-c75f2f20c953 DEVICE=ens32 ONBOOT=yes IPADDR=10.0.2.79 PREFIX=24 GATEWAY=10.0.2.254 NETMASK=255.255.255.0 DNS1=8.8.8.8 IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_PRIVACY=no   Restart network: service network restart