LoginSignup
0
0

More than 5 years have passed since last update.

Debianにnginxをインストール(自分用メモ)

Posted at

Debianにnginxをインストールする手順

nginxのインストール

# apt-get install nginx
Reading package lists... Done
Building dependency tree 
Reading state information... Done
.
.
.

nginxを立ち上げる

# /etc/init.d/nginx start
Starting nginx: nginx.

curlのインストール

# apt-get install curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
.
.
.

確認

# curl http://[IPアドレス]
<html>
<head>
<title>Welcome to nginx!</title>
</head>
<body bgcolor="white" text="black">
<center><h1>Welcome to nginx!</h1></center>
</body>
</html>
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