BigITエンジニアのブログ

2017.3.1現在、36歳ITエンジニアとして現状を変えるためにブログ始める。

Linux

apache ssl設定

# yum install openssl # yum install mod_ssl (1)秘密鍵を作る# cd /etc/httpd/conf # openssl genrsa -aes128 1024 > server.key(2)公開鍵を作る# openssl req -new -key server.key > server.csr(3)証明書を作る# openssl x509 -in server.csr -days 3650…

Linux コマンド

# ユーザー一覧 cat /etc/passwd|sed -e 's/:.*//g'#

CentOS7のファイヤーフォール設定

# status systemctl status firewalld# start systemctl start firewalld# stop systemctl stop firewalld# 設定一覧を表示 ls -lta /usr/lib/firewalld/services/

CentOSのバージョン確認

いつも調べてばかりだけど・・・ [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@localhost ~]#