Category Archives: Ubuntu

Install Nginx with RTMP module in Ubuntu 12.04 x64 LTS

# 安裝必要套件 apt-get install build-essential libpcre3 libpcre3-dev libssl-dev # 下載 tar 安裝檔案 cd /tmp wget http://nginx.org/download/nginx-1.7.3.tar.gz wget https://github.com/arut/nginx-rtmp-module/archive/master.zip # 安裝 nginx tar -zxvf nginx-1.7.3.tar.gz unzip master.zip cd nginx-1.7.3/ ./configure –with-http_ssl_module –with-http_xslt_module –add-module=../nginx-rtmp-module-master make make install # 編輯 nginx 設定檔案 vim … Continue reading

Posted in Nginx, RTMP, Ubuntu | Leave a comment

Git Server 安裝

OS: Ubuntu 12.04 Desktop x64 安裝Gitlab + MySQL 系統更新 apt-get update apt-get upgrade -y apt-get dist-upgrade 安裝基本需求 update-alternatives –set editor /usr/bin/vim.basic sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev … Continue reading

Posted in Git, Ubuntu | Leave a comment

Ubuntu Domain Name 設定

Ubuntu 的 domain name 設定不像以往 Centos直接修改 /etc/resolv.conf 即可, 因為重開機, 理面的值會不見 仔細看了一下, 在開頭的地方寫著: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN 所以我一直都再做白工…… 原來 Ubuntu 的 … Continue reading

Posted in Ubuntu | 1 Comment

Ubuntu 設定時區

dpkg-reconfigure tzdata

Posted in Ubuntu | Leave a comment

安裝Kamailio SIP Server

安裝環境: Ubuntu 12.04 x64 系統更新 apt-get update apt-get upgrade 安裝mysql-server及必要套件 apt-get install mysql-server apt-get install make flex bison libmysqlclient-dev 下載安裝檔案並產生設定檔 cd /tmp mkdir sip cd sip wget http://www.kamailio.org/pub/kamailio/latest/src/kamailio-4.1.3_src.tar.gz tar -zxvf kamailio-4.1.3_src.tar.gz cd kamailio-4.1.3 make cfg 加入mysql支援 vim modules.lst => include_modules= … Continue reading

Posted in Kamailio, Ubuntu | Leave a comment

FFmpeg:Install in the Ubuntu 12.04

#!/bin/sh # # Name: ffmpeg git # Version: 0.01a # Description: ffmpeg git compilation with libvorbis, x264, mp3 lame support # Script_URI: http://www.techno-blog.net # # Author: Nikos ########################### ##### Run some checks ##### ########################### # Check if user is root … Continue reading

Posted in FFMpeg, Ubuntu | Leave a comment