1.在ubuntu軟體中心中輸入關鍵字spss會找到軟體,按下安裝。
2.安裝好在左邊的dash欄中會有圖示,如果用傳統選單,它安裝在[科學]項目下。
3.開啟後就可以看到如下列畫面
2015年1月27日
2015年1月14日
佰元千萬畫素的實物投影機
有些老師想要用實物投影機來進行教學活動,而實物投影機價格不便宜,學校不一定可以供應。而之前有推薦過一支自動對焦的webcam:IPEVO P2V 約$1900,但有老師反應還無法把A4大小的紙直接顯示,要墊東西或是加購設備。隨著智慧型手機普及和它都有照相功能,而且相素比實物投影機好很多,對焦也容易。問題在如何把畫面放出來呢?如何固定呢?
筆者想到的是:手機腳架,個人試了一下可以買個一百多元的手機腳架(個人是用蛇管型,選擇很多,選一種適合自已的即可)這樣就可以把手機固定了又好調整,拍A4大小的紙也沒問題。
接下來是如何把畫面連上電腦,現在APP不少,個人是用"IP攝像頭"這支APP,它的好處是無線連接(這樣意味著你可以在教室到處走動),只要用瀏覽器輸入畫面的IP位址,可以做連線。記得網頁下面有一個選項「保持自動對焦」要勾起來
筆者想到的是:手機腳架,個人試了一下可以買個一百多元的手機腳架(個人是用蛇管型,選擇很多,選一種適合自已的即可)這樣就可以把手機固定了又好調整,拍A4大小的紙也沒問題。
接下來是如何把畫面連上電腦,現在APP不少,個人是用"IP攝像頭"這支APP,它的好處是無線連接(這樣意味著你可以在教室到處走動),只要用瀏覽器輸入畫面的IP位址,可以做連線。記得網頁下面有一個選項「保持自動對焦」要勾起來
2014年12月29日
ubuntu 14.04 nfs server
ubuntu nfs server
安裝套件
apt-get install
nfs-common nfs-kernel-server
建立資料夾
mkdir /nfsdata
編輯設定檔
vim /etc/exports
加入下列
/nfsdata
10.231.141.0/24(rw,sync,no_subtree_check,no_root_squash)
啟動 NFS Server
# /etc/init.d/nfs-kernel-server start
# /etc/init.d/nfs-kernel-server start
看有無分享成功
showmount -e localhost
Export list for localhost:
Export list for localhost:
/nfsdata 10.231.141.0/24
client端
sudo apt-get update
sudo apt-get install nfs-kernel-server
sudo apt-get install nfs-common
mkdir /nfsdata
mount -t nfs 10.231.141.19:/nfsdata /nfsdata
fstab中掛載增加:
10.231.141.19:/nfsdata /nfsdata nfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0
fstab中掛載增加:
10.231.141.19:/nfsdata /nfsdata nfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0
2014年12月22日
新北市教育作業系統VPN連線
有需要連入VPN連線,在新北市教育作業系統上做法:
1.編輯網路設定
1.編輯網路設定
2.加入VPN連線
3.設定連線名稱、通訊閘(VPN主機IP)、連線的帳號和密碼 ,按下儲存。
4.如果還不能連線,則在進階設定部分,設定成點對點加密連線。
2014年12月15日
clonezilla live大硬碟映像檔還原小硬碟
2014年12月2日
網站限制IP存取
編輯apache2.conf
在ubutnu server下
sudo vim /etc/apache2/apache2.conf
(在centos下是vim /etc/httpd/conf/httpd.conf)
找到網站目錄,例如:網站目錄是在/var/www資料夾中
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
apache 2.4加入:
Require all denied
Require all granted
Require host xxx.com
Require ip 192.168.1 192.168.2
Require local
Order deny,allow
Deny from all
Allow from 163.20.
Allow from 10.
變成
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 10.
Allow from 163.20.
</Directory>
或是
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
重新啟動apache
sudo /etc/init.d/apache2 restart
在ubutnu server下
sudo vim /etc/apache2/apache2.conf
(在centos下是vim /etc/httpd/conf/httpd.conf)
找到網站目錄,例如:網站目錄是在/var/www資料夾中
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
apache 2.4加入:
Require all denied
Require all granted
Require host xxx.com
Require ip 192.168.1 192.168.2
Require local
apache2.2加入:
Deny from all
Allow from 163.20.
Allow from 10.
變成
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 10.
Allow from 163.20.
</Directory>
或是
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all denied
Require ip 10.0.0.0/8 163.20.xx.0/24
Require host xxx.ntpc.edu.tw
</Directory>Require ip 10.0.0.0/8 163.20.xx.0/24
Require host xxx.ntpc.edu.tw
重新啟動apache
sudo /etc/init.d/apache2 restart
2014年11月19日
nautilus大量改檔名
有家長向我說:在整相片時,會有需要把相機裡的檔案整理成方使識別的檔名,在新北市教育作業系統裡有沒有大量改檔名的功能,我記得nautilus有這個功能,找了一下,也試了一些程式,發現這個最好用。
程式引用:https://gist.github.com/hackedbellini/1230574/
我把它中文化並且稍微改了小地方,下載點:
https://drive.google.com/file/d/0Bz6-J_NwALFBQzV0S2hWZWVETlU/view?usp=sharing
下載放在家目錄中再開啟終端機,執行下列指令(不需要最高權限)
chmod +x ~/大量更名
cp ~/大量更名 ~/.local/share/nautilus/scripts/
如果其他使用者要用也需把它拷貝到使用者的家目錄中。
這個功能會收錄進下一版的新北市教育作業系統中。
使用方式很簡單,先選擇多個檔案,在檔案上按滑鼠右鍵選擇命令稿/大量更名。
程式引用:https://gist.github.com/hackedbellini/1230574/
我把它中文化並且稍微改了小地方,下載點:
https://drive.google.com/file/d/0Bz6-J_NwALFBQzV0S2hWZWVETlU/view?usp=sharing
下載放在家目錄中再開啟終端機,執行下列指令(不需要最高權限)
chmod +x ~/大量更名
cp ~/大量更名 ~/.local/share/nautilus/scripts/
如果其他使用者要用也需把它拷貝到使用者的家目錄中。
這個功能會收錄進下一版的新北市教育作業系統中。
使用方式很簡單,先選擇多個檔案,在檔案上按滑鼠右鍵選擇命令稿/大量更名。
訂閱:
文章 (Atom)