


- #Ssl for localhost phpmyadmin ubuntu 18.04 install
- #Ssl for localhost phpmyadmin ubuntu 18.04 update
- #Ssl for localhost phpmyadmin ubuntu 18.04 upgrade
- #Ssl for localhost phpmyadmin ubuntu 18.04 zip
Pecl install xdebug Install latest NodeJS LTSĪpt-get install -y nodejs Install MariaDB (MySQL) and set a strong root password This is not installed per default on Webdock stacks - included here for reference. Sed -i "s/ServerSignature On/ServerSignature Off/" /etc/apache2/conf-available/nf If you want XDebug - install it and follow the on-screen instructions Sed -i "s/ServerTokens OS/ServerTokens Prod/" /etc/apache2/conf-available/nf Tweak Apache settings - let's hide what OS and Webserver this server is running Sed -i "s/ request_terminate_timeout =.*/request_terminate_timeout = 60/" /etc/php/5.6/fpm/pool.d/www.conf Sed -i "s/ date.timezone.*/date.timezone = UTC/" /etc/php/5.6/fpm/php.ini */display_errors = Off/" /etc/php/5.6/fpm/php.ini */error_reporting = E_ALL \& ~E_NOTICE \& ~E_STRICT \& ~E_DEPRECATED/" /etc/php/5.6/fpm/php.ini Please note: We are suppressing PHP error output here by setting these options to production values Sed -i "s/ date.timezone.*/date.timezone = UTC/" /etc/php/5.6/cli/php.ini Configure sessions directory permissionsĬhmod +t /var/lib/php/sessions Install Apache and PHP-FPMĪpt-get install -y apache2 apache2-utils php5.6-fpm */display_errors = On/" /etc/php/5.6/cli/php.ini */error_reporting = E_ALL/" /etc/php/5.6/cli/php.ini
#Ssl for localhost phpmyadmin ubuntu 18.04 update
Systemctl restart memcached Update PHP CLI configuration Mv composer.phar /usr/local/bin/composer Install and configure Memcached

Sed -i "s/#ClientAliveCountMax 3/ClientAliveCountMax 3/" /etc/ssh/sshd_config Install PHP5.6 and common PHP packagesĪpt-get install -y php5.6-cli php5.6-dev php5.6-pgsql php5.6-sqlite3 php5.6-gd php5.6-curl php5.6-memcached php5.6-imap php5.6-mysql php5.6-mbstring php5.6-xml php5.6-imagick php5.6-zip php5.6-bcmath php5.6-soap php5.6-intl php5.6-readline php5.6-mcrypt php5.6-common php5.6-pspell php5.6-tidy php5.6-xmlrpc php5.6-xsl php5.6-opcache php5.6-apcu Install Composer 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
#Ssl for localhost phpmyadmin ubuntu 18.04 zip
Add some PPAs to stay currentĪpt-get install -y software-properties-commonĪdd-apt-repository 'deb focal main'Ī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 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
#Ssl for localhost phpmyadmin ubuntu 18.04 upgrade
Install fail2ban and enable firewallĪpt-get update apt-get upgrade -y apt-get install -y fail2ban ufw This stack has been deprecated and is no longer maintained nor available in Webdock. By provisioning a base Ubuntu Focal 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) 5.6 stack for legacy applications.
