Skip to content

Instantly share code, notes, and snippets.

amanu alatibi amanualt

Block or report user

Report or block amanualt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

#Install nginx pagespeed naxsi add-apt-repository ppa:nginx/stable

hilangkan semua tanda pagar di depan

vim /etc/apt/sources.list.d/nginx-ubuntu-stable-xenial.list
apt-get update
cd /tmp
apt install dpkg-dev
apt build-dep nginx-extras nginx-common
apt-get source nginx-extras
#install nginx
apt install -y dpkg-dev build-essential \
zlib1g-dev \
libpcre3 \
libpcre3-dev \
unzip \
python-software-properties \
software-properties-common \
libpcre3 \
1. Stop mysql:
systemctl stop mysqld
2. Set the mySQL environment option
systemctl set-environment MYSQLD_OPTS="--skip-grant-tables"
3. Start mysql usig the options you just set
systemctl start mysqld
4. Login as root
#put this file to ~/.ncmpcpp/
MUSIC_DIR=/home/user/Music/ #path to your music dir
function reset_background

Tugas kolaborasi github

Buatlah kelompok maksimal 3 orang per kelompok

nama repository teori-tcc10

masing" tugas:

  • 2 kolaborator
  • 1 upstream

rincian tugas

  • 2 kolaborator clon github milik upstream secara bersamaan
amanualt /
Last active Oct 10, 2019
splunk centos7 firewalld

Install Splunk

Create a Splunk User

  • I created a user to run this application and created an application folder for the installation
# groupadd splunk
# useradd -d /opt/splunk -m -g splunk splunk
# su - splunk
amanualt /
Last active Oct 23, 2019
Elasticsearch, Logstash, Kibana, Centos 7, Firewalld

Install ELK(Elasticsearch, Logstatsh, and Kibana) on Centos 7

Install java 1.8

  • download and install java
cd /opt
wget --no-cookies --no-check-certificate --header "Cookie:; oraclelicense=accept-securebackup-cookie" ""
rpm -Uvh jre-8u102-linux-x64.rpm
amanualt /
Last active Nov 8, 2017 — forked from yyang/
centos 7 pptpd firewalld
# pptpd installation script on my own CentOS 7 box.
# inspired by:
# and
# Author: 2015 Steve Yang <>
# The script comes with ABSOLUTELY NO WARRANTY.
amanualt / Vagrantfile
Created Jul 20, 2017
install centos on vagrant
View Vagrantfile
Vagrant.configure(2) do |config| = "centos/7"
#config.vm.provision :shell, :path => ""
config.vm.define "lab1" do |m| = "centos/7" "private_network", ip: ""
m.vm.provision "shell", inline: "hostnamectl set-hostname lab1"
m.vm.provision "shell", inline: "cd /vagrant;sudo make repo;sudo yum install -y ntpdate ntp;sudo systemctl enable ntpd;sudo ntpdate;sudo service ntpd start"
m.vm.provision :shell, :inline => "sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/Asia/Jakarta /etc/localtime", run: "always"
You can’t perform that action at this time.