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:
| --- | |
| ### | |
| # Elasticsearch Rolling restart using Ansible | |
| ### | |
| ## | |
| ## Why is this needed? | |
| ## | |
| # | |
| # Even if you use a serial setting to limit the number of nodes processed at one |
** 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
Make sure these boxes are checked before submitting/approving the PR
| #!/bin/bash | |
| set -ex | |
| UBUNTU_VERSION="14.04" | |
| mkdirs(){ | |
| #lxc delete hadoop-master --force | |
| #lxc delete hadoop-slave-1 --force | |
| #lxc delete hadoop-slave-2 --force | |
| rm -rf /tmp/* |
| ### | |
| # Proxmox or other server kernel params cheap tune and secure. | |
| # Try it if you have heavy load on server - network or memory / disk. | |
| # No harm assumed but keep your eyes open. | |
| # | |
| # @updated: 2020-02-06 - more params used, adjust some params values, more comments on params | |
| # | |
| ### NETWORK ### |
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log| [opcache] | |
| ; Determines if Zend OPCache is enabled | |
| opcache.enable=1 | |
| ; Determines if Zend OPCache is enabled for the CLI version of PHP | |
| ;opcache.enable_cli=1 | |
| ; The OPcache shared memory storage size. | |
| opcache.memory_consumption=512 |
| Brick –> is basic storage (directory) on a server in the trusted storage pool. | |
| Volume –> is a logical collection of bricks. | |
| Cluster –> is a group of linked computers, working together as a single computer. | |
| Distributed File System –> A filesystem in which the data is spread across the multiple storage nodes and allows the clients to access it over a network. | |
| Client –> is a machine which mounts the volume. | |
| Server –> is a machine where the actual file system is hosted in which the data will be stored. | |
| Replicate –> Making multiple copies of data to achieve high redundancy. | |
| Fuse –> is a loadable kernel module that lets non-privileged users create their own file systems without editing kernel code. | |
| glusterd –> is a daemon that runs on all servers in the trusted storage pool. | |
| RAID –> Redundant Array of Inexpensive Disks (RAID) is a technology that provides increased storage reliability through redundancy |
| Config Untuk Listbot | |
| Contoh diambil dari | |
| https://github.com/dtag-dev-sec/listbot | |
| 1) Git clone masukkan dalam /etc/logstash |