Fahmi's Blog

M Fahmi Al Azhar

Portofolio & Tutorial Cara Membuat Website dan Aplikasi
image

Manajemen Database dan User MySQL/MariaDB CentOS 7

Published 9 years ago in MySQL 1 min read
Create User: create user 'user'@'localhost' identified by 'password'; Create Database: create database monitoring; Assign user to database monitoring: grant all privileges ...
Read more →
image

Install MariaDB 10 di CentOS 7

Published 9 years ago in CentOS 1 min read
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/repositor...
Read more →
image

Install httpd CentOS 7

Published 9 years ago in CentOS 1 min read
update OS: yum update install httpd: yum install httpd start/stop httpd: systemctl start httpd enable at boot: systemctl enable httpd see status: systemctl status httpd
Read more →
image

Cara Mengatasi Service Host Local System yang Banyak Makan RAM

Published 9 years ago in Windows 1 min read
Buka CMD dengan Run As Administrator: ketik: sfc /scannow Tunggu sampe selesei, trus lanjutkan dengan: Dism /Online /Cleanup-Image /RestoreHealth Cek, harusnya sudah nggak ma...
Read more →
image

Setting Time Zone Yii2

Published 9 years ago in Yii2 1 min read
Bisa dilakukan dengan dua cara: edit file config/web.php, di bagian $config =[] tambahkan: 'timeZone' => 'Asia/Jakarta', atau pakai fungsi date_default_timezone_set('Asia/Jaka...
Read more →
image

Penggunaan Yii2 Migration

Published 9 years ago in Yii2 1 min read
Referensi: http://www.yiiframework.com/doc-2.0/guide-db-migrations.html Buka terminal, masuk ke root folder project: Ceritanya mau bikin table pegawai ketik: yii migrate/create...
Read more →
image

Enable Pretty URL Yii2

Published 9 years ago in Yii2 1 min read
Masuk ke config/web.php Uncomment: 'urlManager' => [ 'enablePrettyUrl' => true, 'showScriptName' => false, 'rules' => [ ], ], Bikin file .htaccess R...
Read more →
image

Cara Setting Proxy di .bashrc CentOS 7

Published 9 years ago in CentOS 1 min read
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_PROX...
Read more →
image

Cara Setting IP Static di CentOS 7

Published 9 years ago in CentOS 1 min read
[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...
Read more →