Categories
- FFMpeg (5)
- Libav (1)
- Google (3)
- iBeacon (1)
- LDAP (3)
- Me (2)
- Network (11)
- OS (149)
- RTMP (4)
- SIP (1)
- Kamailio (1)
- SNMP (1)
- VMware (20)
- VCP考試 (1)
- 伺服器 網站服務 (105)
- 名詞解釋 (4)
- 專案管理 (1)
- 工具軟體 (51)
- Adobe (1)
- FMS (1)
- Cloudera (1)
- Docker (1)
- Eclipse (4)
- Intellij (2)
- OBS (2)
- Office (10)
- Excel (4)
- PowerPoint (5)
- Postman (2)
- Splunk (13)
- Virtualbox (2)
- Visual Studio (2)
- 文字編輯器 (10)
- Sublime Text 2 (6)
- Sublime Text 3 (3)
- Vim (3)
- 連線工具 (1)
- Xshell (1)
- Adobe (1)
- 程式語言 (80)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (30)
- JavaScript (5)
- jQuery (4)
- jsTree (2)
- JSP (3)
- PHP (16)
- Python (8)
- Ruby (1)
- sed (1)
- Shell Script (8)
- Windows Bash Script (1)
- XML (1)
- 資料庫 (37)
- FFMpeg (5)
Category Archives: Ubuntu
[Apache] wordpress permalink 404 issue
edit site conf (vim /etc/apache2/sites-available/pr.site.org.conf) <VirtualHost pr.site.org:80> ServerName pr.site.org ServerAdmin webmaster@localhost DocumentRoot /var/www/pr.site.org # !– add this section <Directory /var/www/pr.site.org> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> # !– ErrorLog ${APACHE_LOG_DIR}/pr_error.log CustomLog ${APACHE_LOG_DIR}/pr_access.log combined </VirtualHost> … Continue reading
Posted in Apache, Ubuntu, WordPress
Leave a comment
Add git branch name to bash prompt
edit ~/.bash_profile if [ -f $(xcode-select -p)/usr/share/git-core/git-completion.bash ]; then . $(xcode-select -p)/usr/share/git-core/git-completion.bash . $(xcode-select -p)/usr/share/git-core/git-prompt.sh fi #enables color in the terminal bash shell export CLICOLOR=1 #sets up the color scheme for list export LSCOLORS=ExFxCxDxBxegedabagacad #sets up the prompt color (currently … Continue reading
Install aglio in Ubuntu 14.04
Install nodejs Ref. NodeSource Node.js Binary Distributions apt-get install -y nodejs nodejs-legacy Install python apt-get install python-dev Install aglio Ref. Github : aglio npm install -g aglio
Posted in Aglio, Ubuntu
Leave a comment
[Apache HBase] Install Apache HBase in Ubuntu 14.04
Java 1.7 add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java7-installer apt-get install oracle-java7-set-default Cloudera HBase Ref. installing-apache-hbase-on-ubuntu-for-standalone-mode Note. hbase tar file choose http://archive.apache.org/dist/hbase/hbase-0.98.5/hbase-0.98.5-hadoop1-bin.tar.gz (or http://ftp.mirror.tw/pub/apache/hbase/hbase-0.98.11/hbase-0.98.11-hadoop1-bin.tar.gz )
Posted in HBase, Ubuntu
Leave a comment
[Ubuntu] Enable exFAT support
All you need is install the exfat-* packages. sudo apt-get install exfat-fuse exfat-utils
Posted in Ubuntu
Leave a comment
[Ubuntu] Enable power saving in Lenovo X61
Ref: http://www.webupd8.org/2014/04/prevent-your-laptop-from-overheating.html Because I installed Ubuntu 14.04 in my Lenovo X61. Although it could switch into the sleep mode after closing the lid. It’s not really using the power saving mode. So we must edit the GRUB file. sudo vim … Continue reading
Posted in Ubuntu
Leave a comment
開啟 Ubuntu Console 彩色顯示
編輯 ~/.bashrc 將 #force_color_prompt=yes 變為 force_color_prompt=yes
Posted in Ubuntu
Leave a comment
Xibo & Nginx-rtmp
20141226 更新 不要用這個~~因為不穩定~Orz 環境: Ubuntu 14.04.01 1. 安裝build deb需要的套件 apt-get install dpkg-dev 創建source code目錄 mkdir -p /usr/src/nginx cd /usr/src/nginx 透過apt-get下載nginx的source code apt-get source nginx 安裝git apt-get install git 透過git下載nginx-rtmp-module的source code git clone https://github.com/arut/nginx-rtmp-module.git 將rtmp、xlst模組功能加入設定檔中 cd nginx-1.4.6/ vim debian/rules common_configure_flags := … Continue reading
Posted in Nginx, Ubuntu, Xibo
Leave a comment
upstart service 建立
這邊先貼幾個基本的,在etherpad及wisemapping建置的時候使用的conf來看一下 /etc/init/etherpad.conf description “etherpad” #start on started networking start on started mysql stop on runlevel [!2345] env EPHOME=/home/etherpad/etherpad-lite env EPLOGS=/var/log/etherpad-lite env EPUSER=etherpad respawn pre-start script cd $EPHOME mkdir $EPLOGS ||true chown $EPUSER:admin $EPLOGS ||true chmod 0755 $EPLOGS ||true chown -R … Continue reading
Posted in Ubuntu
Leave a comment
安裝Ubuntu在VMware環境出現 Host SMBus controller not enabled!
修改/etc/modprobe.d/blacklist.conf vim /etc/modprobe.d/blacklist.conf # 最後面加上 blacklist i2c-piix4
Posted in Ubuntu, VMware
Leave a comment