1.ubuntu系統的電腦連線騰訊雲出現的問題
今天電腦連線重灌系統之後的騰訊雲伺服器出現以下問題:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:+HqFf10oiDU2Yjkx7ND655NmUJmQfw3AYnqmAVwntFE.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:1
remove with:
ssh-keygen -f "/root/.ssh/known_hosts" -R "xxx.xxxx.xx"
ECDSA host key for xxx.xxxx.xx has changed and you have requested strict checking.
Host key verification failed.
複製程式碼
主要原因是之前電腦連線過伺服器,伺服器把登入標識證照記錄下來,下次登入時會去比對之前的記錄,由於伺服器的系統重灌標識變了導致不能繼續登入,解決方案是開啟電腦的命令列執行 ssh-keygen -R 伺服器公網ip ,即可解決這個問題,然後再執行 ssh 使用者名稱@公網ip ,即可連線成功
2.centos7使用yum install安裝wget無效的問題:
1.下載wget…tar.gz檔案,拷貝到linux
下載地址: https://mirrors.ustc.edu.cn/gnu/wget/
2.解壓tar -zxvf wget…tar.gz
3.cd到解壓後的資料夾,可以看到configure命令
./configure --with-ssl=openssl
make
make install
複製程式碼
3.activemq啟動報錯資訊為nested exception is java.net.URISyntaxException: Illegal character in hostname at index 7: ws://VM_0_9_centos:61614?maximumConnections=1000&wireFormat.maxFrameSize=104 857600
解決地址: www.cnblogs.com/likui360/p/…
4.mysql啟動報 181228 11:47:05 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
解決方法:chmod 777 /var/lib/mysql 給許可權就行了