How to Update Ubuntu and the differences between Upgrade and Dist-upgrade

How to update Ubuntu Info from man apt-get: update update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and scans the Packages.gz files, so that information about new and … Read more

Installing Samba on Ubuntu 21.04

To install Samba, we run: We can check if the installation was successful by running: The following should be its output: Setting up Samba Now that Samba is installed, we need to create a use and directory for it to share: Add a user Add a directory to share (replace your username here). The command … Read more

CUDA Toolkit 11.4 Update 2 Downloads

Cuda Toolkit on Ubuntu WSL https://developer.nvidia.com/cuda-downloads?target_os=Linux Uninstall all linux distributions. Uninstall WSL (right-click on the windows start logo> App and Features> Enable or disable windows features> uncheck the box for Windows Subsystem for Linux). Restart the computer. Open PowerShell in administrator mode and perform the simplified installation of WSL, as it already (i) enables the … Read more

How to Install WP-CLI on cPanel

To install and use WP-CLI, you will need access to your server’s command line. Administrators with root access can log in with SSH. cPanel users can log in with SSH if it’s available or cPanel’s built-in Terminal. Download WP-CLI Change Permissions To allow every user to run WP-CLI, we have to move it to a … Read more

How To Install and Secure Redis on Ubuntu

In order to get the latest version of Redis, we will use apt to install it from the official Ubuntu repositories. Update your local apt package cache and install Redis by typing: This will download and install Redis and its dependencies. If on A regular Ubuntu distribution, change the configuration for the server to run … Read more

Docker Network and Other Commands

Docker Network commands Docker Example To illustrate this, we will use a Hive and Hadoop environment, containing 5 Docker Containers from – https://github.com/mesmacosta/docker-hive. Since I am on windows, I use Github desktop. Launch Github desktop and then go to File >> Clone Repository >> URL. Go to https://github.com/mesmacosta/docker-hive – Click on Code > Copy. Paste … Read more

Cannot install nvidia-390 driver, ubuntu 21

Run sudo /usr/bin/nvidia-uninstall to uninstall a manually installed driver, if you still got one. Remove everything of your old NVIDIA driver (simulate first): If only nvidia packages are there to be removed, remove really: Run sudo apt update and ubuntu-drivers devices again. If nvidia-390 is still recommended, add your output of sudo ubuntu-drivers autoinstall again.