2019年2月22日 星期五

Grub customizer installation

簡單的說

# sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
# 20.04已經放入官方套件中
sudo apt update && sudo apt-get install grub-customizer

GRUB是個好用的開機管理程式,但是設定檔不好處理。因此我們將使用grub-customizer管理。

2019年2月18日 星期一

升級HP Elite 8300 SFF BIOS

最近因為把原來工作中的HP Elite 8300 SFF準備移給老婆用,又在陰錯陽差下留給自己的淘寶回來的Gigabyte 主機板在放完2019年假後再起不能,就這樣決定再買一個HP Elite 8300 SFF。會這樣決定當然是因為這台有某種CP值之外的因素:

2019年1月31日 星期四

準備開始吐文章的前言

最近實驗快要告一段落,部分精華的心得也該記錄一下。之前曾經用一台32G RAM的ESXi 主機做LAB,但是後來塵封一陣子以後,重新組回來發現主機板就這樣GG了。為了這樣於是我上淘寶找到了新的主機板,技嘉 GA-Z77P-D3的二手板來跑原來的 XEON E3 1230 V2這個窮人神器。但是我按錯運送方式,按到海運。

2019年1月7日 星期一

bearDropper for dorpbear sshd

在openwrt上,為了尋找sshguard / fail2ban之類的IPS工具,經過尋找後原來有簡單的ash腳本撰寫的 bearDropper ,thanks to robzr ,that’s awesome。


身為一個使用者,只要簡單的讓openwrt可以抓https

opkg install libustream-openssl ca-certificates ca-bundle

然後跑作者寫的安裝腳本(真貼心!!)

wget -qO- http://rawgit.com/robzr/bearDropper/master/install.sh | sh

調整一下/etc/config/bearDropper

config bearDropper
   # mode used if no mode is specified on command line; see bearDropper -h for help.
         option  defaultMode             entire

  # failure attempts from a given IP required to trigger a ban
         option  attemptCount            5

  # time period during which attemptCount must be exceeded in order to trigger a ban
         option  attemptPeriod           12h

  # how long a ban exist once the attempt threshold is exceeded
         option  banLength               1w

然後把記錄檔加大,vi /etc/config/system

config system
         option ttylogin '0'
         option log_size '256'

接著啟動服務

/etc/init.d/bearDropper start

2015年4月22日 星期三

離線升級Jenkins

Jenkins會主動連上網路確認新版訊息,然後就會這樣默默提醒你

clip_image002

要進行離線升級,首先到jenkins-ci.org下載war檔

2015年4月1日 星期三

調整MS SQL EXPRESS Port 1433

如果你也像我一樣要弄個SQL EXPRESS來用用,你會發現以前只要安裝後把TCP/IP打開,就可以連線,但是最近好像不行了。你加裝了管理工具,但問題可能出在你連線的Port其實是動態連線埠。

怎麼知道?你可以下Netstat -na看看1433有沒有打開。

假如沒有,事情也沒有很大條,打開就好了,只是有點麻煩。

Eclipse 離線安裝SVN Plugin

首先打開Eclipe

image

你會看到preference \ Team裡面沒有帶SVN

image

怎麼辦呢?在這裡介紹離線安裝方式,雖然使用MarketPlace一步驟就裝完了,但是有時候你就是沒有網路,你要先下載兩個檔案

  1. 下載subversive plugin
  2. 去polarion.com下載 subversive connector