[CentOS7][setting] after install

No Comments

GUI遠端桌面(RDP協定)
yum install xrdp
yum groupinstall “Desktop” “Xfce”

增加倉頡
http://oldgrayduck.blogspot.tw/2016/12/centos7.html

add display resolution in the list

How to Set A Custom Screen Resolution in Ubuntu Desktop

[ELK] ELK stack 中文教學視頻(CHINA)

No Comments

ELK stack 中文教學視頻(CHINA)

[Elasticsearch][Lucene] scoring 索引評分

No Comments

參考資料
https://lucene.apache.org/core/3_6_0/scoring.html

[backup][rsync]

No Comments

環境
1. 目錄 01-src 為資料來源
2. 目錄 02-dst 為資料備份
3. 目錄 03-bak 為備份過程中, 因備份動作產生的增刪檔案暫存區

情境一
[說明] 當 01-src 裡面有檔案被刪除時, 02-dst 在備份時也跟著要刪除同一檔案時, 會將被刪除的檔案, 利動到 03-bak
[指令]

rsync -av --delete ./01-src/ ./02-dst --backup --backup-dir=../03-bak

[結論] backup-dir 若不特別指定路徑的話, 就會被02-dst這個目錄做為當前目錄, 以我們的範例而言, 就是要用兩個點來退到上一層目錄去

[OS][Ubuntu] reboot slowly

No Comments

REF: https://askubuntu.com/questions/760952/slow-shutdown-on-ubuntu-16-04-lts-stopping-thermal-daemon-running-fit-make-remo

I have got the same Problem. It occurred after clean install Ubuntu 16.04. Finally I figured out, after lots of troubleshooting, that (after disable the Ubuntu boot splash screen) a certain stop-job was running that made the shutdown slow. (Thanks to Alex!) Then I got this error report:

a stop job is running for make remote cups printers available locally
Then I tried this:

sudo systemctl stop cups-browsed.service
sudo systemctl disable cups-browsed.service

To verify:

sudo systemctl status cups-browsed
sudo systemctl is-enabled cups-browsed

and it finally worked! Shutdown was now as good and fast as ever. (You can find this troubleshooting on: “The Annoying Cups Browsed” at the ec-cwang´s Blog!)

[python] 學習資源

No Comments

https://hackmd.io/s/H1UBVlYJe#