CentOS7
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* CentOS7について [#te985dad]
- [[CentOS6]]
- [[CentOS8]]
** CentOS7 Memo [#j6bc5532]
*** dotnet 6.0 (for [[OpenSim]]) [#x196c9c9]
rpm -Uvh https://packages.microsoft.com/config/centos/7/...
yum install dotnet-*-6.0
*** ネットワーク設定ツール [#v6e46ac0]
- nmtui
- systemctl restart NetworkManager
*** IPv6 の無効化 [#s2724c24]
# vi /etc/default/grub
GRUB_CMDLINE_LINUX="ipv6.disable=1 rd.lvm.lv=fedor...
# grub2-mkconfig -o /boot/grub2/grub.cfg
*** Firewall [#k31a7f33]
# systemctl stop firewalld.service
# systemctl mask firewalld.service
# firewall-cmd --add-service=smtp --permanent
# firewall-cmd --add-service=smtp-submission --permanent
# firewall-cmd --reload
*** タイムデーモン [#e82a60ea]
- chronyd
- 設定は /etc/chrony.conf
-- サーバになるには allow の指定が必要
- ntp を使用してもよい.
-- ntp を使用する場合は chrony は無効化する.無効化しない...
yum install chrony
systemctl enable chronyd.service
systemctl start chronyd.service
- 時間が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
終了行:
* CentOS7について [#te985dad]
- [[CentOS6]]
- [[CentOS8]]
** CentOS7 Memo [#j6bc5532]
*** dotnet 6.0 (for [[OpenSim]]) [#x196c9c9]
rpm -Uvh https://packages.microsoft.com/config/centos/7/...
yum install dotnet-*-6.0
*** ネットワーク設定ツール [#v6e46ac0]
- nmtui
- systemctl restart NetworkManager
*** IPv6 の無効化 [#s2724c24]
# vi /etc/default/grub
GRUB_CMDLINE_LINUX="ipv6.disable=1 rd.lvm.lv=fedor...
# grub2-mkconfig -o /boot/grub2/grub.cfg
*** Firewall [#k31a7f33]
# systemctl stop firewalld.service
# systemctl mask firewalld.service
# firewall-cmd --add-service=smtp --permanent
# firewall-cmd --add-service=smtp-submission --permanent
# firewall-cmd --reload
*** タイムデーモン [#e82a60ea]
- chronyd
- 設定は /etc/chrony.conf
-- サーバになるには allow の指定が必要
- ntp を使用してもよい.
-- ntp を使用する場合は chrony は無効化する.無効化しない...
yum install chrony
systemctl enable chronyd.service
systemctl start chronyd.service
- 時間が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
ページ名: