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 5 years have passed since last update.

今頃CentOS7系を触りだした

Posted at

CentOS7.1をVPSにインストール

RHEL系のフリーディストリビューションを使ってきましたが大幅にコマンド体系が変わったのを体感。
下地を構築中なのでメモに近い内容で初投稿です。

Firewalldを試そうとしたけど動かすとなぜかSSHもHTTPも繋がらなくなる。
調べるとVPS側の仕様で使えないことが判明してiptablesとip6tablesに書き直す。

Let's encryptも色々参照しながらApacheでHTTPSで警告なく使えるところまでできました。

systemctlコマンド

ifconfigやserviceにchkconfigもなくなっていくんだなと。
でもsystemctl start smb nmbのように一行でstartしたりstopしたりenableにしたりdisableにできるのは便利ですね。
まだコマンド自体に慣れてないのでついserviceと入力してしまう。

落とし穴?
systemctl save iptables
はありませんでした。
とりあえずservice iptables saveで保存しておきました。
まだ調べてません…

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?