Tag: Debian & Ubuntu

Linux 解壓縮 RAR 檔

在 Windows 下 RAR 是很常用的壓縮檔格式, 在 Linux 要解壓縮 RAR 檔案, 可以用 unrar。如果系統沒有安裝 unrar, 可以用 yum 或 apt-get 安裝, 十分方便: 首先安裝 unrar, 可以根據不同的系統選擇合適的方法: RHEL / CentOS / Fedora: # yum …

Linux 壓縮及解壓 ZIP 檔

在 Windows 很多壓縮檔也是用 ZIP 格式, 在 Linux 要解壓及壓縮 ZIP 檔案, 可以用 zip 及 unzip。如果系統沒有安裝 zip 及 unzip, 可以用 yum 或 apt-get 安裝, 十分方便: RHEL / CentOS / Fedora: # …

Debian / Ubuntu 安裝 Webmin

Webmin 是一個網頁介面的 UNIX 管理工具, 可以進行管理系統帳號, 磁碟, 網路, 防火牆, 排程, Apache, DNS, 檔案分等等, 以下是 Debian 及 Ubuntu 安裝 Webmin 的方法: 首先加入 Webmin 官方 repository, 開啟檔案 /etc/apt/sources.list # vi /etc/apt/sources.list 加入以下兩行: …

Ubuntu 15.04 (Vivid Vervet) ISO 下載

Ubuntu 15.04 (Vivid Vervet) 的各個版本的 ISO 映像檔的下載地址: Ubuntu Desktop, Server 及 Snappy Core: http://releases.ubuntu.com/15.04/ Ubuntu Cloud Server: http://cloud-images.ubuntu.com/releases/15.04/release/ Ubuntu Netboot: http://cdimage.ubuntu.com/netboot/15.04/ Kubuntu: http://cdimage.ubuntu.com/kubuntu/releases/15.04/release/ Lubuntu: http://cdimage.ubuntu.com/lubuntu/releases/15.04/release/ Ubuntu Studio: http://cdimage.ubuntu.com/ubuntustudio/releases/15.04/release/ Ubuntu …

Ubuntu 安裝 Docker

Docker 是以容器 (container) 為框架的應用程式自動部署工具, 以下是在 Ubuntu 安裝 Docker 的步驟: 在安裝 Docker 前先更新一下 apt-get Repository # apt-get update 更新 apt-get Repository 後可以安裝 Docker 及其相關套件: # apt-get -y install docker.io 執行以下指令以建立 …

Debian 安裝 MySQL 5.6

Debian 7 及 8 版本要安裝 MySQL 5.6, 可以先安裝 MySQL APT repository, 就可以用 apt-get 很方便安裝 MySQL 5.6, 以下是安裝方法: 首先下載 MySQL APT repository: Debian 8: # wget http://dev.mysql.com/get/mysql-apt-config_0.3.5-1debian8_all.deb Debian 7: # …

Debian / Ubuntu 開機自動執行 Shell Script

在 Debian 及 Ubuntu 開機後, 如果想自動執行一些 shell script 或指令, 可以直接編輯 /etc/rc.local 檔案. 以下是 /etc/rc.local 預設內容: 要加入自動執行指令或 shell script 十分簡單, 只要直接加上要執行的指令即可, 例如我設定了每次開機會自動恢復 iptables 的設定, 便加入了 iptables-restore 指令: 儲存檔案後就完成了, 下次開機便會自動執行加入的指令. ———————————— …