- Remove the directory "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin"
- Remove the symbol link "/Library/PreferencePanes/JavaControlPanel.prefPane"
- Install the old version
1、备份 | |
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup | |
2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/ | |
CentOS 5 | |
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo | |
CentOS 6 |
## Green text , time ,and date; windows in blue: | |
hardstatus alwayslastline "%{=b}%{G} Screen(s): %{b}%w %=%{kG}%C%A %D, %M/%d/%Y" | |
##Turn off start message: | |
startup_message off | |
## Set messages timeout to one second: | |
msgwait 1 | |
## Set scrool back to 5000 line in buffer |
Environment
- CentOS OS 7.3 64 Bit
- Docker 1.12.5
Steps
- Add following into the
/etc/yum.repos.d/CentOS-Base.repo
exclude=postgresql*
- Add two new yum repo file in
/etc/yum.repos.d
- Get the VM's virtual MAC address
Open the VM’s Settings and select “Network Adapter”. Then expand the “Advanced options” section at the bottom and copy the MAC address that you see there. Note: if the VM is powered on, the MAC address box will be greyed out.
- Modify dhcpd.conf
Edit (sudo)
/Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf
After where it says End of "DO NOT MODIFY SECTION" enter the following lines:host MyVM { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.xxx.xxx;
>}
client_loop: send disconnect: Broken pipe
If you encounter the above issue while ssh to a remote host, you should try to add following options to the /etc/ssh/ssh_config
.
Host *
IPQoS=throughput
virtio_net: Could not create vmnet interface, permission denied or no entitlement?
If you encounter the error above while run docker-machine start default
, you could try the following solution.
sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
If you encounter the SSLError while node registering phrase in Ambari, try the following approaches.
- edit
java.security
in$JAVA_HOME/jre/lib/security
folder, remove the3DES_EDE_CBC
from the line starts withjdk.tls.disabledAlgorithms=...
. - edit
/etc/python/cert-verification.cfg
, change the value ofverify
todisable
in the section[https]
. - edit
/etc/ambari-agent/conf/ambari-agent.ini
, addssl_verify_cert=0
andforce_https_protocol=PROTOCOL_TLSv1_2
in section[server]
. - edit
/etc/ambari-server/ambari.properties
, remove the keysecurity.server.disabled.ciphers
and restart theambari-server
.
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
yum localinstall mysql-community-release-el7-5.noarch.rpm