這是第一次使用CI Server,當然也是第一次使用 Jenkins
它的選項非常多,實在是無法在短時間內完全理解
本篇是慢慢摸索之中,所留下的紀錄
未來有心得時,會再持續更新吧
2017年3月31日 星期五
快速架一個 CI Server - 其它環境建置
安裝其它環境時的筆記,以後也許還用的著呢
Environment Setup
- MySQL 5.7
- Maven 3.3.9
- Sencha Cmd & ExtJS
2017年3月30日 星期四
快速架一個 CI Server - Jenkins 環境建置
本篇主要目的為建立 Jenkins 環境,關於 Jenkins 設定則另外介紹
Linux 作業系統就不多說了,我是安裝在 VM 上
Jenkins 官網中並沒有說明記憶體最低需求,但建議給 16GB (您真是愛開玩笑呢)
我給它 6GB,Jenkins plugins 不要裝太多還夠用
Environment Setup
- CentOS Linux release 7.3.1611 (Core)
- JDK 1.7.0.131
- Tomcat 7.0.76
- Jenkins 2.48
Linux 作業系統就不多說了,我是安裝在 VM 上
Jenkins 官網中並沒有說明記憶體最低需求,但建議給 16GB (您真是愛開玩笑呢)
我給它 6GB,Jenkins plugins 不要裝太多還夠用
2017年2月27日 星期一
Python setup.py 簡易研究
最近在公司開發 Python 專案時,有一些需求
上述兩點都可以使用 Python Setup.py 來實現,所以要先了解 Setup.py 怎麼撰寫
- 保護 Source code 的方法。網路上其實可以找到很多方法,像是代碼混淆、加密、打包成一個可執行檔以及利用 Cython 將 Python 檔案轉換為 C,然後編繹成 Library 檔案 (Windows 為 pyd 檔案 , Linux 為 so 檔案)。最終採用了最後兩種方法
- 大多的專案最終都會有重覆的程式,所以想寫一個共用 Library 供開發使用
上述兩點都可以使用 Python Setup.py 來實現,所以要先了解 Setup.py 怎麼撰寫
2016年11月24日 星期四
Python 反編譯第一次就上手 ~ Pyinstaller reverse engineer
觀念要先釐清
這裡就不說明 python 的編譯、執行方法
可以上網找找 pyc, pyo 的資料,他們說明的都比我清楚
- Disassembler
- A disassembler is a software tool which transforms machine code into a human readable mnemonic representation called assembly language.
- Decompiler
- Software used to revert the process of compilation. Decompiler takes a binary program file as input and output the same program expressed in a structured higher-level language.
這裡就不說明 python 的編譯、執行方法
可以上網找找 pyc, pyo 的資料,他們說明的都比我清楚
訂閱:
文章 (Atom)