Resources, Articles, Tricks, and Solutions in connection to DIGITALOCEAN

How to Install Wireguard on Digitalocean server running Ubuntu 22.04 (Jammy Jellyfish) ?

This article covers how wireguard works on the Digitalocean platform running Ubuntu 22.04 (Jammy Jellyfish). In fact, WireGuard's encryption relies on public and private keys for peers to establish an encrypted tunnel between themselves. Each version of WireGuard uses a specific cryptographic cipher suite to ensure simplicity, security, and compatibility with peers.

Here, you will learn how to route the peer's Internet traffic through the WireGuard server in a gateway configuration, in addition to using the VPN for an encrypted peer-to-peer tunnel.

WireGuard vs OpenVPN , Which is better?

  • WireGuard offers a more reliable connection for mobile users than OpenVPN because it handles network changes better. 
  • OpenVPN adds a data overhead of up to 20%, whereas WireGuard uses just 4% more data (compared with not using a VPN). 
  • VPN services need to include mitigations to ensure user privacy when using WireGuard.

Read More

More about Digitalocean kubectl

This article covers how to use Digitalocean kubectl. In fact, Kubectl is a command-line tool designed to manage Kubernetes objects and clusters. It provides a command-line interface for performing common operations like creating and scaling Deployments, switching contexts, and accessing a shell in a running container.

To test that kubectl can authenticate with and access your Kubernetes cluster, use cluster-info:

$ kubectl cluster-info

To view your kubectl configuration, use the view subcommand:

$ kubectl config view

To fetch a list of clusters defined in your kubeconfig, use get-clusters:

$ kubectl config get-clusters

The general syntax for most kubectl management commands is:

$ kubectl command type name flags


  • command is an operation you'd like to perform, like create.
  • type is the Kubernetes resource type, like deployment.
  • name is the resource's name, like app_frontend.
  • flags are any optional flags you'd like to include.

Read More

Using SCP Command in DigitalOcean Server - All about it ?

This article covers how to use SCP command in DigitalOcean to transfer files. In fact, The secure copy protocol also follows regular command-line and SSH functionality, helping to create a seamless command set for managing files between Linux machines.

SCP Command Options includes:

  • -1 Use protocol 1.
  • -2 Use protocol 2.
  • -4 Only use Ipv4 addresses.
  • -6 Only use IPv6 addresses.
  • -B Run in batch mode, disabling all queries for user input.
  • -b buffer_size Specify the buffer size used for data transfer. If not specified, uses the default - 32768 bytes.
  • -C Enable compression.
  • -c cipher Select the cipher for data encryption. If not specified, SCP uses the default - ‘AnyStdCipher’.
  • -D debug_level Set the debug level (1, 2, 3, or 99).
  • -d Copy the file, only if the destination directory already exists.
  • -F file Specify an alternative configuration file for SSH.
  • -h Show a list of command options.
  • -i file Specify the file from which to read the identity for public key authentication.
  • -l limit Limit the bandwidth (specify the limit in Kbit/s).
  • -o ssh_option Set options to SSH in ssh_config format.
  • -P port Specify the port to which to connect. If not specified, SCP uses port 22.
  • -q Run SCP in quiet mode.
  • -Q Disable displaying any file transfer statistics.
  • -r Copy recursively.
  • -S program Use a specified program for encryption connection.
  • -u Delete the source file once the copy is complete.
  • -v Enable verbose mode, which sets the debug level to 2.

Read More

Install VirtualBox on Digitalocean Ubuntu droplet - Step by step guide ?

This article covers how to install VirtualBox on a Digitalocean Droplet running Ubuntu.

How to use VirtualBox on Ubuntu Linux system ?

To Launch the VirtualBox interface , run the following command:

$ virtualbox

Read More

Using DigitalOcean Droplet on PuTTY ssh client

This article covers how to use Putty on the Digitalocean platform. In fact, DigitalOcean Droplets are Linux-based virtual machines (VMs) that run on top of virtualized hardware. Each Droplet you create is a new server you can use, either standalone or as part of a larger, cloud-based infrastructure.

How to Destroy a Droplet from the DigitalOcean Control Panel ?

