Help us understand the problem. What is going on with this article?

Apache httpdをlinuxにインストールする

環境

-Linux AWS
-iOS

コード

実行環境はAWSのLinuxサーバです

$ yum -y install httpd                   //インストール
.
.
.
完了しました!
$ sudo systemctl enable httpd.service    //自動起動の設定
$ sudo systemctl start httpd.service   //起動
$ systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since 火 2019-11-12 01:22:16 UTC; 2s ago
     Docs: man:httpd.service(8)
 Main PID: 4283 (httpd)
   Status: "Processing requests..."
   CGroup: /system.slice/httpd.service
           ├─4283 /usr/sbin/httpd -DFOREGROUND
           ├─4284 /usr/sbin/httpd -DFOREGROUND
           ├─4285 /usr/sbin/httpd -DFOREGROUND
           ├─4286 /usr/sbin/httpd -DFOREGROUND
           ├─4287 /usr/sbin/httpd -DFOREGROUND
           └─4288 /usr/sbin/httpd -DFOREGROUND

11月 12 01:22:16 <AWS プライベートDNS> systemd[1]: Starting The Apache HTTP Server...
11月 12 01:22:16 <AWS プライベートDNS> systemd[1]: Started The Apache HTTP Server.
$ sudo systemctl stop httpd.service       //停止

以上です

なにが言いたいかというとsudoは忘れずにね☆

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away