Using CurlFtpFS to mount remote FTP directories on Linux

Mount remote ftp directory host locally into linux filesystem

Do you often access your ftp site to make some simple changes or to share some documents that you wish to be accessible from anywhere?

You can make access to your ftp resource easier with the CurlFtpFS Linux utility. This fantastic utility allows you to mount your ftp site to any directory within your Linux filesystem.

In this guide, we’ll go over the installation of CurlFtpFS on major Linux distros, then cover the step by step instructions to configure it.

In this tutorial you will learn:

  • How to install CurlFtpFS on major Linux distros
  • How to mount remote FTP directory using CurlFtpFS
  • How to mount an FTP directory automatically with /etc/fstab

Read more

Configuring Gmail as a Sendmail relay on Linux

Configuring Gmail as a Sendmail email relay

Sendmail is email routing software that can allow Linux systems to send an email from the command line. This allows you to send email from your bash scripts, hosted website, or from command line using the mail command. Another example where you can utilize this setting is for notification purposes such as failed backups, etc.

In this guide, we’ll go over the step by step instructions to configure Gmail as a relay for the sendmail client on Linux. Note that Sendmail is just one of many utilities which can be configured to rely on a Gmail account. Others that are capable of this include postfix, exim, ssmpt, etc. The instructions here should work for any mainstream Linux distribution.

In this tutorial you will learn:

  • Gmail configuration prerequisites
  • How to install Sendmail and mail utilities on Linux
  • How to configure Gmail as a relay for Sendmail
  • How to test the config by sending an email from command line

Read more

maim

How to take screenshots using maim on Linux

On Linux there are many utilities we can use to take screenshots. Every complete desktop environment, such as GNOME, KDE or XFCE has its integrated application specifically designed for this task, but many other small
desktop-independent programs exist. In this tutorial we talk about a very lightweight and versatile command-line application, maim (make image), and we see what are the many options we can use to modify its behavior.

In this tutorial you will learn:

  • How to install maim on the most used Linux distributions
  • How to take a screenshot of all the screen
  • How to save the screenshot in a specific format (png/jpg)
  • How to select a region of the screen interactively
  • How to take a screenshot of a window by passing its id to maim
  • How to take screenshots with a delay
  • How to use maim in a pipeline
maim

Read more

Developing and running an Android app on a Linux system

Get Started with Android application development using Linux and Android SDK

Developers interested in the Android mobile operating system are able to use the Android SDK and various IDE software to code applications. These apps can then be made available and marketed to Android users around the world.

There are a lot of choices when it comes to programming Android applications. Your coding environment can involve a Linux system and a variety of different IDE programs to facilitate all of the software development. The trouble here is that each Linux distribution will often have a different set of requirements to run the sofware, and a separate list of steps that need to be followed.

In this guide, we’ll go through the step by step instructions to install Android Studio – which is one of the most popular Android IDEs – on a Linux system. This will work on any distribution because we’ll be using Snap package manager to manage the installation. Love it or hate it, the Snap package manager gets your system ready for Android development very quickly, by handling all the dependencies and working identically on any distribution you’re running, whether it be Ubuntu, Debian, Red Hat, CentOS, AlmaLinux, openSUSE, or any other type of Linux system.

Follow along with us below as we setup Snap package manager, install Android Studio, and then program a Hello World Android application to verify that everything is working properly.

In this tutorial you will learn:

  • How to setup Snap package manager
  • How to install Android Studio and SDK packages
  • How to create a Hello World test application
  • How to run an Android application on an emulated device

Read more

VNC Remote-Screen Utilities for Linux

VNC Remote-Screen Utilities for Linux

If you manage more than one computer, you may have wanted, at one point or another, a “remote keyboard,” a “remote mouse,” and a “remote screen” for that far-away computer, even if it is just up or down the stairs in your house.

VNC (Virtual network computing) can help here. Think about it as your screen, a keyboard, and a mouse at a remote workstation, controlled via the network and quite usable in terms of speed, even on somewhat slower connections.

A VNC setup usually consists of two or more computers, where the computers which need to be remotely controlled run a server (the VNC server) and the clients which need to connect to it (with the possibility to do so simultaneously in many cases) running a client (the VNC client(s)).

In this tutorial, you will learn:

  • A list of the most prominent VNC utilities available for Linux
  • Which VNC server/client utility we like the best

Read more

How to rip an audio CD from the command line using cdparanoia

How to rip an audio CD from the command line using cdparanoia

