Zabbix 6.4 On Rocky Linux 9.3中文支持
安裝Zabbix 6.4在Rocky Linux 9.3系統(tǒng)。語言不支持中文。
無
安裝中文語言包即可
dnf -y install glibc-langpack-zh.x86_64
無
安裝Zabbix 6.4在Rocky Linux 9.3系統(tǒng)。語言不支持中文。
無
安裝中文語言包即可
dnf -y install glibc-langpack-zh.x86_64
無
routing WARNING [7f73baffd700] [routing:bootstrap_rw] Total connections count=512 exceeds [DEFAULT].max_total_connections=512
無
myrouter默認(rèn)最大會話為512。當(dāng)需要改時,需改兩個參數(shù)
[DEFAULT]
max_total_connections = 5120
[routing:bootstrap_rw]
max_connections = 5120
無
無
1、查看用戶ID:ipmitool.exe -I lanplus -H 10.48.2.1 -U Administrator -P Admin@9000 user list
ipmitool.exe -I lanplus -H 10.48.2.1 -U Administrator -P Admin@9000 user list
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 true true true NO ACCESS
2 Administrator true true true ADMINISTRATOR
3 true true true NO ACCESS
4 true true true NO ACCESS
5 true true true NO ACCESS
6 true true true NO ACCESS
7 true true true NO ACCESS
8 true true true NO ACCESS
9 true true true NO ACCESS
10 true true true NO ACCESS
11 true true true NO ACCESS
12 true true true NO ACCESS
13 true true true NO ACCESS
14 true true true NO ACCESS
15 true true true NO ACCESS
16 true true true NO ACCESS
17 true true true NO ACCESS
2、設(shè)置密碼ipmitool -I lanplus -H 10.48.2.1 -U Administrator -P Admin@9000 user set password 2 Xfusion@2023
返回值
Set User Password command successful (user 2)
無
mvn編譯時,使用外網(wǎng)環(huán)境下載,需代理。
無
/opt/apache-maven/conf/settings.xml
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>x.x.x.x</host>
<port>8088</port>
<nonProxyHosts>*.aliyun.com|huaweicloud.com </nonProxyHosts>
</proxy>
</proxies>
無
無
無
SecureCRT是我們常用的遠(yuǎn)程工具,為規(guī)范配置,默認(rèn)會話標(biāo)準(zhǔn)配置規(guī)范如下:
1.創(chuàng)建SecureCRT日志目錄;例如d:\crtlog\
2.選項(xiàng)>編輯默認(rèn)會話
3.日志文件處配置為:D:\crtlog\%S\%Y%M%D%h%m.txt,并選中在連接上開始記錄日志、半夜時啟用新日志。
如下圖所示
無
zabbix 6.2安裝完成。顯示圖形時中文為亂碼,如下
缺少中文字體
dnf install wqy-microhei-fonts -y
cp /usr/share/fonts/wqy-microhei/wqy-microhei.ttc /usr/share/fonts/dejavu/DejaVuSans.ttf
刷新頁面即可
無
oracle歸檔日志占滿系統(tǒng)存儲空間,導(dǎo)致數(shù)據(jù)庫啟動失??;
存儲空間占滿導(dǎo)致rman工具無法使用,無法刪除過期歸檔日志。
告警信息:
1、 存儲空間滿,/opt占用率達(dá)到100%;
2、無法進(jìn)入數(shù)據(jù)庫操作;
3、無法使用rman工具清除過期歸檔日志。
1、通過命令檢查存儲空間被哪個目錄占用了,最深查詢到第八層目錄:du -h --max-depth=8。查詢到/opt/oracle/archivelog有142G這么大,打開看有3000+的dbf文件,通過文件目錄結(jié)構(gòu)分析,此為數(shù)據(jù)庫歸檔文件。
2、刪除數(shù)據(jù)庫歸檔文件。
首先切換oracle用戶
su – oracle
cd /opt/oracle/archivelog
執(zhí)行下面命令刪除7天以前的歸檔日志:
find . -xdev -mtime +7 -name "*.dbf" -exec rm -f {} \;
3、執(zhí)行rman邏輯上刪除過期日志
rman
RMAN> connect target /
>crosscheck archivelog all;
>delete expired archivelog all;
>quit
4、關(guān)閉數(shù)據(jù)庫歸檔日志:
登錄數(shù)據(jù)庫:!sql
SQL> shutdown immediate
啟動了實(shí)例,并加載了數(shù)據(jù)庫 SQL> startup mount
歸檔->非歸檔 SQL> alter database noarchivelog;
檢查是否成功 SQL> archive log list
5、啟動數(shù)據(jù)庫,完成。
SQL>alter database open;
此后,不再生成歸檔日志。
打開歸檔日志時,DBA定時清理歸檔文件,避免再次占滿;
如不使用,關(guān)閉歸檔日志。
Windows 7 安裝wireshark 2.0.0打開后無接口列表
無
wireshark右鍵以管理員方式運(yùn)行即可。
無
無
無
E:\>sqlcmd -S "localhost\SQLEXPRESS"
1> use master
2> go
已將數(shù)據(jù)庫上下文更改為 'master'。
備份
1> backup database test to disk='e:\test.dat'
2> go
恢復(fù)
1> restore database test from disk='e:\test.dat'
2> go
已為數(shù)據(jù)庫 'test',文件 'Test' (位于文件 1 上)處理了 232 頁。
已為數(shù)據(jù)庫 'test',文件 'Test_log' (位于文件 1 上)處理了 2 頁。
RESTORE DATABASE 成功處理了 234 頁,花費(fèi) 0.184 秒(9.898 MB/秒)。
無
客戶購買一臺筆記本電腦,1T SATA普通硬盤,16G mSATA SSD硬盤。在安裝操作系統(tǒng)時。默認(rèn)將引導(dǎo)分區(qū)安裝入16G mSATA硬盤導(dǎo)致啟動失敗。安裝不成功
無
下載最新的Intel Rapid Storage Technology驅(qū)動,安裝系統(tǒng)進(jìn)行分區(qū)界面時即時能看到SSD硬盤也必須加載Intel Rapid Storage Technology驅(qū)動。加載后SSD硬盤變成磁盤1,普通硬盤變成磁盤0再重新分區(qū)即可。
無