Check version of phpmyadmin ubuntu4/9/2023 ![]() ![]() Sed -i "s/#ClientAliveInterval 0/ClientAliveInterval 60/" /etc/ssh/sshd_config Sed -i "s/#TCPKeepAlive yes/TCPKeepAlive yes/" /etc/ssh/sshd_config If you want the SSH Daemon to keep your connections alive, you can run the following commands: Ln -sf /usr/share/zoneinfo/UTC /etc/localtime Set SSH to KeepAlive Add some PPAs to stay currentĪpt-get install -y software-properties-commonĪpt-get update apt-get install -y build-essential curl nano wget lftp unzip bzip2 arj nomarch lzop htop openssl gcc git binutils libmcrypt4 libpcre3-dev make python3 python3-pip supervisor unattended-upgrades whois zsh imagemagick uuid-runtime net-tools zip dirmngr apt-transport-https Set the timezone to UTC We choose the port range 50000->50099 in order to allow passive FTP connections. ![]() # Skip the following 3 lines if you do not plan on using FTP Install fail2ban and enable firewallĪpt-get update apt-get upgrade -y apt-get install -y fail2ban ufw curl wget htop nano ssh snapd Please note: There may be breaking changes between PHP 7.2/7.3/7.4 and 8.1. Based on on-going experience and community feedback we tweak our stacks and keep this document continuously updated. By provisioning a base Ubuntu Jammy image, and following these steps exactly, you would be able to duplicate our server image. ![]() This document details how we've set up our Ubuntu LAMP (Linux Apache Mysql and PHP) 8.1 stack. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |