歡迎你

各類文章如有侵犯智慧財產權請來信告知--------607@dlps.tp.edu.tw

预览模式: 普通 | 列表

SQLite

.databases     列出全部檔案
.tables           目前資料庫資料表格
.schems         資料表建構指令
.help              指令說明
.exit               離開

查看更多...

分类:語言學習 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1906

會計支付系統

1. IE設定:
工具/選項/安全性/信任的網站
自定層級=>所有控制項及插件設定 => 啟用
安全性=>低
使用者驗證=>使用目前的使用者名稱及密碼來自動登入


2. 下載程式:
1. AresPKIInstaller_Client.exe
2. SafeSign-1.0.8.42-Standard.exe

3. 讀卡機:
安裝讀卡機驅動程式

查看更多...

分类:維修日誌 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2215

eclipse 快速鍵

Ctrl + /                  註解
Alt + /                   提示
Ctrl + Shift + f       程式碼整理
按住Ctrl                  追蹤元件
Tab                        往右內縮排
Shift + Tab             往左對齊
Ctrl + Shift +O        import 加入

查看更多...

Tags: eclipse

分类:語言學習 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 14639

eclipse

ANDROID_SDK_HOME
\\.\.android\avd

Tags: eclipse

分类:語言學習 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1906

portsnap

2013/3/23未來更新ports tree時,皆應使用portsnap,cvsup/csup已停止使用

修改 /etc/portsnap.conf
SERVERNAME=portsnap.tw.freebsd.org

# portsnap fetch                  //第一次

# portsnap extract              //第一次
      
#portsnap fetch update      //更新整個ports

# portsnap update             //日後更新

查看更多...

分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2611

freebsd apache svn

1.cd /usr/ports/www/apache22
2.make WITH_BERKELEYDB=db42 install clean
3.cd /usr/ports/devel/subversion
4.make -DWITH_SVNSERVE_WRAPPER -DWITH_MOD_DAV_SVN -DWITH_APACHE2_APR install clean

SVN 基本環境
1.mkdir -p 放主目錄
2.mkdir -p /etc 放設定
3.svnadmin create 初始化
4.chown -R www:www

設定 Apache2
<Directory />
AllowOverride All
order allow,deny
Allow from All
</Directory>

設定 virtual host
<VirtualHost *:80>
DocumentRoot /主目錄前一層
ServerName localhost
<Location /svn>
DAV svn
  SVNParentPath  /主目錄前一層
AuthType Basic
AuthName “Svn ”
AuthUserFile /etc/svn-auth-file
AuthzSVNAccessFile /svn-access-file
Require valid-user
</Location>
</VirtualHost>

建立存取帳號
1.htpasswd -c /svn-auth-file USER1
2.htpasswd /svn-auth-file USER2
建立存取權限
/svn-access-file
[/]
USER1 = rw
USER2 = r

查看更多...

分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2731

ubuntu svn

1,安裝 SVN
sudo apt-get install apache2  apache2-common apache2-utils apache2-doc libapache-svn subversion2,
2,SVN Repository

sudo mkdir
sudo svnadmin create
sudo chown -R www-data:www-data

3,修apache2
sudo gedit /etc/apache2/mods-available/dav_svn.conf

4 SVN 使用者
sudo htpasswd -c /etc/subversion/passwd
sudo htpasswd    /etc/subversion/passwd

查看更多...

分类:linux | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3671

cvsup

#cd /usr                          //切換路徑
#rehash                           //才不會出現指令無效訊息 (csup: Command not found.)
cvsup -g -L 2  /xxxx/ports-supfile

#cd /usr/ports ; make fetchindex

#portsclean -CDLP

查看更多...

分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2195

point  Spooler 服務無法啟動

sc config spooler depend= rpcss
分类:電腦教學 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2230

freeBSD更新

更新
# freebsd-update fetch
# freebsd-update install

升級8.1
# freebsd-update -r 8.1-RELEASE upgrade
freebsd-update install


升級8.2
# freebsd-update -r 8.2-RELEASE upgrade
freebsd-update install
分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3024

7-zip免費壓縮軟體

分类:維修日誌 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3172

2010大龍校慶

2010大龍校慶

分类:電腦教學 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2467

一聲長聲之主機板故障?

故障原因:資源班主機無法開機,蜂鳴器一直叫
解決方法:推斷顯卡或主機板有問題
          先將主機板做原始測試(CPU,機版,記憶體)順便清一清灰塵,完成可開機

查看更多...

分类:維修日誌 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 4094

大龍國小統計

<a href="http://www2.clustrmaps.com/counter/maps.php?url=http://www.dlps.tp.edu.tw" id="clustrMapsLink"><img src="http://www2.clustrmaps.com/counter/index2.php?url=http://www.dlps.tp.edu.tw" style="border:0px;" alt="Locations of visitors to this page" title="Locations of visitors to this page" id="clustrMapsImg" onerror="this.onerror=null; this.src='http://clustrmaps.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='http://clustrmaps.com';" />
</a>

Locations of visitors to this page

分类:電腦教學 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2947

Coppermine

Coppermine安裝環境
centos5.3
apache2.2.3+php5.1.6+mysql5.0.45

下載Coppermine
官方網址:http://coppermine-gallery.net/

1.在mysql,新增資料庫XXX
2.安裝Image Magick
  yum install imagemagick*
3.將下載的檔案放在伺服器內,資料夾名稱cpg123,修改 albums 和 include 檔案夾的權限為777
4.執行http://localhost/cpg123/install.php  按提示操作

查看更多...

Tags: Coppermine

分类:linux | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3989

