Lateo.net - Flux RSS en pagaille (pour en ajouter : @ moi)

🔒
❌ À propos de FreshRSS
Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
À partir d’avant-hiernixCraft

How to run script after mounting NFS with systemd in Linux

Par : Vivek Gite
See all systemd related Howtos/Tutorials

If you need to execute a shell script or command following the mounting of a particular file system in Linux using systemd, you can do so. For instance, you can run a backup task when a USB hard disk is mounted or adjust specific options at runtime when NFS is mounted.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to run script after mounting NFS with systemd in Linux appeared first on nixCraft.

How to check ZFS File system storage pool on Linux/Unix

Par : Vivek Gite
See all GNU/Linux related FAQ

First, there is no fsck command for ZFS, which Linux and Unix use for file system repair. However, ZFS comes with a scrub option. This subcommand is a root-initiated dynamic consistency check. It runs in the background on a mounted live filesystem. Hence, we use the zpool scrub command for ZFS storage and test file system integrity. Let us see how to check ZFS File system storage pool on Linux, FreeBSD or Unix-like systems using the command-line option.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to check ZFS File system storage pool on Linux/Unix appeared first on nixCraft.

How to switch boot target to text or GUI in systemd Linux

Par : Vivek Gite
See all systemd related Howtos/Tutorials

Most modern Linux distro uses systemd as init replacement. It is a suite of basic building blocks for Linux distros such as RHEL/CentOS & co, OpenSUSE/SUSE, Fedora, Arch, Debian, Ubuntu, and more. By default, most distro boot into GUI, but you can change to text or vice versa.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to switch boot target to text or GUI in systemd Linux appeared first on nixCraft.

How to set up ZFS ARC size on Ubuntu/Debian Linux

Par : Vivek Gite
See all Ubuntu Linux related FAQ

When working with Ubuntu, Debian Linux, and ZFS, you will run into ZFS cache size problems. You see, not all Ubuntu or Debian servers need aggressive file caching. Some servers act as a web server or run Linux container workloads or KVM guest VMs where you want those guest VMs to manage their own caching. Therefore, it would be best to have tons of ECC RAM for ZFS. Unfortunately, not all projects get that kind of extravagance in real life. This page explains how to set up ZFS arc size on Ubuntu/Debian or any Linux distro of your choice. So that, Linux kernel avoid running out of memory.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to set up ZFS ARC size on Ubuntu/Debian Linux appeared first on nixCraft.

How to restart systemd without rebooting Linux when critical libraries installed

Par : Vivek Gite
See all systemd related Howtos/Tutorials

Whenever we update a critical library such as OpenSSL, we need to restart any daemons that use the library. Systemd with PID 1 itself also uses OpenSSL. How do you restart the systemd daemon without rebooting Linux and other services such as Nginx, SSHD, Firewalld? Here are some tips.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to restart systemd without rebooting Linux when critical libraries installed appeared first on nixCraft.

How to enable rc.local shell script on systemd while booting Linux system

Par : Vivek Gite

How to enable rc.local shell script on systemd while booting Linux system

We can easily enable rc.local shell script support on systemd while booting the Linux system. Traditionally, the shell script /etc/rc.local used by developers and Linux sysadmin to call other scripts or commands after all services are loaded. Typically /etc/rc.local get called at the end when Linux init switched to a multiuser runlevel. However, by default. /etc/rc.local support is disabled under systemd. This page shows how to enable and execute rc.local shell script during boot using systemd on Linux.

The post How to enable rc.local shell script on systemd while booting Linux system appeared first on nixCraft.

How to create a Linux swap file

Par : Vivek Gite

I am a new Linux system developer and user. How do I create a Linux swap file from the command line option for my cloud server? How can I add swap space on my Ubuntu 20.04 LTS or CentOS Linux 7/8 server?

The post How to create a Linux swap file appeared first on nixCraft.

How to extract tar.xz files in Linux and unzip all files

Par : Vivek Gite


How do I extract tar.xz files in Linux? Can you tell me command to unzip linux-5.6.13.tar.xz file? How can I uncompressing (or decompressing) all files in the current directory?

The post How to extract tar.xz files in Linux and unzip all files appeared first on nixCraft.

Systemd systemctl list all failed units/services on Linux

Par : Vivek Gite

Is there is a command to print list all failed units or services when using systemd on Linux? Can you tell me the systemctl command to show failed services on Linux?

The post Systemd systemctl list all failed units/services on Linux appeared first on nixCraft.

Linux extend file system after resize disk volume

Par : Vivek Gite

I increased the size of the volume in Linux using my cloud service providers' online tool. My original disk size was 200GB, and I grew to 400GB. However, I only able to use 200GB and not 400GB. How do I resizing my disk and extend the file system resizing a disk volume?

The post Linux extend file system after resize disk volume appeared first on nixCraft.

How to check and list installed packages in CentOS Linux

Par : Vivek Gite

How do I check installed packages in CentOS Linux version 6.x/7.x/8.x? How can I List installed packages on CentOS Enterprise Linux server?

The post How to check and list installed packages in CentOS Linux appeared first on nixCraft.

Change netplan renderer from networkd to NetworkManager

Par : Vivek Gite

I prefer to use NetworkManager on my Ubuntu desktop, but currently, it is using networkd. As a result, I cannot set up or configure NetworkManager using GUI tools. Is there anyway to change netplan renderer from networkd to NetworkManager running on Ubuntu Linux? How can I change netplan renderer in Ubuntu Linux?

The post Change netplan renderer from networkd to NetworkManager appeared first on nixCraft.

Can I delete /var/cache/apt/archives for Ubuntu/Debian Linux?

Par : Vivek Gite

I noticed that /var/cache/apt/archives/ taking lots of disk space on my AWS EC2 cloud server powered by Debian Linux. Can I delete /var/cache/apt/archives/ folder? Is it safe to remove all files? Do we absolutely necessary to keep all these files?

The post Can I delete /var/cache/apt/archives for Ubuntu/Debian Linux? appeared first on nixCraft.

How to upgrade Debian 9 to Debian 10 Buster using the CLI

Par : Vivek Gite

I have Debian 9.x installed on AWS EC2. How do I upgrade Debian 9 Stretch to Debian 10 Buster using the apt command/apt-get command CLI? How can I upgrade Debian 9 to Debian 10 using ssh client?

The post How to upgrade Debian 9 to Debian 10 Buster using the CLI appeared first on nixCraft.

How to check RAID configuration in Linux

Par : Vivek Gite

I need to check RAID configuration in Linux. How do you check your current software RAID configuration in a Linux-based server powered by RHEL/CentOS or Debian/Ubuntu Linux?

The post How to check RAID configuration in Linux appeared first on nixCraft.

How to install and use Nginx on OpenSUSE Linux server

Par : Vivek Gite

How do I install and configure the latest version of Nginx web server on OpenSUSE Linux server using the CLI and host a static site?

The post How to install and use Nginx on OpenSUSE Linux server appeared first on nixCraft.

❌