centos7 Initial settings

Preface

I created it because I wanted an environment where I could easily check commands on centos. It is an article instead of a memo of my work

Environmental information

Mac OS Mojave 10.14.6 VMware Fusion 11.5.1 CentOS Linux release 7.9.2009 (Core)

After installation, carry out in the following order

host name setting

# vi /etc/hostname

SELinux disabled

# getenforce

Enforcing Is enabled when

# vi /etc/selinux/config

SELINUX=enforcing ↓ SELINUX=disabled Change to

# reboot
# getenforce

disabled OK if

I will introduce Redmine

# yum install -y epel-release
# yum install -y ansible git

Introduced ansible and git

# git clone https://github.com/farend/redmine-centos-ansible.git

Introducing playbook

# vi redmine-centos-ansible/group_vars/redmine-servers

Change the value of db_passwd_redmine to any one

# cd redmine-centos-ansible

Move the directory

# ansible-playbook -i hosts site.yml

Just wait

reference

https://github.com/farend/redmine-centos-ansible

Recommended Posts

centos7 Initial settings
CentOS7 initial settings
CentOS8 bind settings
CentOS7 network settings
EC2 initial settings
Ubuntu (Mac style) initial settings
Initial settings of Netbeans (for JavaEE)
CentOS8 USB LAN adapter network settings
RuboCop settings
Initial settings until S2Dao can be used
Ruby settings 1
Initial settings for rewriting Java projects to Kotlin