2018年10月22日 星期一

EXCEL檔案裡插入「框框內打勾」

要在EXCEL檔案裡面的「框框內打勾」方法

 從「插入」->「符號」->「Wingdings2」 就可以找到了

2018年10月6日 星期六

Fortinet VPN 的錯誤訊息處理

這兩天客戶的Fortinet VPN突然不能用,一直出現下面訊息,因為已經買超過保固了,原廠就要收費了,因為實在沒有 "扣扣" 只好請Google大神求救了。

unable to establish the vpn connection. the vpn server may be unreachable


最後還是有答案的啦


就因為客戶的IE因為銀行要求使用 TLS 1.0取消,所以變成銀行的可以,我的不行啦,改回來就好了。

參考網站  layer8.one



2018年10月1日 星期一

PVE 版本升級方式(5X)


# nano /etc/apt/sources.list

Proxmox VE No-Subscription Repository

As the name suggests, you do not need a subscription key to access this repository. It can be used for testing and non-production use. Its not recommended to run on production servers, as these packages are not always heavily tested and validated.
We recommend to configure this repository in /etc/apt/sources.list.
File /etc/apt/sources.list
deb http://ftp.debian.org/debian stretch main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

# security updates
deb http://security.debian.org stretch/updates main contrib

Proxmox VE Test Repository

按Ctrl+o -> enter Save
按Ctrl+X -> EXIT

 參考來源 Package Repositories

2018年9月30日 星期日

Windows 7 使用桌面延伸功能時桌面圖示亂跑的問題解決

每次桌面圖示調好,只要使用切換桌面的功能圖示就會跑掉,快氣死了,我可是有工作效率的人,怎麼可以忍受這種事情發生吧。

由於 Windows 7 是安裝在我的筆電上面,不管在公司或是家裡,我都把它連上另一個顯示器。而每次我按 Windows-P 把畫面延伸到另一個螢幕時,桌面圖示開始亂跑的時候。

把桌面圖示調整到喜歡的位置,在「桌面」上按滑鼠「右鍵」並選按「重新整理」然後接上另一台螢幕,按 Windows-P 功能,再做一次在桌面上按滑鼠右鍵並選按「重新整理」的動作 這樣就行了。

如果你再次移動了任何一個桌面圖示或者加入了新的圖示上述的步驟再重新做一次就行了。


















參考來源 .Net 2Share

2018年9月18日 星期二

CentOS NTP 架設


安裝:
[root@ntp ~]# yum install ntp -y

啟動 NTP 服務
[root@ntp ~]# /etc/init.d/ntpd start
Starting ntpd:     [  OK  ]

Linux Iptables Firewall 停用
# /etc/init.d/iptables stop
# chkconfig iptables off

關閉 selinux
# cd /etc/selinux
# vi config
SELINUX=disabled


觀察 NTP 服務的 Port 123
[root@ntp ~]# netstat -tlunp | grep 123
udp        0      0 192.168.0.250:123           0.0.0.0:*     3224/ntpd         
udp        0      0 127.0.0.1:123               0.0.0.0:*     3224/ntpd         
udp        0      0 0.0.0.0:123                 0.0.0.0:*     3224/ntpd         
udp        0      0 ::1:123                     :::*          3224/ntpd         
udp        0      0 fe80::5054:ff:fe00:fa:123   :::*          3224/ntpd         
udp        0      0 :::123                      :::*          3224/ntpd   


設定開機啟動 ntpd
[root@ntp ~]# chkconfig ntpd on

查詢開機是否啟動 ntpd
[root@ntp ~]# chkconfig --list ntpd
ntpd            0:off   1:off   2:on    3:on    4:on    5:on    6:off

確認 NTP 伺服器是否順利更新時間?
[root@demo ~]# ntpstat -p

編輯 ntp.conf 的內容
[root@ntp ~]# vi /var/ntp.conf

restrict tock.stdtime.gov.tw
restrict tick.stdtime.gov.tw
restrict time.stdtime.gov.tw
restrict time1.google.com
restrict time2.google.com
restrict time3.google.com
restrict time4.google.com
restrict 192.168.0.0 mask 255.255.0.0 nomodify -->設定允許的IP網段
restrict 10.168.0.0  mask 255.255.0.0 nomodify

server tock.stdtime.gov.tw prefer
server watch.stdtime.gov.tw prefer
server time.stdtime.gov.tw prefer
server clock.stdtime.gov.tw
server tick.stdtime.gov.tw
server time1.google.com
server time2.google.com
server time3.google.com
server time4.google.com


參考網站 鳥哥的 Linux 私房菜


2018年9月17日 星期一

啟動OFFICE 時遇到 0x80041010 錯誤訊息


以系統管理員執行CMD,準備修正 WMI 的程序
執行以下指令:

"C:\WINDOWS\system32\WBEM\mofcomp.exe" "C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPWMI.MOF"

再用KMS程式重新認證一次

參考來源 土牛資訊土–Q&A

2018年7月26日 星期四

CentOS 7 的一些紀錄


關閉 Firewalld 防火牆指令:
# systemctl stop firewalld.service

設定下次開機不會啟動 Firewalld 防火牆
# systemctl disable firewalld.service

關閉 SELinux:
vi /etc/selinux/config

安裝 Wget 程式
yum install -y wget

安裝 ntpdate 程式
yum install -y ntpdate
ntpdate -u time2.google.com

安裝Webmin 出現 No Perl MD5 hashing module found!  問題處理
yum install -y perl-Digest-MD5

安裝Webmin 出現



yum install -y unzip
yum install -y perl-Data-Dumper
yum install -y perl-Encode-Detect

 CentOS 7 ifconfig 指令處理
ip addr --> 查網路卡
ip link --> 查網路速度
ip -s link --> 統計數據
yum -y install net-tools -->安裝 ifconfig的指令

MySQL 5.7
# wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
# yum localinstall mysql57-community-release-el7-7.noarch.rpm
# yum -y install mysql-community-server

Nginx 安裝 --> 參考 XYZ的筆記本
# rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
# yum install nginx

啟動 nginx
# systemctl list-unit-files | grep nginx

開機自動啟動
# systemctl enable nginx

立即啟動
# systemctl start nginx