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
For some reason ADS tends to enter a deadlock on launch, seemingly | |
because it tends to corrupt its own cache. Anyhow, executing Apache | |
with the "-clean" flag has always fixed it for me. This will clean | |
the caches that store bundle dependency resolution data and OSGi | |
extension data and then recreate them. | |
Windows Batch script (i.e., save in a .bat file): | |
cd "C:\Program Files\Apache Directory Studio" | |
ApacheDirectoryStudio.exe -clean |
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
#! /bin/bash - | |
# Set time zone | |
echo "> Setting timezone.." | |
sudo dpkg-reconfigure tzdata | |
# Initial upgrade/installs | |
echo "> Upgrading system.." | |
sudo apt update && sudo apt upgrade -y |
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
Set Up Secure Django Website: Ubuntu + Nginx, Postgres DB, Certbot, Fail2Ban, UFW | |
********************************************************************************* | |
Using Ubuntu 22.04 deployed on DigitalOcean. Some steps (most of the SSH | |
key configuration) apply more to DigitalOcean. I also used Ubuntu 18.04 | |
but Python version had to be updated to 3.9.7 or many dependencies had | |
to be deprecated. | |
In this setup process, my static files are stored in AWS. If your static | |
storage is configured another way, set the STATIC_ROOT in settings.py. |