Last updated: 04/07/2026 ------------------------ == Do these steps as root unless otherwise noted apt update apt upgrade apt install zip gcc g++ make php-curl php-gd php-mbstring php-zip p7zip-full mc apt install php-xml apache2 mysql-server php libapache2-mod-php php-mysql apt install python3 python3-pip libarchive-dev certbot python3-certbot-apache apt install cmake plocate monit php-intl apt install clamav vi /etc/hostname # Set your host name here hostname -F /etc/hostname apt install postfix mailutils add-apt-repository ppa:ondrej/php apt update apt upgrade cpan -i XML::SAX cpan -i LWP::Simple mysql_secure_installation mysql -p create database joomla; CREATE USER 'joomla'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON * . * TO 'joomla'@'localhost'; quit; vi /etc/apache2/mods-available/dir.conf # Move index.php to the start of the line vi /etc/php/8.4/apache2/php.ini - uncomment mysqli line max_execution_time = 9000 max_input_time = 9000 memory_limit = 512M post_max_size = 16M upload_max_filesize = 16M set all tmp strings to /tmp output_buffering = 0 a2dismod php8.3 a2enmod php8.4 service apache2 restart == Set Timezone timedatectl # show current zone timedatectl list-timezones # List the available timezones timedatectl set-timezone If using fremont server use this: timedatectl set-timezone America/Los_Angeles == email setup postconf -e "home_mailbox = Maildir/" vi /etc/postfix/main.cf # change inet_protocols to ipv4 not all service postfix restart If wanting the courier/imap services do these: apt install courier-pop courier-imap php7.4-imap apt install php-imap phpenmod imap service courier-authdaemon start systemctl enable courier-authdaemon service postfix restart service apache2 restart == download akeeba kickstart if restoring website: wget https://www.akeeba.com/download/akeeba-kickstart/8-0-6/kickstart-core-8-0-6-zip.zip == Run certbot to get your SSL certs certbot --apache == Add to the crontab: crontab -e >>> 0 0 * * * /usr/bin/clamscan --exclude-dir=/root/.clamtk/viruses --exclude-dir=smb4k --exclude-dir=/run/user/root/gvfs --exclude-dir=/root/.gvfs --exclude-dir=.thunderbird --exclude-dir=.mozilla-thunderbird --exclude-dir=.evolution --exclude-dir=Mail --exclude-dir=kmail -i -r /root /var/www/html --log="$HOME/.clamtk/history/$(date +\%b-\%d-\%Y).log" 2>/dev/null # clamtk-scan */5 * * * * wget -O /dev/null "https://macos.retro-os.live/index.php?option=com_community&task=cron" > /dev/null 2>&1 --no-check-certificate 55 23 * * * /root/sitemap/makesitemap > /dev/null 2>&1 <<< == Add to /etc/aliases: >>> hostmaster: root webmaster: root abuse: root dmca: root info: root contact: root amiga: root invite: root forum: root download: root donate: root helpdesk: root donation: root bugs: root root: someuser clamav: root devnull: /dev/null monit: root <<<