-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed Install to make Elastix install correctly. Does not install Hardware support by default, as VPS’s don’t usually have any. Install script no longer disables firewall by default. May need to disable it manually, of add incoming ports for web interface. Better to only open up to your IP address for Security.
- Loading branch information
Showing
7 changed files
with
629 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
dd if=/dev/zero of=/swapfile bs=1024 count=1024k | ||
chown root:root /swapfile | ||
chmod 0600 /swapfile | ||
mkswap /swapfile | ||
swapon /swapfile | ||
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab | ||
sysctl vm.swappiness=10 | ||
echo vm.swappiness=10 >> /etc/sysctl.conf | ||
free -h | ||
cat /proc/sys/vm/swappiness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.