OpenNMS安裝----freebsd7.3

Building On FreeBSD7.3 From OpenNMS

環境
install Tomcat6
cd /usr/ports
make search key='tomcat'
找到install位置安裝

install PostgreSQL
參考資料庫安裝


下載OpenNMS
http://www.geeklan.co.uk/files/opennms/opennms-165-freebsd-port.tgz

解壓縮
tar -zxvf opennms-164-freebsd-port.tgz -C /usr/ports/net-mgmt/

要更新ports树,否则你安装会遇到很多麻烦

install opennms
cd /usr/ports/net-mgmt/opennms
make install

安装jdk
安装过程需要准备几个文件,缺的文件,系统会提示你去哪里下载,安装上面的提示下载就是了,比较麻烦。下载了以后把它们放到/usr/ports/distfiles/里面

安裝後的訊息!請跟著步驟作!

Once everything has been built & installed the following message will be shown on your screen:
1st run
${OPENNMSHOME}/bin/runjava -s------------->/usr/local/opennms/bin/runjava -s
Then create
${OPENNMSHOME}/etc/opennms.conf
& add
START_TIMEOUT=0 to it
then run
${OPENNMSHOME}/bin/install -dis
to initialise the DB
edit /etc/rc.conf & add
opennms_enable="YES"
& run
%%PREFIX%%/etc/rc.d/opennms start--------->/usr/local/etc/rc.d/opennms start
you should now be able to login to opennms by pointing your browser to
http://localhost:8980------------------>後來發現應http://localhost:8980/opennms/
u: admin
p: admin


Please make sure the hostname that your system is configured with is either resolvable via dns or locally via /etc/hosts
otherwise you will have issues trying to start OpenNMS.


查看更多...

Tags: OpenNMS

分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 6428

資料庫

一、mysql
      cd /usr/ports/databases/mysql50-server
      make WITH_CHARSET=big5 WITH_XCHARSET=all install clean
      cd /usr/ports/databases/php5-mysql
      make install clean
      
      vi  /etc/rc.conf
      mysql_enable="yes"
      /usr/local/etc/rc.d/mysql-server start
      
      設定sql
      /usr/local/bin/mysql mysql
     Update user SET password=password('XXXXXXXXXX') where user='root';
     FLUSH PRIVILEGES;
    

二、PostgreSQL
      cd /usr/ports/databases/postgresql82-server
      make install clean
      cd /usr/ports/databases/php5-pgsql
      make install clean
      
      vi  /etc/rc.conf
      postgresql_enable="YES"
      ...

查看更多...

Tags: 資料庫

分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3376

人氣影片

人氣影片

Tags: 人氣影片

分类:網站開發 | 固定链接 | 评论: 1 | 引用: 0 | 查看次数: 4500

apache2/httpd.conf初步設定

 

/usr/local/etc/apache2/httpd.conf
Timeout 設定連線逾時
Timeout 300
 
KeepAlive 是否使用保持連線
KeepAlive On
 
MaxKeepAliveRequests 最多有幾個保持連線
MaxKeepAliveRequests 200
 
KeepAliveTimeout 保持連線的逾時時間
KeepAliveTimeout 15
 
User Group 設定執行時的使用者及群組
User www
Group www
 
ServerAdmin 設定郵件
ServerAdmin you@example.com
 
ServerName 設定主機名稱
ServerName XXX.XXX.XXX:80
 
DocumentRoot 設定網頁根目錄
DocumentRoot "/usr/local/www/apach22/data"
 
<Directory> </Directory> 設定目錄權限
<Directory />
    AllowOverride None
    order deny,allow
    Deny from all
</Directory>
AllowOverride 設定 .htaccess 中可以使用的項目
Order 設定 Allow 及 Deny 的順序,目錄中設定允許 (Allow) 及拒絕 (Deny) 的規則先後順序
我們先設定了 order 為 Deny, Allow,再設定允許所有連線
 
 
UserDir 設定使用者個人網頁
<IfModule mod_userdir.c>
UserDir public_html
 
UserDir disabled root toor daemon ..... pop www nobody mailnull smmsp
 
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
    AllowOverride FileInfo AuthConfig Limit Indexes
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS PROPFIND>
        order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
        order deny,allow
        Deny from all
    </LimitExcept>
</Directory>
</IfModule>
 
 
DirectoryIndex 設定預設網頁檔名
DirectoryIndex index.php index.htm index.html index.html.var
 
 
HostnameLookups 設定將客戶端 IP 轉為 hostname
將這個功能設為 On 會造成連線的效率變慢很多
HostnameLookups Off
 
 
ErrorLog 指定錯誤記錄檔位置
ErrorLog /var/log/httpd-error.log
設定 Apache 連線記錄檔的位置
CustomLog /var/log/httpd-access.log combined
 
Alias 設定別名
Alias /mp3/ /home/alex/mp3/
 
ScriptAlias 設定 CGI 目錄
ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"
 
分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 9727

freebsd7.0軟體安裝

1、確認 /usr/ports
     沒有的話使用 /stand/sysinstall 來安裝 ports 的目錄
       以 root 執行 /stand/sysinstall
     選擇 Configure 後按 Enter
     選擇 Distributions 後按 Enter
     選擇 ports 後按空白鍵
       選擇 Exit 後按 Enter
     選擇你要從 CDROM 或 FTP 安裝等
       跟著選單照做,最後離開 sysinstall
2、cd /usr/ports/net/cvsup-without-gui
     make install clean
     cp /usr/share/examples/cvsup/ports-supfile /root/
     cvsup -g -L 2 /root/ports-supfile

查看更多...

分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3144