Posts

Showing posts from October, 2023

Upgrading Openssl for Apache on Ubuntu 15.04

Image
I had to upgrade from  openssl 1.0.1f  to  openssl 1.0.2u  on  Ubuntu 15.04 . Download OpenSSL The solution is to install  openssl  from source, by doing this we can always have the version that we need. To download it type the following command. cd /usr/local/src/ sudo wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz After successfully downloading the source code and installing the required dependency packages, proceed to extract the downloaded file using the command below. Ensure that you are in the directory where the file was downloaded. sudo tar -xf openssl-1.0.2u.tar.gz Compile and Install Next, we’ll install  OpenSSL  which we downloaded, using the below command: sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared ./config -fPIC shared --prefix=/usr/local/ssl --openssldir=/usr/local/ssl sudo make sudo make test # not important here sudo make install The  -fPIC  option stands for  “position i...

Cheat Sheet: Docker, OpenShift, Kubernetes - CLI

  Cheat Sheet: Docker CLI Docker CLI  Command Description curl localhost Pings the application. docker build Builds a Docker image from a specified Dockerfile. docker build . -t Builds the image and tags the image id. docker CLI Starts the Docker Command Line Interface (CLI). docker container rm Removes a container. docker images Displays a list of all available Docker images. docker ps Lists the containers. docker ps -a Lists the containers that ran and exited successfully. docker pull Pulls the latest image or repository from a registry. docker push Pushes an image or a repository to a registry. docker run Runs a command in a new container. docker run -p Runs the container by publishing the ports. docker stop Stops one or more running containers. docker stop $(docker ps -q) Stops all currently running containers. docker tag Creates a tag for a target image that refers to a source image. docker –version Displays the version of the Docker CLI. exit Closes the terminal session...