Last updated: 03/16/2024 ------------------------ == 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 python3 python3-pip apt install libarchive-dev certbot python3-certbot-apache cmake mlocate finger monit 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 service apache2 restart cpan -i XML::SAX cpan -i LWP::Simple mysql_secure_installation mysql -p create database joomla; use joomla; CREATE USER 'joomla'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON * . * TO 'joomla'@'localhost'; vi /etc/apache2/mods-available/dir.conf vi /etc/php/8.3/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 service apache2 stop service apache2 start == 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/7-2-0/kickstart-core-7-2-0-zip.zip == Run certbot to get your SSL certs certbot --apache