2011年11月4日 星期五

乾淨解除安裝OFFICE

如果無法從「控制台」進行解除安裝,我該如何解除安裝 Office 2003、Office 2007 或 Office 2010 套件?

http://support.microsoft.com/kb/290301/zh-tw

2011年10月10日 星期一

從ORACLE救回已刪除的資料

select table名稱.* from table名稱as of timestamp (SYSTIMESTAMP-interval '刪除時間' Minute)

語法範例
select table.* from table as of timestamp (SYSTIMESTAMP-interval '60' Minute)

資料來源:http://arjudba.blogspot.com/2008/04/how-to-restore-old-data-using-flashback.html

2011年3月3日 星期四

VNCSERVER 使用

使用PUTTY SSH 到 LINUX上


[root@alantest init.d]# vim /etc/sysconfig/vncservers

VNCSERVERS="1:root 2:alanchang 3:mayaw 4:richard" <--設定使用者預設VNC SESSION


[root@alantest init.d]# vncserver

New 'alantest:1 (root)' desktop is alantest:1 <--系統會產生一個專屬個人使用的VNC SERVER

Starting applications specified in /root/.vnc/xstartup <--這個VNC的個人設定檔在這
Log file is /root/.vnc/alantest:1.log

[root@alantest init.d]# vi /root/.vnc/xstartup <--進去編輯這個個人設定檔

裏面內容全部用#號mark掉

只要加上這一行
/etc/X11/xinit/Xclients
然後存檔

[root@alantest init.d]# vncserver -kill alantest:1 刪除原先的VNC SERVER
Killing Xvnc process ID 3164
[root@alantest init.d]# vncserver 再產生一個新的

New 'alantest:1 (root)' desktop is alantest:1


然後到其它電腦用VNC CLIENT 登入這台電腦

alantest:1


修改VNC SERVER 密碼
vncpasswd

就OK了

個人VNCSERVER

SAMBA 帳戶沒有權利從這個站登入

1.使用者模式選USER
2.在SAMBA管理介面下\安全性設定\密碼加密\選是

SAMBA 網路路徑找不到解決方案

#getsebool -a | grep samba*
then do : #setsebool [ 上一部结果中每一项]=1
then #service smb restart

寫在開機指令中, 開機時設定自動生效
vi /etc/rc.d/rc.local

setsebool samba_domain_controller=1
setsebool samba_enable_home_dirs=1
setsebool samba_export_all_ro=1
setsebool samba_export_all_rw=1
setsebool samba_share_nfs=1
setsebool use_samba_home_dirs=1
setsebool virt_use_samba=1
service smb restart





資料來源: http://www.linuxsir.org/bbs/showthread.php?t=212446