Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
303f0a5a
Commit
303f0a5a
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
enable NTP
parent
b913be71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
install.sh
install.sh
+4
-0
No files found.
install.sh
View file @
303f0a5a
...
...
@@ -93,6 +93,7 @@ systemctl enable fail2ban
# Allow web through the firewall
systemctl
enable
firewalld
systemctl start firewalld
firewall-cmd
--permanent
--zone
=
public
--add-service
=
ssh
firewall-cmd
--permanent
--zone
=
public
--add-service
=
http
firewall-cmd
--permanent
--zone
=
public
--add-service
=
https
firewall-cmd
--permanent
--zone
=
public
--add-service
=
8080/tcp
# port 8080 for dev branch of site
...
...
@@ -101,6 +102,9 @@ firewall-cmd --reload
# Set the system timezone to UTC
timedatectl set-timezone UTC
# And enable NTP, since for some reason it's not on by default..
timedatectl set-ntp
true
# Install haveged to stop crypto stuff from hanging so much
# when it depletes /dev/random..! (The bcrypt library on PHP
# has a tendency to do this, which causes the occasional
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment