Apply below, if exist, change value, if not exist, add the line.

Explain: TCPKeepAlive Whether or not to send TCP “alive” message to the connecting clients to test for connection issues. ClientAliveInterval A timeout interval to send encrypted alive message to clients if no data has been received from connection. ClientAliveCountMax Number of times to send […]

Ubuntu 16.04 & Nginx & SSL + Jenkins Ubuntu Initial setup Connect and upgrade

Increase SSL session time

Apply below, if exist, change value, if not exist, add the line.

Create a New User, avoid using root all the time

Give new user Root privileges

Switch to the new user, install public key

Copy the public key content […]

Prerequisite:Make sure you already config AWS CodeDeploy for your desired AWS EC2 server. Check this blog if you want to set it up. Steps: Install Jenkins Plugins: Amazon Web Services SDK , AWS CodeDeploy Plugin for Jenkins , Bitbucket Plugin Generate key, if you don’t have one already: $ ssh-keygen -o -a 100 -t ed25519 […]

We can see if the system has any configured swap by typing:

You can verify that there is no active swap using the free utility:

Check Available Space on the Hard Drive Partition:

Create a Swap File, an amount equal to or double the amount of RAM on your system is a good starting point.

We can verify that […]