Deleting a Droplet permanently and irreversibly destroys the Droplet and its contents, and its automated backups. Optionally, you can also destroy a Droplet and its associated snapshots, volumes, and volume snapshots. 

  • To save one or more of the backup images, convert the backup into a snapshot before deleting the Droplet.
  • To destroy a Droplet from the control panel, open the Droplet's More menu and click Destroy. Alternately, you can click the Droplet's name to access its main page and select Destroy from the left menu.
  • On the Destroy page, there are two headings: Destroy Droplet and backups and Rebuild Droplet. Under Destroy Droplet and backups, you can choose to destroy the Droplet and its backups. If the Droplet has associated resources, you can also choose to delete some or all of them, but they are not destroyed by default.
  • If you wish to retain a backup, you must convert it to a snapshot before deleting it. Any associated reserved IP addresses, load balancers, or firewalls still need to be deleted individually.

Read More

The Cron Job in Digitalocean - How it works ?

This article covers how to install and use cron in the Digitalocean platform. In fact, you can now start scheduling jobs in the server.

How to start Cron Service ?

Almost all Linux distributions comes with pre installed cron by default. In case if its not installed on your machine, you can install it using following command:

# apt-get install cron

Now check the status of cron service, it should be running in the background by default, you can start it with start command if its in stopped state:

# service cron start
# service cron status 

Once your cron service is fine you can proceed forward and start using it. For more help about its usage you can check its man pages by executing below command:

# man crontab

Read More

Install Discord on openSUSE Leap 15 - Step by step guide ?

This article covers how to install the Discord application on openSUSE OS via different methods. In fact, Discord is a free voice, video, and text chat app used by tens of millions of people ages 13+ to talk and hang out with their communities and friends.

Read More

Install Foxit Reader on openSUSE Leap 15.3 - Step by step guide ?

This article covers how to install Foxit Reader on openSUSE. In fact, Foxit Reader Provide authors with comments on documents, be notified when new document versions become available, discuss interesting topics right in the document, or securely open protected documents.

Read More

Install VLC Media Player on OpenSUSE LEAP 15.4 BETA

This article covers the installation of VLC media player on openSUSE system using different methods. In fact, VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs and various streaming protocols.

Read More

Install Zoom on openSUSE Leap 15.3 - Step by step guide ?

This article covers the installation of Zoom on openSUSE using different methods. In fact, Zoom is great for video conferencing and online meetings.

Read More

Install Microsoft Teams on openSUSE - Step by step guide ?

This article covers the installation of Microsoft Teams on the openSUSE system. In fact, Using either the repository or the snap package manager, you can easily install Microsoft Teams on your openSUSE.

Why use Microsoft Teams?

  • Meetings in groups make this process a lot easier. You may start conversing with the attendees about the agenda as soon as you create the meeting, exchange the files you need them to review, and keep track of the meeting notes and to-dos as soon as you create the meeting.
  • You no longer have all the email-on-email responses, which are often delivered as a Reply All, because discussions are now held in a structured way in your Teams.
  • The call recording is immediately available in the same tab, so you don’t have to look for it if you missed the meeting. It’s right there, along with the meeting minutes and agreed-upon tasks.
  • In Teams, you may use the chat box to have brief conversations with your coworkers.
  • You can access all of your apps and documents right away with the Teams phone app.
  • In Teams, you can create a Word, Excel, or PowerPoint document, share it with your teammates right away, and then co-author it in the single glance.

Read More

Install AnyDesk on openSUSE 15.3 system - Step by step guide ?

This article covers how to install AnyDesk remote desktop application on openSUSE system. In fact,  you can easily set up the AnyDesk remote desktop application on your system.

Read More

Install NGINX on openSUSE - Step by step guide ?

This article covers how you can easily install Nginx on your openSUSE system. In fact, Nginx or engine x is a high-performance HTTP- and proxy server with low memory consumption. It is used by large scale websites like Netflix, Pinterest, CloudFlare , Github etc. Nginx has an easy to learn configuration syntax and can act also as a load balancer with health checks and reverse proxy with caching features.

You can Install Nginx with the "zypper in" command:

$ zypper in nginx

Start nginx and enable it to be started at boot time:

$ systemctl start nginx
$ systemctl enable nginx

Read More

Install Steam on openSUSE - Step by step guide ?

