Commit 05812a2d0d77bc74e5f8c53f9d31b5caf09af06b
Exists in
master
Merge branch 'centos7-do' into 'master'
Build / release documentation fixes for Centos 7 See merge request !197
Showing
2 changed files
with
15 additions
and
4 deletions
Show diff stats
doc/build.md
| @@ -17,6 +17,7 @@ sudo ufw enable | @@ -17,6 +17,7 @@ sudo ufw enable | ||
| 17 | 17 | ||
| 18 | # Check for SSH password logins, they should be disabled; The command below should return no results | 18 | # Check for SSH password logins, they should be disabled; The command below should return no results |
| 19 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config | 19 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config |
| 20 | +sudo service ssh reload | ||
| 20 | 21 | ||
| 21 | # Install dependencies | 22 | # Install dependencies |
| 22 | sudo apt-get install ruby1.9.1 ruby1.9.1-dev git build-essential cmake | 23 | sudo apt-get install ruby1.9.1 ruby1.9.1-dev git build-essential cmake |
| @@ -61,6 +62,7 @@ sudo lokkit -s ssh | @@ -61,6 +62,7 @@ sudo lokkit -s ssh | ||
| 61 | 62 | ||
| 62 | # Check for SSH password logins; they should be disabled | 63 | # Check for SSH password logins; they should be disabled |
| 63 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config | 64 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config |
| 65 | +sudo service sshd reload | ||
| 64 | 66 | ||
| 65 | sudo yum groupinstall 'Development Tools' | 67 | sudo yum groupinstall 'Development Tools' |
| 66 | # Install RedHat Software Collections to get Ruby 1.9.3 | 68 | # Install RedHat Software Collections to get Ruby 1.9.3 |
| @@ -101,10 +103,13 @@ As an administrator (or root): | @@ -101,10 +103,13 @@ As an administrator (or root): | ||
| 101 | ``` | 103 | ``` |
| 102 | yum update | 104 | yum update |
| 103 | 105 | ||
| 104 | -# Firewall is OK by default?? | 106 | +sudo systemctl enable firewalld |
| 107 | +sudo systemctl start firewalld | ||
| 108 | +sudo firewall-cmd --list-all | ||
| 105 | 109 | ||
| 106 | # Check for SSH password logins; they should be disabled | 110 | # Check for SSH password logins; they should be disabled |
| 107 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config | 111 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config |
| 112 | +sudo systemctl reload sshd | ||
| 108 | 113 | ||
| 109 | sudo yum groupinstall 'Development Tools' | 114 | sudo yum groupinstall 'Development Tools' |
| 110 | sudo yum install ruby ruby-devel cmake | 115 | sudo yum install ruby ruby-devel cmake |
doc/release.md
| @@ -47,10 +47,13 @@ git push origin 6-6-stable 6.6.0.omnibus | @@ -47,10 +47,13 @@ git push origin 6-6-stable 6.6.0.omnibus | ||
| 47 | # Ubuntu | 47 | # Ubuntu |
| 48 | sudo apt-get install python-pip | 48 | sudo apt-get install python-pip |
| 49 | 49 | ||
| 50 | -# CentOS | 50 | +# CentOS 6 |
| 51 | sudo yum install python-pip | 51 | sudo yum install python-pip |
| 52 | 52 | ||
| 53 | -# Both | 53 | +# Centos 7 |
| 54 | +sudo easy_install pip | ||
| 55 | + | ||
| 56 | +# All | ||
| 54 | sudo pip install awscli | 57 | sudo pip install awscli |
| 55 | ``` | 58 | ``` |
| 56 | 59 | ||
| @@ -59,8 +62,11 @@ sudo pip install awscli | @@ -59,8 +62,11 @@ sudo pip install awscli | ||
| 59 | # Ubuntu / Debian | 62 | # Ubuntu / Debian |
| 60 | sudo apt-get install mailutils | 63 | sudo apt-get install mailutils |
| 61 | 64 | ||
| 62 | -# Centos | 65 | +# Centos 6 |
| 63 | sudo yum install mail | 66 | sudo yum install mail |
| 67 | + | ||
| 68 | +# Centos 7 | ||
| 69 | +sudo yum install mailx | ||
| 64 | ``` | 70 | ``` |
| 65 | 71 | ||
| 66 | As omnibus-build user: | 72 | As omnibus-build user: |