flagflag  

ネットワーク設定ツール anchor.png

  • nmtui
  • systemctl restart NetworkManager
     
Page Top

IPv6 の無効化 anchor.png

# vi /etc/default/grub
      GRUB_CMDLINE_LINUX="ipv6.disable=1 rd.lvm.lv=fedora-server/root.....
# grub2-mkconfig -o /boot/grub2/grub.cfg 
 
Page Top

Firewall anchor.png

# systemctl stop firewalld.service
# systemctl mask firewalld.service
# firewall-cmd --add-service=smtp --permanent
# firewall-cmd --add-service=smtp-submission --permanent
# firewall-cmd --reload 
 
Page Top

タイムデーモン anchor.png

  • chronyd
  • 設定は /etc/chrony.conf
    • サーバになるには allow の指定が必要
  • ntp を使用してもよい.
    • ntp を使用する場合は chrony は無効化する.無効化しないと ntpd は起動しない
yum install chrony
systemctl enable chronyd.service
systemctl start chronyd.service
 
  • 時間が9時間進む場合
    • RTC(ハードウェアクロック)が UTC になっている可能性がある
hwclock -s --localtime
Page Top

systemctl by macsatou :-D anchor.png

/etc/init.d/script start相当

# systemctl start unit

/etc/init.d/script stop 相当

# systemctl stop unit 

service --status-all 相当

# systemctl --full 

chkconfig --list 相当

# systemctl --full list-unit-files 

chkconfig script on 相当

# systemctl enable unit 

chkconfig script off 相当

# systemctl disable unit 

chkconfig --add script 相当

# systemctl daemon-reload

PID探してkill -9

# systemctl kill -s 9 sshd 

ls /etc/init.d

# systemctl --type service

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 1378, today: 1, yesterday: 0
Last-modified: 2020-01-09 (Thu) 20:54:53 (JST) (45d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthFeb 2020Next Month
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
Today

Who's Online

77 user(s) are online (9 user(s) are browsing xpwiki)

Members: 0
Guests: 77

more...

Access Counter

Today : 1326913269132691326913269
Yesterday : 1787917879178791787917879
Total : 1358384913583849135838491358384913583849135838491358384913583849
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com