#!/bin/sh apt-get install build-essential libpcre3 libpcre3-dev libssl-dev -y cd /tmp wget http://nginx.org/download/nginx-1.7.3.tar.gz wge...
#!/bin/sh apt-get install build-essential libpcre3 libpcre3-dev libssl-dev -y cd /tmp wget http://nginx.org/download/nginx-1.7.3.tar.gz wge...
將下列內容貼到 /etc/init.d/nginx 中,並且使用 chmod +x nginx 調整屬性 #! /bin/sh ### BEGIN INIT INFO # Provides: nginx # Required-Start: $all #...
# 安裝必要套件 apt-get install build-essential libpcre3 libpcre3-dev libssl-dev # 下載 tar 安裝檔案 cd /tmp wget http://nginx.org/download/nginx-1.7.3.t...
# OS: Ubuntu 12.04 Desktop x64 # 安裝Gitlab + MySQL 1. 系統更新 apt-get update apt-get upgrade -y apt-get dist-upgrade 2. 安裝基本需求 update-alternativ...
Ubuntu 的 domain name 設定不像以往 Centos直接修改 /etc/resolv.conf 即可, 因為重開機, 理面的值會不見 仔細看了一下, 在開頭的地方寫著: # Dynamic resolv.conf(5) file for glibc resolv...
dpkg-reconfigure tzdata
安裝環境: Ubuntu 12.04 x64 1. 系統更新 apt-get update apt-get upgrade 2. 安裝mysql-server及必要套件 apt-get install mysql-server apt-get install make flex ...
#!/bin/sh # # Name: ffmpeg git # Version: 0.01a # Description: ffmpeg git compilation with libvorbis, x264, mp3 lame support # Script_URI: h...