install using the Yum command: first yum search ifconfig find installation package, use Yum install Net-tools installation.
first, the installation package:
Ifconfig (Network \IP): Yum install Net-tools
Unzip zip (compression \ Decompression): Yum install-y unzip zip
RZ (File upload): Yum install lrzsz.x86_64
JDK (Java):
Yum install java-1.8.0-openjdk
export Java_home=/usr/java
Wget:yum Install wget.x86_64
Firewall-cmd:yum Install Firewalld systemd-y
Yum Install ntpdate: Update system time, Ntpdate pool.ntp.org.
......
Second, the configuration:
Turn off SELINUX: Run sed-i '/selinux/s/enforcing/disabled/'/etc/selinux/config; reboot (Shutdown-r now); Run Sestatus view (SELINUX Status:disabled can be). To turn off the firewall:
Ubuntu (UBUNTU-12.04-DESKTOP-AMD64)
View firewall status: UFW status
Shutdown Firewall: UFW disable
---------------------------------------------------------------
centos6.0
View firewall Status: Service iptables status
Shutdown firewall: chkconfig iptables off #开机不启动防火墙服务
--------------------------------------------------------------
centos7.0 (default is to use firewall as a firewall, if not changed to iptables firewall, use the following command to view and close the firewall)
View firewall status: Firewall-cmd--state
Shutdown firewall: Systemctl stop firewalld.service systemctl stop Firewalld.service #停止firewall
Systemctl Disable Firewalld.service #禁止firewall开机启动
To write a command to an environment variable:
sudo ln-sv/opt/consul/consul/usr/local/bin/
To assign permissions to a folder for the current user:
Linxu Assign permission: sudo chown-r jetty.jetty/opt/consul/
........................
..............................