PIXNET Logo登入

Hello World

跳到主文

:D

部落格全站分類:生活綜合

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 3月 25 週三 202617:27
  • 清理 debian linux /var/log/journal 占用過多空間

編輯 /etc/systemd/journald.conf
[Journal]
SystemMaxUse=500M
Compress=yes
重啟服務
systemctl restart systemd-journald
(繼續閱讀...)
文章標籤
debian linux

helloworld 發表在 痞客邦 留言(0) 人氣(2)

  • 個人分類:系統管理
▲top
  • 3月 11 週三 202613:41
  • 使用 nmap 檢查遠端server 是否有開放 SMBv1

檢查方式
nmap -p445 --script smb-protocols FILESERVER
是否會有以下關鍵字,如果沒有就是連不上
NT LM 0.12 (SMBv1) [dangerous, but default]
(繼續閱讀...)
文章標籤
smb samba nmap

helloworld 發表在 痞客邦 留言(0) 人氣(5)

  • 個人分類:系統管理
▲top
  • 3月 09 週一 202611:39
  • 解決 guest os 無法正常由 esxi 介面關機問題

透過esxi 介面將 guest os 關機失敗時
解決方式,進入 cli 介面
1. 輸入 esxcli vm process list
2. 記錄該 guest os 的 World ID
3. 執行 esxcli vm process kill -t=soft -w=(World ID)
如 esxcli vm process kill -t=soft -w=3624320
(繼續閱讀...)
文章標籤
vm vmware esxi

helloworld 發表在 痞客邦 留言(0) 人氣(8)

  • 個人分類:系統管理
▲top
  • 3月 09 週一 202611:03
  • 解決 ubuntu linux 開機時停在 initramfs 提示畫面


ubuntu linux 開機時停在 initramfs 提示畫面,可能原因是有不正常的重開機
需要手動介入 fsck
1. 執行 blkid
列出ext4 filesystem
2. 手動執行 fsck
fsck -y /dev/sda1
3. exit 離開,即進入開機流程
(繼續閱讀...)
文章標籤
linux ubuntu fsck initramfs

helloworld 發表在 痞客邦 留言(0) 人氣(6)

  • 個人分類:系統管理
▲top
  • 3月 04 週三 202614:45
  • 設定 juniper ex2200 switch 僅允許特定 mac address

configure
只允許一個mac address
set ethernet-switching-options secure-access-port interface ge-0/0/10 mac-limit 1
set ethernet-switching-options secure-access-port interface ge-0/0/10 static-mac 00:11:22:33:44:55
清空 mac address 設定
configure
delete ethernet-switching-options secure-access-port interface ge-0/0/10.0
(繼續閱讀...)
文章標籤
switch juniper

helloworld 發表在 痞客邦 留言(0) 人氣(5)

  • 個人分類:系統管理
▲top
  • 3月 04 週三 202610:28
  • 忘記 juniper EX2200 switch root 密碼重設

開機時按下空白鍵,出現 loader> 提示符號後,輸入 boot -s 進入單人模式
Hit [Enter] to boot immediately, or space bar for command prompt.
Type '?' for a list of commands, 'help' for more detailed help.
loader> boot -s
出現以下畫面,輸入 recovery
Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery
輸入 configure
root@switch> configure
Entering configuration mode
{linecard:0}[edit]
輸入 set system root-authentication plain-text-password ,並重複輸入兩次新密碼
root@switch# set system root-authentication plain-text-password
New password:
Retype new password:
{linecard:0}[edit]
輸入 commit
root@switch# commit
commit complete
離開 configuration mode
root@switch# exit
Exiting configuration mode
離開 operational mode
root@switch> exit
回答 y 重開機
Reboot the system? [y/n]
(繼續閱讀...)
文章標籤
switch juniper network

helloworld 發表在 痞客邦 留言(0) 人氣(8)

  • 個人分類:系統管理
▲top
  • 3月 03 週二 202613:21
  • 使用 samba-tool指令取得AD五大角色

root@zentyal-ad:~# samba-tool fsmo transfer --role=all -Uadministrator
FSMO transfer of 'rid' role successful
FSMO transfer of 'pdc' role successful
FSMO transfer of 'naming' role successful
FSMO transfer of 'infrastructure' role successful
Schema refresh needed 27 != 28
FSMO transfer of 'schema' role successful
lpcfg_load: refreshing parameters from /etc/samba/smb.conf
resolve_lmhosts: Attempting lmhosts lookup for name d7a4d593-e3cc-4ad8-aa42-0147646643ba._msdcs.mybox.tw<0x20>
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'http_negotiate' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Password for [MYBOX\administrator]:
Using binding ncacn_ip_tcp:zentyal-ad.mybox.tw[,seal]
resolve_lmhosts: Attempting lmhosts lookup for name zentyal-ad.mybox.tw<0x20>
resolve_lmhosts: Attempting lmhosts lookup for name zentyal-ad.mybox.tw<0x20>
FSMO transfer of 'domaindns' role successful
lpcfg_load: refreshing parameters from /etc/samba/smb.conf
resolve_lmhosts: Attempting lmhosts lookup for name d7a4d593-e3cc-4ad8-aa42-0147646643ba._msdcs.mybox.tw<0x20>
Using binding ncacn_ip_tcp:zentyal-ad.mybox.tw[,seal]
resolve_lmhosts: Attempting lmhosts lookup for name zentyal-ad.mybox.tw<0x20>
resolve_lmhosts: Attempting lmhosts lookup for name zentyal-ad.mybox.tw<0x20>
FSMO transfer of 'forestdns' role successful
(繼續閱讀...)
文章標籤
ad dc samba-tool

