linux時間同步

2021-07-25 23:50:36 字數 619 閱讀 3644

ntpdate time.windows.com

rz命令 yum -y install lrzsz

file -s /dev/sda1 檢視檔案系統型別

mount -no remount,ro /掛載根分割槽 唯讀方式

mount -o remount, rw / 掛載根分割槽

mysql使用者授權

授權格式:grant 許可權 on 資料庫.* to 使用者名稱@登入主機 identified by "密碼";

grant all privileges on testdb.* to test@localhost identified by '1234';

flush privileges;//重新整理系統許可權表

如果想指定部分許可權給一使用者,可以這樣來寫:

mysql>grant select,update on testdb.* to test@localhost identified by '1234';

director,balancer,dispatcher排程器

dr=dirctor routing

yum clean all

yum list

nfs埠2049

squid埠3128

同步時間 Linux設定時間同步

所有節點都要確保已安裝ntpd 在步驟 4已安裝 1.首先選擇一台伺服器作為時間伺服器。假設選定為node1.sunny.cn伺服器為時間伺服器。2.ntp伺服器的配置 修改ntp.conf檔案 vi etc ntp.conf 一共修改三處內容,將 去掉,並且將網段修改正確。restrict 192...

linux時間同步

cd usr sbin root localhostsbin wget root localhostsbin tar zxvf ntdate.tar.gz root localhost sbin ntpdate 210.72.145.44 這樣時間就正常了 但是我們不會每天都去檢視伺服器時間是否正確...

時間同步 linux

linux集群時間同步 1.設定主機時間準確 任意機器都可 如果不需要同步網路時間則可以省略這一步 1.1檢視本機時間和時區 date 1.2設定時區 tzselect 選擇後執行cp usr share zoneinfo asia shanghai etc localtime 這裡是redhat的...