screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_001.gif')}}\ 接下来
① 打开 编辑 -> ② 以任务配置标记套件
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_002.gif')}}\
弹出〔你的计算机要完成哪些任务?〕图块,选择 〔LAMP server 〕打勾,然后按「确定」。
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_003.gif')}}\
LAMP server软件包含有apache2 php5-mysql libapache2-mod-php5 mysql-server等程序,下载时间只需要几分钟。
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_004.gif')}}\
安装过程中出现这图块,清您设置一个MySQL root密码 (不是Linux的root密码,是给MySQL的密码)
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_005.gif')}}\
再次确认密码,密码要紧记或者用笔记录下来,免得变成前功尽费要再次重装
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_006.gif')}}\
LAMP server安装完成。
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_007.gif')}}\
我们可以在Firefox 浏览器网址填上:http://localhost/
注 :localhost是一个特殊的网址,表示连线到自己的主机,跟输入127.0.0.1这网址是同样的意思。
看到以下的网页,证明LAMP server 已经成功安装开始运作了。
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/joomla_008.gif')}}\
下载及安装Zoneminder程序
方法一 :
我们来下载Zoneminder最新的deb包:
ftp://ftp.northern-ridge.com.au/zone...0.27-1_all.deb
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/zmimage_08.gif')}}\
ftp://ftp.northern-ridge.com.au/zone...3.3-3_i386.deb
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。';
this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/zmimage_09.gif')}}\
下载后打开会自动安装。
方法二 :
也可以在终端下敲打命令安装:(版本可能比较旧)
sudo apt-get install zoneminder
由於需要壓成影片檔,我们必須安裝ffmpeg:
sudo apt-get install ffmpeg
安裝完成後
把 zoneminder 網頁部份 複製到 /var/www (預設首頁路徑)
终端命令如下:
sudo cp -r /usr/share/zoneminder /var/www/
sudo /etc/rc2.d/S91apache2 restart
打开 firefox 浏览器,輸入網址:
http://127.0.0.1/zoneminder 或者
http://localhost/zm
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/zmimage_07.gif')}}\ 成功了!
完成后的 调整和配置
1. 打开 “Add New Monitor“
2. 在 “General\填上 摄像頭名称号和其他需要的资料 3. 存档
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。';
this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/zmimage_11.gif')}}\
这项的配置是最重要的,千万别出错:-
1. 把 \打开
2. Device Path 要填对路径 /dev/video0 3. 存档
screen.width*0.6) {this.width=screen.width*0.6;this.alt='此图已经缩小,点击察看原图。'; this.onmouseover=this.style.cursor='pointer';this.onclick=function(){window.open('http://www.linuxunion.nethttps://www.77cn.com.cn/uploads/zmimage_13.gif')}}\
全部完成 - 可以打开视频了