目前分類:Linux (41)

瀏覽方式: 標題列表 簡短摘要

網路上沒有多少文章介紹,我玩了好久.終於把變數的應用搞定.
貼幾張圖,提供給大家參考.有需要可以討論

文章標籤

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

centos 用久了,會產生很多evenlog
會佔用硬碟空間,這個語法可以秒歸零evenlog

文章標籤

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

心得筆記
有興趣可以參考下

文章標籤

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

因為用rpm 安裝 cacti 沒有 cacti.conf檔案可以修改
[root@localhost etc]#cd /etc/httpd/conf.d/

文章標籤

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

[CentOS] 設定區域網路 Configuring a DHCP or Static IP

先確認自己的網路卡檔案

文章標籤

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

nslookup
dig

文章標籤

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

編輯
# visudo

文章標籤

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

有順序的問題
所以要開放放前面

文章標籤

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

Check CentOS Version

cat /etc/redhat-release

Check Status for Veeam Agent

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

因限制內部電腦對外連線
內部電腦需透過代理伺服器proxy(squid)連線到公司Live網站。

文章標籤

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

使用VI 編輯
結果檔案咬住

文章標籤

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

記錄下,轉至鳥哥

http://linux.vbird.org/linux_basic/0570syslog/0570syslog.php

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

How to clear the yum cache:

When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following:

yum clean packages

文章標籤

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

#fdisk -l
忘了記錄未extend 前的sda大小

文章標籤

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

curl ifconfig.me

查詢本機對外IP

文章標籤

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

查詢 Port

netstat -tulpn | grep LISTEN

文章標籤

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

方法一:

1. 新增 New User

文章標籤

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

Start 豆!!!

Step 1 新增下 yum來源

文章標籤

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

CentOS 沒有 ifconfig

螢幕截圖 2020-02-11 15.33.46

文章標籤

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

screenshot_1

最近常Linux 開機常遇到 Give root password for maintenance  錯誤

文章標籤

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

1 23