Bài đăng

How to install ELK on AmazonLinux 2 ?

Hình ảnh
Install ElasticSearch and Kibana on EC2 Amazon Linux 2 You can follow tutorial step by step to complete your task. Install requirement : Java8 Install Java8 : yum update -y  yum install -y java 1.8.0  Install ElasticSearch Create yum repo file  /etc/yum.repos.d/elasticsearch.repo Edit your repo yum install elasticsearch chkconfig --add elasticsearch Setup Kibana: Create yum repo file  /etc/yum.repos.d/kibana.repo yum install -y kibana chkconfig --add kibana Configure ES and Kibana nano  /etc/elasticsearch/elasticsearch.yml Modify  node.name, network.host, cluster.initial_master_nodes Then  nano /etc/kibana/kibana.yml Modify server.host Start ES and Kibana: systemctl start elasticsearch systemctl start kibana Access EC2 dns via port 9200 and 5601 to test. http://youripaddress:9200 http://youripaddress:5601 Review Install logstash yum -y inst...

How can I extend partition in virtual box ?

It's quite easily for extend partition in virtual box. You can follow step by step to complete your task. In example I'm using CentOS Power off your CentOS virtual machine Go into the directory of your *.vdi image. If you don't know where it is, look at your Virtualbox Manager GUI  virtualbox -> settings -> storage -> *.vdi -> location  e.g. mine is located under  ~/VirtualBox VMs/CentOS7/CentOS.vdi Back up your image just in case anything goes wrong $ cp CentOS7.vdi CentOS7.backup.vdi Resize your virtual storage size, e.g. 200 GB $ VBoxManage modifyhd CentOS7.vdi --resize 204800 Power on your CentOS virtual machine, issue $ sudo fdisk -l    Device Boot       Start          End       Blocks    Id   System     /dev/sda1    *    ...

How can share and use public AMIs in secure manner?

How To Share and Use Public AMIs in A Secure Manner When using Amazon Machine Images (AMI's) it is important to remember to use proper precautions to ensure that private information is not inadvertently left on AMI's when shared publicly.  This tutorial is provided to help customers share public Amazon Machine Images (AMIs) in a secure manner.  This tutorial expands upon the basic instructions within the "Sharing AMIs Safely" section of the EC2 User's Guide, which can be found at  http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG-chapter-sharingamis.html .  The EC2 User's Guide and this tutorial cover the most common security concerns with sharing public AMI. They should not be used as a complete security assessment guide. For information on hardening and clean-up requirements, go to Public AMI Publishing: Hardening and Clean-up Requirements, which is available at  https://aws.amazon.com/articles/9001172542712674 . Additional secur...
Hi there, This is first time we are in blogger.