歡迎你
各類文章如有侵犯智慧財產權請來信告知--------607@dlps.tp.edu.tw
openjdk6
作者:tseng 日期:2014-05-17
mount -t fdescfs fdesc /dev/fd
mount -t procfs proc /proc
/etc/fstab
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
修改conf/server.xml
<Engine>
<Host attrs ...>
<Context attrs ...>
</Context>
</Host>
</Engine>
改成
<Context path="/顯示" docBase="資料位置"
debug="5" reloadable="true" crossContext="true"...
SQLite
作者:tseng 日期:2014-04-15
會計支付系統
作者:tseng 日期:2014-03-17
eclipse 快速鍵
作者:tseng 日期:2014-02-15
eclipse
作者:tseng 日期:2014-02-15
portsnap
作者:tseng 日期:2013-03-25
freebsd apache svn
作者:tseng 日期:2013-01-04
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
ubuntu svn
作者:tseng 日期:2012-12-29
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
cvsup
作者:tseng 日期:2012-12-27
point Spooler 服務無法啟動
作者:tseng 日期:2012-12-11
freeBSD更新
作者:tseng 日期:2011-05-23
7-zip免費壓縮軟體
作者:tseng 日期:2010-12-30
Tags: Facebook不宜在校園使用
一聲長聲之主機板故障?
作者:tseng 日期:2009-09-23
大龍國小統計
作者:tseng 日期:2009-06-02
<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>
Coppermine
作者:tseng 日期:2009-05-26
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
OpenNMS安裝----freebsd7.3
作者:tseng 日期:2009-05-20
環境
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
資料庫
作者:tseng 日期:2009-05-19
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: 資料庫
apache2/httpd.conf初步設定
作者:tseng 日期:2009-05-14