wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
yum localinstall mysql-community-release-el7-5.noarch.rpm
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
yum localinstall mysql-community-release-el7-5.noarch.rpm
If you encounter the SSLError while node registering phrase in Ambari, try the following approaches.
java.security
in $JAVA_HOME/jre/lib/security
folder, remove the 3DES_EDE_CBC
from the line starts with jdk.tls.disabledAlgorithms=...
./etc/python/cert-verification.cfg
, change the value of verify
to disable
in the section [https]
./etc/ambari-agent/conf/ambari-agent.ini
, add ssl_verify_cert=0
and force_https_protocol=PROTOCOL_TLSv1_2
in section [server]
./etc/ambari-server/ambari.properties
, remove the key security.server.disabled.ciphers
and restart the ambari-server
.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
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
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.
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;
>}
Environment
Steps
/etc/yum.repos.d/CentOS-Base.repo
exclude=postgresql*
/etc/yum.repos.d
## 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 |
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 |