Last active
September 19, 2021 16:53
-
-
Save jakebathman/cbb377d62460b3d876d70b6c64455535 to your computer and use it in GitHub Desktop.
IRC server setup on CentOS 7
This file contains hidden or 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
#!/bin/bash | |
# This sets the variable $IPADDR to the IP address the new Linode receives. | |
IPADDR=$(/sbin/ifconfig eth0 | awk '/inet / { print $2 }' | sed 's/addr://') | |
sudo yum update -y | |
sudo yum install nginx wget git -y | |
cd ~ | |
wget --no-check-certificate --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz | |
tar xzvf unrealircd*.tar.gz | |
cd unrealircd* | |
echo "IP: $IPADDR" | |
# TODO | |
# - [ ] Prompt for the domain to use | |
# - [ ] Build unrealircd | |
# - [ ] Edit configs | |
# - [ ] Edit nginx config | |
# - [ ] Run letsencrypt for the domain | |
# - [ ] Fix issues with iptables or firewall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment