原创 Docker部署redis-sentinel高可用性(HA)解決方案

Redis-Sentinel是Redis官方推薦的高可用性(HA)解決方案,當用Redis做Master-slave的高可用方案時,假如master宕機了,Redis本身(包括它的很多客戶端)都沒有實現自動進行主備切換,而Redis-

原创 Docker安裝Gitlab

拉取git鏡像 docker pull gitlab/gitlab-ce:latest 創建docker container docker run --publish 20443:443 --publish 2080:80 \

原创 通過TigerVNCServer + noVNC構建基於HTML的VNC環境

搭建TigerVNCServer服務器 TigerVNC is a high-performance, platform-neutral implementation of VNC. 下載 官方地址: https://tigervnc

原创 Linux下搭建The NASA WorldWind Server Kit (WWSK)

The NASA WorldWind Server Kit (WWSK) is an open source Java project that assembles GeoServer for easy distribution and

原创 PRO*C鏈接Oracle數據庫全流程

PRO*C是Oracle提供的應用程序專用開發工具,它以C語言爲宿主語言,能在C程序中嵌入SQL語句,進行數據庫操作。 下載Client-server安裝包 官方下載路徑:http://www.oracle.com/technetwork

原创 使用node-webkit(NW.js)封裝node.js的windows可執行程序(EXE)

下載和安裝node-webkit 官網訪問地址 https://nwjs.io/ github訪問地址 https://github.com/nwjs/nw.js WEB應用 新建一個index.html文件,作爲我們這個demo的入口頁

原创 Ubuntu 16.04 LTS安裝Docker 1.11.1

系統環境:Ubuntu Xenial 16.04 (LTS) DOCKER版本:Version: 1.11.1 一、安裝Docker的先決條件 1、運行64位CPU構架的計算機(目前只能是x86_64和amd64),請注意,Docke

原创 ARM平臺移植libcurl curl-7.49.0

libcurl是免費的輕量級的客戶端網絡庫,支持DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS,POP3, POP3S, RTMP, RTSP,

原创 linux下搭建oracle 12c sqlplus 客戶端

文件下載 官網地址: http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html instantclient-basic-linux.x64-12.2.0.1.

原创 Centos7.3 安裝編譯nbd模塊

未安裝nbd模塊 [zhaojq@localhost ~]$ modprobe nbd modprobe: FATAL: Module nbd not found. 查看linux版本 [zhaojq@localhost ~]$ cat

原创 Linux系統直接升級GLIBC版本

下載GLBC源碼 訪問網站: http://ftp.gnu.org/pub/gnu/glibc/ 安裝 [zhaojq@zhaojq ~]$ tar -zxvf glibc-2.17.tar.gz [zhaojq@zhaojq glib

原创 ext2fs/ext2_fs.h:沒有那個文件或目錄

錯誤 ext2fs/ext2_fs.h:沒有那個文件或目錄 查看/usr/include,沒有ext2fs文件夾 解決方案 sudo yum install e2fsprogs-devel 查看/usr/include [zhaojq@l

原创 mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 13 - Permission denied)

在安裝docker mysql:5.7版本時,出現錯誤: mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 13 - Permission denied) mysqld: [

原创 ARM平臺移植strace-4.11

系統環境:Ubuntu 14.04.3 LTS 源碼:strace-4.11.tar.xz 交叉編譯環境:arm-none-linux-gnueabi- [zhaojq@virtual-machine]# tar -xvf st

原创 ARM平臺移植libevent-2.0.22-stable

系統環境:Ubuntu 14.04.3 LTS 源碼:libevent-2.0.22-stable.tar.gz 交叉編譯環境:arm-none-linux-gnueabi-   [zhaojq@virtual-machine]# tar