0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

CentOS 各種コマンドメモ

Last updated at Posted at 2024-05-28

OS

バージョン確認

cat /etc/redhat-release

ユーザー一覧

cat /etc/passwd

グループ一覧

cat /etc/group

Subversion

インストール確認

yum list installed | grep subversion

インストール情報確認

yum info subversion

サービス確認

systemctl status svnserve

サービス自動起動 設定確認

systemctl is-enabled svnserve

サービス自動起動 設定

systemctl enable svnserve

サービス自動起動 設定解除

systemctl disable svnserve

サービス開始

systemctl start svnserve

サービス停止

systemctl stop svnserve

サービスファイル

cat /usr/lib/systemd/system/svnserve.service

バージョン確認

svnserve --version

設定ファイル

cat /etc/sysconfig/svnserve

SSH

インストール確認

yum list installed | grep ssh

サービス確認

systemctl status sshd.service

サービス自動起動 設定確認

systemctl is-enabled sshd.service

サービス自動起動 設定

systemctl enable sshd.service

サービス自動起動 設定解除

systemctl disable sshd.service

サービス開始

systemctl start sshd.service

サービス停止

systemctl stop sshd.service

サービスファイル

cat /usr/lib/systemd/system/sshd.service

設定ファイル

cat /etc/ssh/sshd_config
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?