2018年6月24日 星期日

macOS ssh 失敗(diffie-hellman-group1-sha1)


Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching key exchange method found. Their offer:diffie-hellman-group1-sha1

ans:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 name@xxx.xxx.xxx.xxx

2017年6月16日 星期五

CentOS 7 ,Mediawiki, php5.6, mariaDB 10.2

因為要安裝google -authentication,所以把老舊的系統換掉,

systemctl 取代  service
安裝google -authentication
php 版本更新到 5.6
mariadb從原本的5.5更新到10.2

Mediawiki
  • 執行安裝時一直卡在set_time_limit(0)這行,因為我暫時找不到問題,直接將這行comment out 
  • 然後就一路安裝完畢了
  • 目前還有上傳檔案的問題 ,doc檔案會變成你的zip檔案毀損無法辨識

2016年2月16日 星期二

switch ssh 設定


在更換switch後發現設定檔完全一樣但ssh無法登入,
一般設定步驟如下:參考 cisco ssh 設定
1. enable
2. configure terminal
3. hostname hostname
4. ip domain-name name
5. crypto key generate rsa
6. ip ssh [time-out seconds | authentication-retries integer]
7. ip ssh version [2]

其實,就是少了產生公鑰的步驟,所以即使將設定檔完全倒入也無法ssh登入

crypto key generate rsa

2015年12月22日 星期二

virtualbox無法啟動(Timed out after 60014 ms waiting for child request......)



今天在重啟電腦後要啟動virtualbox的os 非常緩慢
然後一直跳出以下類型的錯誤訊息

Timed out after 60014 ms waiting for child request......


在virtualbox討論串裡有
https://forums.virtualbox.org/viewtopic.php?f=6&t=67840&start=195#p347694

avira移除後,啟動就恢復以往的快速了 

2014年10月9日 星期四

Drivers for GUC232A USB to Serial converter

http://iogear.custhelp.com/app/answers/detail/a_id/1026/~/drivers-for-guc232a-usb-to-serial-converter

安裝完後

開啟終端機


screen /dev/cu.UC-232AC 9600

ctrl+ A , ctrl+\ 離開