This man is too old to remember everything in his brain. Right now, he needs a place to write down what he has studied.
2011年7月29日 星期五
2011年7月28日 星期四
路漫漫其修远兮,吾将上下而求索
“路漫漫其修远兮,吾将上下而求索”这句出自屈原的名作《离骚》 意思是说:在追寻真理(真知)方面,前方的道路还很漫长,但我将百折不挠,不遗余力地(上天下地)去追求和探索。
2011年7月15日 星期五
2011年7月14日 星期四
mount -t cifs error 處理方式 2
sudo mount -t cifs "//xxx/Daily WIP Record" /mnt/ZNWIPRecord -o rw,username=xxx,password=xxx,domain=huko.aot.com.tw,iocharset=utf8,codepage=cp950,u
id=dwmgr,gid=dwmgr
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
#for ZN MFG, to record daily WIP information
//aot-files01/竹南分公司 /mnt/ZNWIPRecord cifs noauto,user,uid=dwmgr,gid=dwmgr,rw,username=xxx,password=yyy,domain=zzz.com.tw,iocharset=utf8,codepage=cp950 0 2
但是以下command仍會收到
參考
http://forums.fedoraforum.org/archive/index.php/t-157299.html
id=dwmgr,gid=dwmgr
in /etc/fstab
# /etc/fstab: static file system information.#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
#for ZN MFG, to record daily WIP information
//aot-files01/竹南分公司 /mnt/ZNWIPRecord cifs noauto,user,uid=dwmgr,gid=dwmgr,rw,username=xxx,password=yyy,domain=zzz.com.tw,iocharset=utf8,codepage=cp950 0 2
但是以下command仍會收到
dwmgr@aot-dwp01:~$ mount /mnt/ZNWIPRecord
mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
解決方式
sudo chmod u+s /sbin/mount.cifs
sudo chmod u+s /sbin/umount.cifs
參考
http://forums.fedoraforum.org/archive/index.php/t-157299.html
apt commands
sudo apt-get install samba
sudo apt-cache search samba
http://ubuntu.math.nccu.edu.tw/~littleq/blog/?p=16
sudo apt-cache search samba
http://ubuntu.math.nccu.edu.tw/~littleq/blog/?p=16
2011年7月13日 星期三
Reporting Service : 開新視窗
="javascript:void window.open('" & "http://xxx-reporting/ReportServer/Pages/ReportViewer.aspx?%2fPipeline+Inventory%2fPipeline+Inventory+Level3&rs:Command=Render&small_group=" & Fields!SMALL_GROUP.Value & "','_blank')"
2011年7月8日 星期五
2011年7月6日 星期三
Reporting Service : 8點前,顯示前一天
=IIf(Format(Today,"hh24") < "08",DateAdd("d",-1,Today()),DateAdd("d",0,Today()))