flagflag  
2: 2015-04-27 (Mon) 16:03:29 iseki source Cur: 2023-08-14 (Mon) 21:11:01 iseki source
Line 1: Line 1:
 +* CentOS7について [#te985dad]
 +- [[CentOS6]]
 +- [[CentOS8]]
 +#br
 +** CentOS7 Memo [#j6bc5532]
 +
 +*** dotnet 6.0 (for [[OpenSim]]) [#x196c9c9]
 + rpm -Uvh https://packages.microsoft.com/config/ce​ntos/7/packages-microsoft-prod.rpm
 + yum install dotnet-*-6.0
 +#br
 +
*** ネットワーク設定ツール [#v6e46ac0] *** ネットワーク設定ツール [#v6e46ac0]
- nmtui - nmtui
Line 11: Line 22:
 # systemctl stop firewalld.service  # systemctl stop firewalld.service
 # systemctl mask firewalld.service  # systemctl mask firewalld.service
 +
 + # firewall-cmd --add-service=smtp --permanent
 + # firewall-cmd --add-service=smtp-submission --permanent
 + # firewall-cmd --reload
 +#br
 +
 +*** タイムデーモン [#e82a60ea]
 +- chronyd
 +- 設定は /etc/chrony.conf
 +-- サーバになるには allow の指定が必要
 +- ntp を使用してもよい.
 +-- ntp を使用する場合は chrony は無効化する.無効化しないと ntpd は起動しない
 +
 + yum install chrony
 + systemctl enable chronyd.service
 + systemctl start chronyd.service
#br #br
 +- 時間が9時間進む場合
 +-- RTC(ハードウェアクロック)が UTC になっている可能性がある
 +
 + hwclock -s --localtime
 +
 +***systemctl  by macsatou :-D  [#iaa4e522]
 +/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   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)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next 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 30 31
Today

Who's Online

56 user(s) are online (20 user(s) are browsing xpwiki)

Members: 0
Guests: 56

more...

Access Counter

Today : 9481948194819481
Yesterday : 9324932493249324
Total : 2358863323588633235886332358863323588633235886332358863323588633
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com