硬件配置:
服務編號:5Z04X72
軟件配置
1、Ubuntu 系統下載地址:
https://certification.ubuntu.com/certification/hardware/201412-16241/
2、uiso9_cn_9.6.6.3300.exe 下載
3、ubuntu server12.04系統U盤安裝詳細教程
https://wenku.baidu.com/view/64e4c33c2b160b4e777fcf28.html
4、Ubuntu 14.04 Server開發者安裝指南
5、網卡信息看查看(cat /proc/version Ubuntu 系統查看)
6、SSh 遠程登錄
登錄失敗
在服務器本機,安裝ssh
ps -e |grep ssh
安裝: apt-get install ssh ( 安裝后會自動開啟給服務)
再次鏈接了,鏈接成功
7、修改root 密碼
sudo passwd
8、更新阿里雲源(切換到root賬戶)
注意:我在這里直接是備份原有的一份,然后直接把給文件刪除,重新新建一個文件即可
sources.list 添加以下內容
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
安裝nginx
錯誤1
root@tinywan:/home/tinywan/nginx-1.10.3# ./configure checking for OS + Linux 3.13.0-32-generic x86_64 checking for C compiler ... not found ./configure: error: C compiler cc is not found
解決辦法:apt-get install build-essential
錯誤2
./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=<path> option.
方法:
apt-get install libreadline-dev libncurses5-dev libpcre3-dev \
libssl-dev perl make build-essential curl
編譯、安裝、瀏覽器訪問
http://192.168.18.151/
結束安裝