helloworld 發表在 痞客邦 留言(0) 人氣(5)

  • 個人分類:系統管理
▲top
  • 2月 06 週五 202609:41
  • windows 11 pro 安裝 RSAT 工具


以前的位置在設定> 應用程式 > 選用功能新版windows 11 pro 路徑改成 系統 > 選用功能 > 檢視或編輯選用功能 > 選擇要安裝的功能
(繼續閱讀...)
文章標籤
windows rsat dns ad

helloworld 發表在 痞客邦 留言(0) 人氣(6)

  • 個人分類:系統管理
▲top
  • 2月 06 週五 202609:19
  • 略過windows 11 安裝檢查

略過windows 11 安裝檢查,讓老電腦或是舊版的esx續命
安裝過程中,輸入 shift + F10 ,叫出 cmd 命令提示字元
輸入以下指令
reg add "HKCU\SOFTWARE\Microsoft\PCHC" /v UpgradeEligibility /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f
(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(19)

  • 個人分類:系統管理
▲top
  • 2月 03 週二 202613:11
  • Debina Linux 同步時間

編輯 /etc/systemd/timesyncd.conf
找到[Time]
NTP=ntp-server
執行 timdatectl 列出目前狀態
確認 NTP service 是否是 active 或是 inactive
如果是 inactive
執行 timdatectl set-ntp true
重啟 systemd-timesyncd 服務
systemctl restart systemd-timesyncd
(繼續閱讀...)
文章標籤
debian ntp linux

helloworld 發表在 痞客邦 留言(0) 人氣(3)

  • 個人分類:系統管理
▲top
12...45»

momo shop

近期文章

  • 清理 debian linux /var/log/journal 占用過多空間
  • 使用 nmap 檢查遠端server 是否有開放 SMBv1
  • 解決 guest os 無法正常由 esxi 介面關機問題
  • 解決 ubuntu linux 開機時停在 initramfs 提示畫面
  • 設定 juniper ex2200 switch 僅允許特定 mac address
  • 忘記 juniper EX2200 switch root 密碼重設
  • 使用 samba-tool指令取得AD五大角色
  • 使用 zentyal 內建指令取得AD五大角色
  • windows 11 pro 安裝 RSAT 工具
  • 略過windows 11 安裝檢查

誰來我家

我的地盤

helloworld
暱稱:
helloworld
分類:
生活綜合
好友:
累積中
地區:

最新迴響

  • [25/07/31] steven 於文章「解決點兩下 excel 檔案無法直接開啟...」留言:
    太讚了,這真的解決許久的困擾,比看什麼微軟方案還有用又簡單...
  • [25/06/05] helloworld 於文章「無線網路的網卡mac address 會...」留言:
    MacOS 也有類似的設定 選項分別為關閉、固定、輪替...
  • [24/10/25] wing 於文章「HP DL380 gen10 安裝 wi...」留言:
    我的svr是HP 380G10,安裝2016時找不到硬碟,到...
  • [24/07/23] helloworld 於文章「馬來西亞遊記...」留言:
    補充: 1. 馬來西亞雖然位於赤道上,但沒有想像中的熱 ...
  • [23/08/24] JeJe4咖照 於文章「建立新的 zfs filesystem...」留言:
    謝謝Hello World分享精彩的資訊 & 體驗心得,很詳...
  • [23/07/07] 路人 於文章「windows / mac 遠端連線到 ...」留言:
    好用,謝謝...
  • [22/05/22] 小黃瓜 於文章「台式涼拌小黃瓜DIY...」留言:
    好吃的小黃瓜 https://shopee.tw/prod...
  • [22/04/28] helloworld 於文章「修正iphone 更新 iOS 15.4...」留言:
    另外就是傳簡訊實名制到1922的時候 變得非常難用 幸好...
  • [21/08/03] cuteClover 於文章「momo 購物網聯絡客服網址...」留言:
    超難找,感謝你的筆記...
  • [20/06/22] LINUX VPS VPN  於文章「使用pfsense 架設 site to...」留言:
    需要付費的再找我,主要是系統架站。直播拍賣應用提供完整服務...

文章分類

  • 遊記 (24)
  • 系統管理 (448)
  • 吃吃吃 (29)
  • 工商服務 (95)
  • 資料庫 (45)
  • 未分類文章 (1)

參觀人氣

  • 本日人氣:
  • 累積人氣:

pixGoogleAdsense1

pixGoogleAdsense2

留言板