I hereby claim:
- I am linuxmalaysia on github.
- I am linuxmalaysia (https://keybase.io/linuxmalaysia) on keybase.
- I have a public key whose fingerprint is D10A 7BC3 6E37 4688 3025 F23A E674 713A 5CA7 60C8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
** At this point, this document is mostly just notes while I repeat the process a few times and make refinements.
From http://getlevelten.com/blog/randall-knutson/create-high-performance-drupal-server-just-30-month
apt-get update
apt-get upgrade
apt-get install emacs vim git-core git-doc rsync unzip patch curl make drush
apt-get install nginx php5-cli php5-mysql php5-fpm php5-cgi php5-gd php5-dev php-pear libpcre3-dev
service nginx start
Config Untuk Listbot | |
Contoh diambil dari | |
https://github.com/dtag-dev-sec/listbot | |
1) Git clone masukkan dalam /etc/logstash |
#!/bin/sh | |
# origin https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a | |
# logstash yaml "www.google.com": "known search engine" | |
# Choose from here https://github.com/StevenBlack/hosts | |
#HOSTS_RAW=https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
##### https://raw.githubusercontent.com/StevenBlack/hosts/master/data/malwaredomainlist.com/hosts | |
### first must using > and others using >> for pipe | |
##### first file |
### Terima Kasih Kepada Amir Haris Ahmad, Localhost Sdn Bhd | |
### kerana izinkan saya gunakan servers ujian mereka di Digital Ocean | |
### dan team beliau dengan berkongsi pengalaman dan pandangan mereka. | |
### | |
### Untuk saya menguji bruteforce attack log kepada syslog dengan fail2ban | |
### | |
### Server telah dipasang dengan fail2ban dan SSH dibuka dengan port 22. | |
### SSH tidak membenarkan module password dan hanya digital cert. | |
### | |
### Filebeat telah digunakan untuk mengumpulkan log. |
Filebeat For Iptables Centos 7 And Iptables using UFW For Ubuntu 18.04 | |
1) Enable firewalld log | |
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/configuring_logging_for_denied_packets | |
firewall-cmd --get-log-denied | |
off | |
firewall-cmd --set-log-denied=all |
Demo use case: integrating a COVID-19 tracker API with the Elastic Stack plus story telling with Kibana | |
https://medium.com/@quoeamaster/use-case-integrating-a-covid-19-tracker-api-with-the-elastic-stack-plus-story-telling-with-kibana-8805cb67678 | |
Create the pipeline in the Elasticsearch before start the filebeat. | |
=== Update for filebeat | |
filebeat.inputs: | |
- type: log |
Installing And Setup Streamsets Using Podman For Centos 8
StreamSets Data Collector is open source software for building dataflows quickly and easily, spanning on-premises, multi-cloud and edge infrastructure.
It has an advanced and easy to use User Interface that allows data scientists, developers and data infrastructure teams easily create data pipelines in a fraction of the time typically required to create complex ingest scenarios.
To learn more, check out https://github.com/streamsets/datacollector
MySQL Directory Move Into New Partition (Example /home)
Login as root or any user that NOT using /home stop mariadb service such as systemctl stop MariaDB
Make sure SELINUX is permissive mode. View file /etc/selinux/config
To backup the contents of /home, do the following:
Cluster Control On Centos 8 Using Podman | |
https://severalnines.com/download-clustercontrol-database-management-system | |
https://severalnines.com/docs/user-guide/ui.html#import-existing-server-cluster | |
https://severalnines.com/docs/installation.html | |
https://severalnines.com/product/clustercontrol/clustercontrol-community-edition |