Debian / Ubuntu: Find Information ( Description ) About Installed Packages

To find information about installed packages on a Debian-based system such as Ubuntu, you can use the apt-cache command. For example, to find information about the python3 package, you can run the following command: apt-cache show python3 This will display detailed information about the package, including its name, version, description, dependencies, and more. You can … Read more

Nginx Redirect (Rewrite) Old Domain To New Domain With HTTP 301

To redirect an old domain to a new domain using an HTTP 301 redirect in Nginx, you can add the following code to your Nginx configuration file: server { listen 80; server_name olddomain.com; return 301 $scheme://newdomain.com$request_uri; } This code will redirect all traffic from olddomain.com to newdomain.com with a permanent HTTP 301 redirect. The $scheme … Read more

Linux: Install pip Client To Install Python Packages

To install the pip client on Linux, you can use the package manager for your distribution. Here are the commands for some popular distributions: For Debian/Ubuntu: sudo apt-get install python-pip For Fedora: sudo dnf install python-pip For CentOS/RHEL: sudo yum install epel-release sudo yum install python-pip After you have installed pip, you can use it … Read more

Rackspace Cloud Files: Upload Files Using Linux / Unix FTP Command

Rackspace Cloud Files can be accessed using FTP (File Transfer Protocol). Here are the steps to upload files using the FTP command on Linux/Unix: Install the ftp command line client if it is not already installed. You can install it using your operating system’s package manager. Connect to the Rackspace Cloud Files FTP server using … Read more

Rackspace Cloud Files: Upload Files Using Secure FTP (SFTP) Client [ sftp-cloudfs ]

Rackspace Cloud Files supports uploading files using SFTP (Secure FTP) through a tool called sftp-cloudfs. Here are the steps to upload files to Rackspace Cloud Files using SFTP: Install the sftp-cloudfs tool. You can download the tool from GitHub and install it following the instructions provided. Configure the SFTP client with your Rackspace Cloud Files … Read more