FileBeat on CentOS
sudo rpm -Uvh filebeat-5.5.1-x86_64.rpm
sudo mv /etc/filebeat/filebeat.yml /etc/filebeat/filebeat.yml.origin
#sudo cp filebeat-telenet-airflow.yml /etc/filebeat/filebeat.yml
sudo cp filebeat-telenet-offering-generator.yml /etc/filebeat/filebeat.yml
sudo systemctl restart filebeat ; sudo systemctl status filebeat
How to install Jenkins
yum install epel-release -y; yum update
yum install -y java
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
yum install y jenkins
systemctl start jenkins.service
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --reload
How to install Ansible
Links
https://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/
http://docs.ansible.com/ansible/intro_installation.html#getting-ansible
http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id
https://serversforhackers.com/an-ansible-tutorial
http://docs.ansible.com/ansible/firewalld_module.html
192.168.1.17 - node
192.168.1.16 - main
Main Server
Install EPEL (Extra Packages for Enterprise Linux)
Open a shell prompt.
Or login to a host named server using ssh client.
Install epel using the following command:
# yum -y install epel-release
Refresh repo by typing the following command:
# yum repolist
# install the epel-release RPM if needed on CentOS, RHEL, or Scientific Linux
$ sudo yum install ansible
Add node
# vim /etc/ansible/hosts
[first]
192.168.1.17
[local]
127.0.0.1
https://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/
http://docs.ansible.com/ansible/intro_installation.html#getting-ansible
http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id
https://serversforhackers.com/an-ansible-tutorial
http://docs.ansible.com/ansible/firewalld_module.html
192.168.1.17 - node
192.168.1.16 - main
Main Server
Install EPEL (Extra Packages for Enterprise Linux)
Open a shell prompt.
Or login to a host named server using ssh client.
Install epel using the following command:
# yum -y install epel-release
Refresh repo by typing the following command:
# yum repolist
# install the epel-release RPM if needed on CentOS, RHEL, or Scientific Linux
$ sudo yum install ansible
Add node
# vim /etc/ansible/hosts
[first]
192.168.1.17
[local]
127.0.0.1
Комментариев нет:
Отправить комментарий