This article covers how to install steam on openSUSE using different methods. In fact, Steam ( is a software content delivery system developed by Valve software ( 

How To Uninstall steam from Ubuntu 20.04 ?

To uninstall only the steam package we can use the following command:

$ sudo apt-get remove steam

We can use the following command to remove steam configurations, data and all of its dependencies, we can use the following command:

$ sudo apt-get -y autoremove --purge steam

Read More

Install TeamViewer on openSUSE Leap 15.3 - Step by step guide ?

This article covers how to install TeamViewer on the openSUSE machine through the .rpm package and also how to run TeamViewer on openSUSE without installation. In fact, TeamViewer is a cross-platform application that enables an user to control remote computers over the internet or network.

Read More

Install Java on openSUSE Leap 15.3 - Step by step guide ?

This article covers how to install Java on openSUSE via different methods. In fact, Java is a general-purpose, class-based, object-oriented multipurpose programming language that is popular due to the design of having lesser implementation dependencies, meaning that the compiled Java code can be run on all platforms that support Java without the need for recompilation. 

Read More

Install Google Chrome On openSUSE - Step by step guide ?

This article covers the different ways of installing Google Chrome on openSUSE. In fact, Google Chrome is the most used Internet Explorer software on the earth, which is currently the primary browser of more than 2.65 billion internet users.

How to Update Google Chrome Browser on openSUSE?

To update Google Chrome, run the zypper refresh command in your terminal:

$ sudo zypper refresh

This command should be used regularly to make sure all your system packages are kept up to date.

Read More

Install Skype on openSUSE Leap 15.3 - Step by step guide ?

This article covers how to install Skype on openSUSE Linux System. In fact, you can also look at some alternatives of Skype such as Slack, Microsoft Teams, Zoom, Zimbra, Nextcloud, etc.

Read More

Enable SSH on openSUSE Leap 15.3 - Step by step guide ?

This article covers how you can enable SSH on your openSUSE system. In fact, after enabling the SSH server, it is important to secure your SSH server to avoid various security risks. 

How to install  and enable FirewallD on openSUSE system ?

Run the following zypper command:

$ sudo zypper ref
$ sudo zypper update
$ sudo zypper install firewalld

Enable the firewall at boot time using the systemctl command:

$ sudo systemctl enable firewalld

Start the firewall on OpenSUSE Linux:

$ sudo systemctl start firewalld

Get status of your firewall:

$ sudo systemctl status firewalld

Read More

openSUSE Linux OS Version - How to find it ?

This article covers the different ways of checking your openSUSE version. 

Steps to to find openSUSE Linux version:

  • Open the terminal application.
  • For remote SUSE server use the ssh command.
  • Now type cat /etc/os-release to display OpenSUSE/SUSE Linux version.
  • You can also use the lsb_release -a to figure out which version of the openSUSE Linux is installed.
  • Another option to list OpenSUSE/SUSE version is to type the hostnamectl command.

Read More

Digitalocean err_connection_refused - Fix it Now ?

This article covers methods to resolve DigitalOcean error. SSH service uses sshd daemon to listen to the incoming connections and handles user authentication, terminal connections, and many more. If this service crashes, the connection fails, and results in SSH Connection refused error in DigitalOcean servers.

To fix this error, start by identifying and researching on the root cause of service failures. 

The reasons can be traffic impales, disk errors, resource breakdowns, DDoS attacks, and many more.

Sometimes the backend service fails or doesn't respond. 

In this case, we kill the dead process and restart the service. 

For example, In CentOS 7 droplet, we restart the SSH service using the below command:

$ systemctl restart sshd

Read More

Deploy PHP application with Kubernetes on Ubuntu

This article will guide you on steps to deploy #PHP application with Kubernetes on #Ubuntu. 

Kubernetes, at its basic level, is a system for running and coordinating containerized applications across a cluster of machines. 

It is a platform designed to completely manage the life cycle of containerized applications and services using methods that provide predictability, scalability, and high availability.

#Kubernetes really shines when your #application consists of multiple services running in different containers.

Kubernetes, also referred to as K8s, is an open source system used to manage Linux Containers across private, public and hybrid cloud environments. 

In other words, Kubernetes can be used to manage microservice architectures and is deployable on most cloud providers.

Read More

Create a DigitalOcean Space and API Key

This article will guide you on the steps to create #DigitalOcean #Space and #API Key. You will also see the #server #URL, bucket name (or Space name), access key, and secret. With this information you can connect most any S3-compatible client or library to your new DigitalOcean Space!

Read More

How to install WordPress using One-Click Install on DigitalOcean

This article will guide you on the process to install #WordPress by using One-Click Install feature on DigitalOcean.
#DigitalOcean is a cloud hosting provider headquartered in New York City with data centers across the globe. Its seamless connectivity allows users to deploy and scale multiple web applications simultaneously without any lag. DigitalOcean offers private virtual Linux OS-powered machines called  ‘droplets’.

Read More