aws s3
To list all bucket, run To delete a bucket, run
Apache Web Server
htpasswd apachectl Apache SSL Apache PHP-FPM Run .html files as PHP in Apache Apache Disable PHP for a web site
Invalid command Header
On a web site running Apache, i got following error in log file [Fri Jan 19 06:43:41.146643 2018] [core:alert] [pid
phpmyadmin
Edit Generate 32 chars length random key and add Or Configure Apache On Ubuntu, create file On CentOS Add following
MySQL root can’t login to phpMyAdmin
On Debian/Ubuntu MySQL root user can only login using socket. This is done with Plugin. To fix this, first set
Getting Started with Amazon ECS
STEP 1: Creating a Cluster First step is creating a cluster. This can be done with CLI or Amazon Console.
aws configure
To configure awscli, run If you have multiple aws account, see Named Profiles To see list of profiles configured, run
Install PHP 5.6 on Debian
Debian 9 come with PHP 7. To install PHP 5.6, run Install PHP 5.6 with Enable SimpleXML module Install php-fpm
curl
Making POST request from curl Using Host Header in curl curl set user agent Check if HTTP/2 enabled using curl
Docker exec
docker exec command allow running commands inside running containers. See docker
Docker Run
Docker run command create container from IMAGE and run it. Here we run nginx docker image. -d = detach after
find
find files by size Find limit search depth Find files older than X minutes Find Inside File Or -r =