Nowadays we are surrounded by devices able to read digital audio, and there are many services such as Spotify which allow to stream content legally. However if you like to buy music on physical support (compact disc), you may want to extract the audio tracks so they can be used on your smartphone or favorite device, or just for backup purposes. There are man tools on Linux which can be used to accomplish such task, but in the vast majority of cases they are just frontend to cdparanoia. In this tutorial we will learn how to use this tool.

In this tutorial you will learn:

  • How to install cdparanoia on the most used Linux distributions
  • How to retrieve drive information
  • How to rip all the audio tracks from a compact disc
  • How to rip specific tracks and/or a specific segment of a track
  • How to pipe the output of cdparanoia to tools like flac or lame to compress the audio tracks
How to rip an audio CD from the command line using cdparanoia

How to rip an audio CD from the command line using cdparanoia

Read more

Using a hex editor to view binary file on Kali Linux

How to install and use Hex editor on Kali Linux

Once a program has been compiled, it’s tough to get a peek at the source code or to manipulate its behavior. But there is one thing we can do, which is to edit the hexadecimal values inside the binary files. This will sometimes reveal information about a file, or allow us to modify its behavior if we can edit the right bit.

A classic example is video game hacks. When playing a game, let’s say your character has a health value of 100. Chances are that a certain bit can be edited to make it 9999. This works more reliably in older, basic games, but it illustrates how hex editors can modify a compiled binary file.

In this guide, we’ll show how to install hex editors on Kali Linux, and give some examples so you can see how to use them on your own system.

In this tutorial you will learn:

  • List of hex editors for Kali
  • How to use hex editors on Kali

Read more

Mediawiki easy deployment with Docker container

About

The automated build docker Mediawiki system (CMS) image “linuxconfig/mediawiki” can be used to instantly deploy Mediawiki on your docker hosts.

Configuration

The Mediawiki runs on Debian GNU/Linux system featuring Apache web server, MariaDB ( MySQL ), database and PHP5. A new docker container based on “linuxconfig/mediawiki” will expose port 80 which can be linked to the docker host port for an immediate Mediawiki web configuration/installation access.

Read more

How to promote Mediawiki user with sysop and bureaucrat privileges

The following lines will describe a procedure on how to promote mediawiki user to sysop and bureaucrat role directly using MySQL database.

Access database

First, connect to your database using mysql client. Depending on your environment you can run something like:

$ mysql -u USER -p PASSWORD

Once you get to the MySQL command prompt select appropriate Mediawiki database. In the example below the database name is wiki:

mysql> use wiki                                                                                                      
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed

Read more

Latex on linux

Introduction to LaTeX on Linux

Introduction

LaTeX is the typesetting system and a markup language that allows for the creation of documents. LaTeX is heavily utilized by the academic and scientific community. LaTeX produces beautiful type and is written in a language that is fairly intuitive. This article will discuss a brief history, introductory usage examples, front-ends, and further readings.

About LaTeX

Latex on linuxFrom its website, LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de-facto standard for the communication and publication of scientific documents. LaTeX is available as free software. LaTeX was first released in 1985 by Leslie Lamport as an extension of TeX. Tex was developed by Donald E. Knuth. It was first released in 1978. LaTeX is used, as mentioned, earlier in academic environments for book publication and article publication. Not to go off-topic, but LaTeX is also used to create the formulas displayed on wikimedia applications such as Wikipedia! In addition to its ability to display formulas and beautifully created pages, LaTeX can do much more but that goes beyond the scope of this article. Look at LaTeX’s homepage for further documentation on LaTeX.

Read more

Best Ubuntu Screen Recorders

Best Ubuntu Screen Recorders

If you ever need to record your screen on Ubuntu Linux, there are a lot of tools you can use to accomplish the task. Not all Linux screen recording software is created equal, and you may find that one tool suits your scenario better than others.

In this guide, we’re counting down our top 5 favorite screen recorders for Ubuntu. We’ll also cover their highlighted features and show you how to install and get started using each one via apt package manager on command line.

In this tutorial you will learn:

  • Top 5 Ubuntu screen recorders
Best Ubuntu Screen Recorders

Best Ubuntu Screen Recorders

Read more

Installing TeamViewer on Linux

How to install TeamViewer on Linux

TeamViewer is used for controlling remote computers, online meetings, file transfers, and a few other things. Being that it’s proprietary software, it can be a little trickier to install it on a Linux system than most free and open source alternatives.

In this tutorial, we’ll guide you through the step by step instructions to install TeamViewer on most major Linux distributions.

In this tutorial you will learn:

  • How to install TeamViewer on Ubuntu, Debian, and Linux Mint
  • How to install TeamViewer on CentOS, Fedora, and Red Hat
  • How to install TeamViewer on Manjaro and Arch Linux

Read more