歡迎你

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

预览模式: 普通 | 列表

samba

[global]
        dos charset = cp950
        unix charset = utf8
        display charset = utf8
        workgroup = CC1
        server string = Samba  %v
        passdb backend = tdbsam
        log file = /var/log/samba/%m.log
        max log size = 50
        cups options = raw

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0664
        directory mask = 0775
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[public]
        comment = Public Stuff
        path = /home/public
        valid users = @users
        read only = No
        guest ok = Yes
 

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

exif

"exiftool(-all).exe" *.jpg

exiftool官方網站網址: http://www.sno.phy.queensu.ca/~phil/exiftool/

php.ini

register_long_arrays = On

Tags: exif

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

停電

停電對電腦的傷害是很大的
不知道是否有損害
UPS有些沒有發生功效
電池本來就只能用個二'三年

查看更多...

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

使用 PHP

PHP 支援

如果您要使用 PHP,則必須在 httpd.conf 中加入 PHP 的支援,請在 httpd.conf 檔案最後加入下列內容:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


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

建構複雜的命令

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

~/.bashrc

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions
PATH="/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
PATH="$PATH":/usr/X11R6/bin:/home/dmtsai/bin
LANG=zh_TW.big5
LC_TIME=C
export PATH LC_TIME LANG
umask 022

alias   rm='rm -i'
alias   cp='cp -i'
alias   mv='mv -i'
 

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

每日監控作業

df磁碟空間
du磁碟使用狀況
top
data
timecpu使用率
uptime
netstat
traceroute
分类:linux | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 11820

switch 故障

不知名的原因
讓我忙翻天
分类:電腦教學 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 4667