顏國雄 2001/02 初 FTP 的架設
2004/06/28 修改
當你的 FreeBSD 安裝好後就內建 FTP ,只是預設不啟動它而已, 有人覺得 FreeBSD 內建的 ftpd 太陽春,會另外用別的 ftpd 來取代, 常見的替代方案有:proftpd , pureftp ......等,不過要隨時注意更新,因為 FTP 程式常常被找到有安全漏洞。
1 以 FreeBSD 內建的 ftpd 提供服務
一般說來,當你安裝好 FreeBSD ,FTP 的服務程式 /usr/libexec/ftpd 就有了
只要修改一下 /etc/inetd.conf , FTP 服務就已經可以提供給有本機帳號的人使用
1-1 打開 FTP 服務
FreeBSD 系統的預設 ftpd 提供 daemon 模式(stand alone)和由 inetd 啟動 ftpd 兩種方式
兩種方式比較起來,daemon 的方式適合對同一時間連線使用多,負載較大的主機
1-1-1 方法一:daemon 模式 (stand alone)
1-1-1-1 立即啟動 ftpd daemon
如果只是要馬上啟動服務只要執行:
/usr/libexec/ftpd -D -l -l
參數說明:
-D :讓 ftpd 以 daemon 的方式啟動。
-l :叫 syslogd 記錄每次的連線,用兩次 -l 則可以連使用的動作都記錄
-l 要留下連線記錄還需要配合修改 /etc/syslog.conf 才會啟動記錄
ftpd 還有很多的參數,可以 man ftpd 查看。
2010年10月24日 星期日
phpmyadmin
$cfg['Servers'][$i]['controluser'] = '[color=red]xxxxxx[/color]'; // MySQL control user settings
// (this user must have read-only
[color=red]紅色xxxxxx輸入您的 MySql 管理帳號[/color]
$cfg['Servers'][$i]['controlpass'] = '[color=red]xxxxxx[/color]'; // access to the "mysql/user"
// and "mysql/db" tables)
[color=red]紅色xxxxxx輸入您的 MySql 管理密碼[/color]
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=16221
// (this user must have read-only
[color=red]紅色xxxxxx輸入您的 MySql 管理帳號[/color]
$cfg['Servers'][$i]['controlpass'] = '[color=red]xxxxxx[/color]'; // access to the "mysql/user"
// and "mysql/db" tables)
[color=red]紅色xxxxxx輸入您的 MySql 管理密碼[/color]
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=16221
2010年10月6日 星期三
pkg_info -xL softname
- pkg_info -xL softname看看這個軟件裝了哪些文件, 你就很容易找到它安裝在系統中的各類文件了
- netstat -a發現端口沒有打開
- mysql 改PostgreSQL
#<Directory />
# AllowOverride None
# Order deny,allow
# Deny from all
#</Directory>
<Directory "/usr/local/www/apache22/data">
Options
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/www/phpPgAdmin/classes/Misc.php on line 344
$data =
訂閱:
文章 (Atom)