base-stack/README.md

44 lines
1.7 KiB
Markdown
Raw Normal View History

2022-11-17 09:47:11 -08:00
# Base Stack
Base Stack installs some basic applications and configs that are common to any server build. Specifically automatic updates and firewald with fail2ban for a secure server setup.
## Requirements
A minimal Debian 12 server install with no extra services or packages installed.
2022-11-17 09:47:11 -08:00
## Install
2024-03-14 15:22:38 -07:00
If you already have git installed:
2022-11-17 09:47:11 -08:00
```
cd /usr/local/src/
git clone https://git.stack-source.com/msb/base-stack.git
cd base-stack
bash install.sh
```
If you do not have git installed yet use wget & tar method instead (installer will add git to the OS for future use):
```
cd /usr/local/src/
wget https://git.stack-source.com/msb/base-stack/archive/master.tar.gz --output-document=base-stack-master.tar.gz
tar -xzf base-stack-master.tar.gz
cd base-stack
bash install.sh
```
2024-07-26 16:09:13 -07:00
## Usage
See the [wiki](https://git.stack-source.com/msb/base-stack/wiki) for additional info and how to use the include bash scripts to manage blacklists.
2022-11-17 09:47:11 -08:00
2024-03-14 15:22:38 -07:00
## MTA
For an integrated and full featured mail server configuration it's recommended to install vmail-stack:
https://git.stack-source.com/msb/vmail-stack
If you just want a minimal smtp mail server for getting automated emails (cron, website contact forms, etc.) off the server you can install and configure exim4-daemon-light with these commands:
```
apt -y install exim4-daemon-light mailutils
sed -i "s|dc_eximconfig_configtype='local'|dc_eximconfig_configtype='internet'|g" /etc/exim4/update-exim4.conf.conf
/usr/sbin/update-exim4.conf
systemctl restart exim4
echo "user@example.com" > /root/.forward
```
2022-11-17 09:47:11 -08:00
## License
Copyright (c) 2024 Matthew Saunders Brown <matthewsaundersbrown@gmail.com>\
2022-11-17 09:47:11 -08:00
GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)