Re-Hashed: How to clear HSTS settings in Chrome and Firefox

https://www.thesslstore.com/blog/clear-hsts-settings-chrome-firefox/ HSTS stands for HTTP Strict Transport Security, it’s a web security policy mechanism that forces web browsers to interact with websites only via secure HTTPS connections (and never HTTP). This helps to prevent protocol downgrade attacks and cookie hijacking. HSTS was originally created in response to a vulnerability that was introduced by Moxie Marlinspike…

Command to make EBS volume available in EC2 Instance

  #view available disk devices [root@ip-172-31-21-110 lib]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 16G 0 disk └─xvda1 202:1 0 16G 0 part / xvdf 202:80 0 4G 0 disk #Check for filesystem exist [root@ip-172-31-21-110 lib]# file -s /dev/xvdf /dev/xvdf: data #Create file systems ext4 [root@ip-172-31-21-110 lib]# mkfs -t ext4 /dev/xvdf…

Running MySQL on Amazon EC2 with EBS (Elastic Block Store)

https://aws.amazon.com/articles/1663 Configuring MySQL to use the EBS volume Now that we have an EBS volume mounted on the instance with a good file system, let’s put the MySQL database on that volume and tell MySQL where it is. Stop the MySQL server. sudo /etc/init.d/mysql stop Move the existing database files to the EBS volume. Point…

Upgrading Apache HTTP Server 2.2 to 2.4 on Ubuntu 12.04

https://www.ivankrizsan.se/2014/07/17/upgrading-apache-http-server-2-2-to-2-4-on-ubuntu-12-04/ service apache2 stop rm -r /etc/apache2/ apt-get remove apache2 apt-get remove apache2* apt-get purge apache2 apache2-utils apache2.2-bin apache2-common apt-get autoremove add-apt-repository ppa:ondrej/apach2 apt-get update apt-get upgrade apt-get install apache2