This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HOW TO GRAP AVC MODUL | |
grep -i 'avc' /var/log/audit/audit.log | audit2allow -M pxc | |
semodule -i modulename.pp | |
# HOW TO COMPAIL MANUAL | |
tahapan: | |
- kompail modul .te jadi .mod | |
- kemudian kompail .mod jadi .pp | |
- setelah itu jalan modul .pp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
todo : | |
1. Install Nginx | |
2. Install PHP71 | |
3. Config Nginx-PHP-FPM | |
4. Install Percona Server 57 | |
5. Setting Firewalld & SElinux | |
Catatan ini saya buat untuk membantu diri saya di masa depan, karena manusia tempatnya salah dan lupa. | |
Jika kamu menemukan catatan ini Selamat, kamu termasuk orang yang beruntung karena disini saya akan menjelaskan | |
bagaimana membuat atau meng-install LEMP Stack di Centos7 terbaru dengan standar config yang powerfull. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Todo: | |
- Config server nginx-fpm | |
- Create new server block for codeigniter | |
- Adjust codeigniter setting | |
- Config server nginx-fpm => Read previous Gist | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Orinally made by Lovell Fuller for sharp | |
# https://github.com/lovell/sharp | |
# | |
# Ensures libvips is installed and attempts to install it if not | |
# Currently supports: | |
# * Mac OS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
server_name batutah.id; | |
root /home/batutah.id/public_html/batutah.id; | |
error_log /var/log/nginx/batutah.id_error.log; | |
index index.php; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Install Imgproxy for Centos7"; | |
cd $HOME; | |
# Install and enable the EPEL RPM package on Amazon Linux 2 | |
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y; | |
# Install the Remi repository configuration package | |
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
virt-install \ | |
--name $1 \ | |
--ram 2048 \ | |
-v \ | |
--autostart \ | |
--virt-type kvm \ | |
--disk path=/var/lib/libvirt/images/$1.qcow2,size=40 \ | |
--vcpus 1 \ |