Showing headlines posted by linuxer

« Previous ( 1 ... 13 14 15 16 17 18 19 20 21 22 23 ... 33 ) Next »

How to Debug Bash Scripts

There are techniques from traditional programming environments that can help. Some basic tools like using an editor with syntax highlighting will help as well. There are builtin options that Bash provides to make debugging and your everyday Linux System Administration job easier.

How to Stream Video From VLC

Most Linux users are at least familiar with VLC, and a good portion of them have it installed. What many don't know is that VLC can handle much more than just playing your videos. In addition to its many other options, VLC can easily stream a video over your network.

How to Save Space with Symlinks and Mount Points

  • linuxconfig.org; By Nick Congleton (Posted by linuxer on Aug 10, 2019 6:45 AM EDT)
  • Story Type: Tutorial; Groups: Linux
When you're stuck with limited storage space, there's always the option of purchasing more storage, but what if you can't. Devices like Chromebooks and some laptops are fairly limited. Thankfully, Linux has a few tricks to help to make your Linux system administration job easier. Because Unix-like systems treat everything as a file, you can easily use symbolic links and mounted partitions to maximize space.

How dd command works in Linux with examples

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Aug 6, 2019 4:51 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Dd is a vary powerful and useful utility available on Unix and Unix-like operating systems. As stated in its manual, its purpose is to convert and copy files. On Unix and Unix-like operating systems like Linux, almost everything is treated as a file, even block devices: this makes dd useful, among the other things, to clone disks or wipe data. The dd utility is available out of the box even in the most minimal installation of all distributions. In this tutorial we will see how to use it and how we can modify its behavior by using some of the most commonly used options to make your Linux system administration job easier.

Introduction to MySQL/MariaDB database SQL views

A database view is nothing but a virtual table, which does not contains data itself, but references data contained in other tables. Views are basically the result of stored queries which can vary on complexity and can be used, for example, to hide data from users, allowing access only on selected columns of a table, or simply to provide a different point of view on the existing data. In this tutorial we will see how to create, update, alter and drop a view on a MySQL, MariaDB database.

Executing commands on a remote machine from Java with JSch

SSH is an every-day tool of any Linux System Administration job. It is an easy and secure way to access remote machines on the network, transfer data and execute remote commands. Apart from interactive mode, there are many tools exist that enable automation of remote tasks that also rely on the existing ssh server/client architecture. For one such tool, you can read about ansible on Ubuntu for example. You can also find many implementations of the ssh client, but what about accessing the abilities ssh provides from code?

How to perform web requests with PHP using the cURL extension

The open source libcurl is client-side URL transfer library which supports a lot of protocols like FTP, HTTP, HTTPS and works on a multitude of platforms. The PHP cURL module let us access the functionalities provided by the library from the PHP programming language. In this tutorial we will see how to install the module and how to use it to perform simple requests.

Raspbian GNU/Linux upgrade from Stretch to Raspbian Buster 10

The upgrade from Raspbian Stretch to Raspbian 10 Buster is a relatively simple procedure. However, exercise caution, as there is always a chance to break the entire system. The fewer installed 3rd-party packages and services, the more likely you are able successfully to upgrade your Raspbian Linux system.

How to Install Netflix in Kodi on Ubuntu and Debian

With the arrival of Kodi 18 Leia also came the ability to access DRM restricted content from servies like Netflix. As of now, the Netflix add-on isn't in the official Kodi repositories, but it's easy enough to install and set up on Debian and Ubuntu, and that includes installations on the Raspberry Pi.

How to use graphical widgets in bash scripts with zenity

Zenity is a very useful utility which let us create graphical user interfaces for our shell scripts. Several widgets exists, and can be used by invoking the program with the respective options. The widgets are based on the GTK toolkit, and return the result of the user interaction either on the standard output or as a return code.

Easy way to create a Debian package and local package repository

This article describes a simple way to create a home made debian package and include it into a local package repository. Although we could use an existing Debian/Ubuntu package, we will start from scratch by creating and packaging our own trivial application. Once our package is ready, we will include it into our local package repository. This article illustrates a very simplistic approach, however it may serve as a template in many different scenarios.

How to Set Up a LEMP Server on Debian 10 Buster

LEMP is an excellent alternative to traditional LAMP servers. Nginx is lighter weight and faster than Apache in some situations. It can also be configured to do other useful things, like serve as a reverse proxy. Just like with LAMP, Debian is an excellent platform for LEMP servers. Everything you need is available in the Debian repositories, so it's simple to get started.

Persisting data into a PosgreSQL database with PHP

PHP is a widely used server scripting language. It's vast capabilities and lightweight nature makes it ideal for web frontend developing, and while it is possible to create advanced structures in it, it's basic usage also easy to learn, which makes it a good starting point for beginners also. In this tutorial we will build a simple webpage to record and display user data. We will use a PostgreSQL RDBMS as backend, and develop our application in PHP that will run on an Apache Webserver.

How fstab works - introduction to the /etc/fstab file on Linux

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Jul 1, 2019 9:57 PM EDT)
  • Story Type: Tutorial; Groups: Linux
The /etc/fstab file is one of the most important files in a Linux-based system, since it stores static information about filesystems, their mountpoints and mount options. In this tutorial we will learn to know its structure in details, and the syntax we can use to specify each entry in the file.

How to extend the GNOME Nautilus file manager with custom scripts

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Jun 28, 2019 5:55 PM EDT)
  • Story Type: Tutorial; Groups: GNOME, Linux
Although GNOME, in its 3.x iteration has been the object of many debates, due to its non-traditional desktop paradigm, it is probably the most used desktop on Linux. The default file manager included in GNOME is Nautilus (the application new name is "Files"). In this tutorial we will see how we can extend the file manager with functionalities provided by custom scripts.

How to Use UFW on Debian 10 Buster Linux

UFW is very simple to use and configure. It's available right in the Debian repositories, and it integrates well into a Debian system. The simplified controls and ability to easily start and stop your firewall make in an excellent option for desktops and small servers.

How to Reuse PHP Code Effectively - Introduction to PHP traits

Originally developed by Rasmus Lerdorf in 1994, PHP is one of the most used general-purpose programming languages. Originally born as a template language, during the years it evolved into a fully-featured language with proper OOP (Object Oriented Programming) support. Its latest incarnation, 7.x, introduced new features like return type declaration for functions and huge performance improvements. PHP is a single inheritance language: this means that a class can inherit only for one parent or base class. To overcome this problem a feature was introduced in the language: traits. In this article we will see how to use it and how it works.

How to setup AMule and control it via web interface on a Raspberry Pi

AMule is a p2p, open source client for the eD2k network. Released under the GPL license, it supports a lot of platforms and operating systems. In this tutorial we will see how to install a minimal, headless version of AMule on Raspbian "Stretch", the latest version of the official Raspberry Pi OS. We will see how to setup the amule-daemon and adjust the firewall rules in order to control it via web interface.

How to install Chef Server, Workstation and Chef Client on Ubuntu 18.04

Chef is a Ruby based configuration management tool used to define infrastructure as code. This enables users to automate the management of many nodes and maintain consistency across those nodes. Recipes declare the desired state for managed nodes and are created on a user’s workstation using the Chef Workstation package. Your recipes are distributed across nodes via a Chef server. A Chef client, installed on each node, is in charge of applying the recipe to its corresponding node. This guide will show you how to install and configure a Chef Server and Chef Workstation. We will also bootstrap a node to manage with Chef.

How to Set Up RVM on Debian 10 Buster

If you plan on doing any sort of Ruby development, RVM is a must. Even though Debian does have its own Ruby packages, they're bound to Debian's release schedules, making them an inflexible option for your projects. RVM is simple to get set up, and it allows a much greater decree of flexibility, no matter what sort of projects you're working on.

« Previous ( 1 ... 13 14 15 16 17 18 19 20 21 22 23 ... 33 ) Next »