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.
Aujourd’hui — 27 janvier 2020nixCraft

Explain DEBIAN_FRONTEND apt-get variable for Ubuntu / Debian

Par Vivek Gite

Can you explain DEBIAN_FRONTEND apt or apt-get variable? How and why I need to use this in Docker or shell scripts under a Debian and Ubuntu Linux?

The post Explain DEBIAN_FRONTEND apt-get variable for Ubuntu / Debian appeared first on nixCraft.

À partir d’avant-hiernixCraft

Ubuntu 20.04 LTS change hostname permanently

Par Vivek Gite

I am a brand-new Ubuntu Linux 20.04 LTS VM user. By default, my server name to 'localhost' during cloud installation, but now I would like to change the computer name to 'ubuntu-2004-nixcraft'. Can you tell me how do I remove the localhost and set it to ubuntu-2004-nixcraft on Ubuntu 20.04 Linux? How do I change the Ubuntu computer name from 'localhost' to 'ubuntu-2004-nixcraft'? Can you tell me more about Ubuntu Linux change hostname command?

The post Ubuntu 20.04 LTS change hostname permanently appeared first on nixCraft.

Linux Rename Multiple Files At a Shell Prompt

Par Vivek Gite

How do I rename multiple files at a shell prompt under a Linux or UNIX operating systems?

The post Linux Rename Multiple Files At a Shell Prompt appeared first on nixCraft.
  • 22 janvier 2020 à 18:58

Upgrade Ubuntu 18.04 to 20.04 LTS using command line

Par Vivek Gite

I need to upgrade the Ubuntu Linux version 18.04 LTS server to a 20.04 LTS server using the command line option. How do I upgrade Ubuntu 18.04 to 20.04?

The post Upgrade Ubuntu 18.04 to 20.04 LTS using command line appeared first on nixCraft.

Protects Linux machines from accidental shutdowns/reboots with molly-guard

Par Vivek Gite

Oops! I did it again. I thought I was logged into my home server. Turns out I rebooted the db server. Another my not so favorite is typing 'shutdown -h 0' into the wrong terminal. I know a few people who have admitted to doing that here.

The post Protects Linux machines from accidental shutdowns/reboots with molly-guard appeared first on nixCraft.
  • 17 janvier 2020 à 14:25

Linux find Windows 10 OEM product key command

Par Vivek Gite

I removed and installed Ubuntu Linux 16.04 LTS on my development Lenovo laptop. However, I need to use my Windows 10 pro in KVM VM for running the accounting app. How do I find and print my embedded Windows 10 pro key from a Linux command line option? How can I retrieve Microsoft Windows 8 and 10 OEM product key from BIOS?

The post Linux find Windows 10 OEM product key command appeared first on nixCraft.

Linux / Unix Rsync Copy Hidden Dot Files and Directories Only

Par Vivek Gite

How do I use the rsync tool to copy only the hidden files and directory (such as ~/.ssh/, ~/.foo, and so on) from /home/jobs directory to the /mnt/usb directory under Unix like operating system?

The post Linux / Unix Rsync Copy Hidden Dot Files and Directories Only appeared first on nixCraft.
  • 16 janvier 2020 à 21:40

Add a new user account with admin access on Linux

Par Vivek Gite

How do I add a user account with admin (sudo) access on Ubuntu or CentOS Linux cloud server? How can I add a new user with admin account level access in Linux?

The post Add a new user account with admin access on Linux appeared first on nixCraft.

Alarm clock Set Timeout For A Shell Command

Par Vivek Gite

How can I run a command called foo, and have it timeout/abort after 10 seconds under GNU/Linux running bash shell or script? How do I run the command under an alarm clock?

The post Alarm clock Set Timeout For A Shell Command appeared first on nixCraft.
  • 16 janvier 2020 à 12:18

How to use/run bash aliases over ssh based session

Par Vivek Gite

I have set up a bash alias named file_repl. It works entirely when I log in using ssh command. However, my bash aliases are not running over ssh, for example:
$ ssh vivek@server1.cyberciti.biz file_replbash: file_repl: command not foundHow do I run bash shell aliases when I use ssh command?

The post How to use/run bash aliases over ssh based session appeared first on nixCraft.
  • 15 janvier 2020 à 17:47

CentOS Linux 8.1 (1911) released and here is how to upgrade it

Par Vivek Gite

CentOS Linux 8.1 (1191) released. It is a Linux distribution derived from RHEL (Red Hat Enterprise Linux) 8.1 source code. CentOS was created when Red Hat stopped providing RHEL free. CentOS 8.1 gives complete control of its open-source software packages and is fully customized for research needs or for running a high-performance website without the need for license fees. Let us see what's new in CentOS 8.1 (1911) and how to upgrade existing CentOS 8.0.1905 server to 8.1.1911 using the command line.

The post CentOS Linux 8.1 (1911) released and here is how to upgrade it appeared first on nixCraft.

Dell XPS 13 Developer Edition 2020 Ubuntu Laptop Announced

Par Vivek Gite

Look like Dell listing to customer feedback. Dell XPS 13 Developer Edition is the ultimate Linux laptop for developers and Linux enthusiasts/power users. The Dell XPS 13 Developer Edition 2020 now supports 10th Gen Intel CPU and 32GB ram. This system comes pre-installed with Ubuntu Linux 18.04, but you can install any other distro.

The post Dell XPS 13 Developer Edition 2020 Ubuntu Laptop Announced appeared first on nixCraft.

Helios64 Arm-Based Linux NAS announced

Par Vivek Gite

Helios64 is an upgraded version Helios4 of ARM-based NAS SBC (Single-board computer) for Linux. This NAS (Network Attached Storage) comes with 5 SATA 3.0 port, M.2 sata slot, LPDDR 4 ram, and hexacore SoC. Let us see some details about the Helios64 Arm-Based Linux NAS SBC, including pricing and hardware specs information.

The post Helios64 Arm-Based Linux NAS announced appeared first on nixCraft.

Linux rpm List Installed Packages Command

Par Vivek Gite

How do I list all installed packages using rpm command on CentOS/Suse/Fedora/RHEL/Scientific and Red Hat Enterprise Linux? Can you tell me the Linux command to list all rpm's installed on the server?

The post Linux rpm List Installed Packages Command appeared first on nixCraft.
  • 2 janvier 2020 à 10:20

Linux Find Out Maximum RAM Supported By Server / BIOS

Par Vivek Gite

How do I find out the maximum RAM supported by the Dell, HP, IBM, Oracle/Sun or Intel/AMD server on a Linux or Unix-like operating systems without rebooting the server or opening the server case (chassis)? How can I find find out maximum RAM supported by the Server BIOS and motherboard in Linux?

The post Linux Find Out Maximum RAM Supported By Server / BIOS appeared first on nixCraft.
  • 30 décembre 2019 à 20:01

How to configure Nginx with Let’s Encrypt on CentOS 8

Par Vivek Gite

How do I secure my Nginx web server with Let's Encrypt free ssl certificate on my CentOS 8 server? How to set up and configure Nginx with Let's Encrypt on CentOS 8?

The post How to configure Nginx with Let’s Encrypt on CentOS 8 appeared first on nixCraft.

Linux exit from lxc-console keyboard shortcut

Par Vivek Gite

I am using Debian Linux server with Linux Containers (lxc). How do I disconnect and exit from an lxc-console to a shell prompt without closing ssh session?

The post Linux exit from lxc-console keyboard shortcut appeared first on nixCraft.
  • 23 décembre 2019 à 20:46

Ubuntu Linux Change Hostname (computer name)

Par Vivek Gite

How do I change the Ubuntu computer name from 'ubuntu' to 'AvlinStar'? Can you tell me more about Ubuntu Linux change hostname command?

The post Ubuntu Linux Change Hostname (computer name) appeared first on nixCraft.
  • 23 décembre 2019 à 20:43

How to upgrade Alpine Linux 3.10 to 3.11

Par Vivek Gite

I am using Alpine Linux v3.9 or v3.10 with my LXD server. How do I upgrade Alpine Linux v3.9 to Alpine Linux v3.11? How can I upgrade Alpine Linux v3.10 to Alpine Linux v3.11?

The post How to upgrade Alpine Linux 3.10 to 3.11 appeared first on nixCraft.
  • 23 décembre 2019 à 19:44

Remove grep command while grepping using ps command

Par Vivek Gite

I use ps command to find out all running process on my Linux and Unix system. The ps command shows information about a selection of the active processes on shell. You may also pipe out ps command output through grep command to pick up desired output. Let us see how to prevent 'grep' from showing up in ps results?

The post Remove grep command while grepping using ps command appeared first on nixCraft.
  • 21 décembre 2019 à 20:22

How do I count how many processes are running in Linux?

Par Vivek Gite

How do I see how many processes are running in Linux? How can count all running processes in Linux?

The post How do I count how many processes are running in Linux? appeared first on nixCraft.

Kubuntu Linux Focus Laptop Announced

Par Vivek Gite

Kubuntu is a free and open-source version based upon Ubuntu Linux. Kubuntu flavor uses KDE instead of GNOME desktop. Now, the Kubuntu project announced the first authorized laptop called Kubuntu Focus in collaboration with MindShareManagement Inc, and Tuxedo Computers. Let us see technical specs and other information.

The post Kubuntu Linux Focus Laptop Announced appeared first on nixCraft.

Grep From Files and Display the File Name On Linux or Unix System

Par Vivek Gite

How do I grep from a number of files and display the file name only? How do I force the grep command to display the filename before the matching lines in its output?

The post Grep From Files and Display the File Name On Linux or Unix System appeared first on nixCraft.
  • 20 décembre 2019 à 18:59

Remove Santa Hat in VLC Player Permanently

Par Vivek Gite

How do I remove Santa Hat in VLC media player that displayed during Christmas time during 18th December to 1st January?

The post Remove Santa Hat in VLC Player Permanently appeared first on nixCraft.

Python Get Today's Current Date and Time

Par Vivek Gite

How do I find out the current date and time in Python? What is the module or function I need to use to get current time or date in Python programming language? How can I get today's date and current date and time in Python in different formats using strftime() method?

The post Python Get Today's Current Date and Time appeared first on nixCraft.
  • 17 décembre 2019 à 20:43

CentOS 8 update installed packages for security

Par Vivek Gite

I need to update installed packages for security on CentOS 8.x (CentOS Enterprise Linux) server. How can I update my CentOS 8.x system using yum command?

The post CentOS 8 update installed packages for security appeared first on nixCraft.

How to install tar on RHEL/CentOS 6/7/8 using yum

Par Vivek Gite

I am trying to extract a file using 'tar xvf file.tar.gz' syntax, but I am getting an error:
bash: tar: command not found
How do I fix this problem? How can I install tar on a CentOS/RHEL version 8, 7 or 6 desktop using yum command?

The post How to install tar on RHEL/CentOS 6/7/8 using yum appeared first on nixCraft.

How to Install PHP 7.x on CentOS 8 For Nginx

Par Vivek Gite

How do I install PHP 7.x on CentOS 8 Linux server along with Nginx? How can I install the latest version of PHP 7.4 on CentOS Enterprise Linux 8 server?

The post How to Install PHP 7.x on CentOS 8 For Nginx appeared first on nixCraft.

killersheep – Silly game for Vim version 8.2

Par Vivek Gite

Vim is my favorite text editor and version 8.2 released. The new version includes support for popup windows and text properties. Popup windows can be used for many purposes. For example, a list of choices can be displayed, where the user selects an entry with keys or with the mouse. There is also a new vim game released named as killersheep to show you new capabilities of Vim. Let us see how to install and play killersheep.
killersheep - Silly game for vim version 8.2

The post killersheep – Silly game for Vim version 8.2 appeared first on nixCraft.

Gracefully Restart Nginx Web Server After Changes Made In a Config File

Par Vivek Gite

I know how to gracefully restart Apache web server under Unix like operating system. I made changes to nginx.conf. How do I gracefully restart Nginx web server? How do I make changes in a Nginx server config file to take effect without restarting the Nginx server itself without interrupting users' current session?

The post Gracefully Restart Nginx Web Server After Changes Made In a Config File appeared first on nixCraft.
  • 15 décembre 2019 à 10:55

How to install htop on OpenSUSE Linux using zypper

Par Vivek Gite

I am a new sysadmin of OpenSUSE Linux operating system. How do I install htop on OpenSUSE using the zypper command?

The post How to install htop on OpenSUSE Linux using zypper appeared first on nixCraft.

Linux check the physical health of a USB stick [ Flash drive ]

Par Vivek Gite

How do I check the physical health of a USB stick in Linux operating systems? How do I check USB flash drive in Linux? Can you tell me Linux command to test and detect bad sector in USB flash memory or pen drives?

The post Linux check the physical health of a USB stick [ Flash drive ] appeared first on nixCraft.

BASH Shell Test If a File Is Writable or Not

Par Vivek Gite

How can you test if a file is writable under UNIX / Linux bash shell scripting and programming language?

The post BASH Shell Test If a File Is Writable or Not appeared first on nixCraft.
  • 30 décembre 2019 à 19:52

How to see Time-To-Live (TTL) for a DNS record

Par Vivek Gite

How do I see Time-To-Live (TTL) for a DNS record using Linux, macOS, *BSD, or Unix-like systems command line option? How do I find my DNS TTL?

The post How to see Time-To-Live (TTL) for a DNS record appeared first on nixCraft.

How to test and validate DNSSEC using dig command line

Par Vivek Gite

How do I test and validate DNSSEC using the dig command line under Linux, macOS, *BSD, and Unix-like systems?

The post How to test and validate DNSSEC using dig command line appeared first on nixCraft.

How to add bash auto completion in CentOS 8 Linux

Par Vivek Gite

I set up a new cloud server, but my auto-completion of bash shell commands are not working. How do I enable autocomplete feature in CentOS 8 (CentOS Enterprise Linux 8)? How do I write simple bash completion code in CentOS 8?

The post How to add bash auto completion in CentOS 8 Linux appeared first on nixCraft.

How to set rsync speed limit from eating all bandwidth

Par Vivek Gite

The rsync command is eating all my bandwidth from a backup script and generating tons of I/O. How do I set a limit for file transfer speed of rsync command on Linux or Unix-like system? How can I keep my rsync script from using all of my bandwidth?

The post How to set rsync speed limit from eating all bandwidth with -bwlimit option appeared first on nixCraft.
  • 11 décembre 2019 à 16:15

How to set rsync speed limit from eating all bandwidth

Par Vivek Gite

The rsync command is eating all my bandwidth from a backup script and generating tons of I/O. How do I set a limit for file transfer speed of rsync command on Linux or Unix-like system? How can I keep my rsync script from using all of my bandwidth?

The post How to set rsync speed limit from eating all bandwidth with -bwlimit option appeared first on nixCraft.
  • 11 décembre 2019 à 16:15

How To Set up OpenVPN Server In 5 Minutes on Ubuntu Linux

Par Vivek Gite

{Updated} I am a new Ubuntu Linux server user. How do I setup an OpenVPN Server on Ubuntu Linux version 14.04/19.10, or 16.04/18.04 LTS server to shield my browsing activity from bad guys on public Wi-Fi, and more?

The post How To Set up OpenVPN Server In 5 Minutes on Ubuntu Linux appeared first on nixCraft.
  • 11 décembre 2019 à 16:10

Add / Create a Sudo User on CentOS Linux 8

Par Vivek Gite

How do I add / create a sudo user on CentOS Linux 8 using the command line?

The post Add / Create a Sudo User on CentOS Linux 8 appeared first on nixCraft.

Vi / Vim Save And Quit The Editor Command

Par Vivek Gite

{Updated} I am a new vi / vim text editor user. How do I quit the vi editor and save my changes under a Linux or Unix like operating systems? Can you tell me command to save and quit file in vim?

The post Vi / Vim Save And Quit The Editor Command appeared first on nixCraft.
  • 3 décembre 2019 à 08:34

Understanding /etc/passwd File Format

Par Vivek Gite

Can you explain /etc/passwd file format for Linux and Unix-like operating systems?

The post Understanding /etc/passwd File Format appeared first on nixCraft.
  • 2 décembre 2019 à 20:50

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.
  • 2 décembre 2019 à 20:13

How to add or mount directory in LXD (Linux container)

Par Vivek Gite

I have two LXD containers running. One is for Nginx, and another is for processing data. I need to share data between two containers. How do I add or mount a shared directory between two?

The post How to add or mount directory in LXD (Linux container) appeared first on nixCraft.

Debian / Ubuntu Linux Delete Old Kernel Images Command

Par Vivek Gite

I am a new Ubuntu Linux user and noticed that old kernel still exists in my system. Why doesn't Ubuntu remove old kernels automatically? How do I delete old unused kernel images to free disk space. How to remove unused old kernel images on Ubuntu Linux safely?

The post Debian / Ubuntu Linux Delete Old Kernel Images Command appeared first on nixCraft.
  • 1 décembre 2019 à 21:27

Configure Nginx to use TLS 1.2 and 1.3 only

Par Vivek Gite

How do I enable and configure TLS 1.2 and 1.3 only in Nginx web server?

The post Configure Nginx to use TLS 1.2 and 1.3 only appeared first on nixCraft.

How to set up a firewall using FirewallD on OpenSUSE Linux

Par Vivek Gite

I am a new OpenSUSE Linux 15.x sysadmin. How do I set up a firewall using FirwallD on OpenSUSE Linux 15.1?

The post How to set up a firewall using FirewallD on OpenSUSE Linux appeared first on nixCraft.

How to generate RSS 2.0 feed quickly using Python

Par Vivek Gite

I wanted to generate RSS 2.0 feeds in Python. Nothing fancy but for certain tasks I needed it something that is quick and just works out of the box. I found rfeed. It is a library to generate RSS 2.0 feeds in Python. It is in my opinion straightforward to use. This post explains how to generate RSS 2.0 feed quickly using Python.

The post How to generate RSS 2.0 feed quickly using Python appeared first on nixCraft.
  • 29 novembre 2019 à 20:58

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.

[How to] Linux Change or Rename User Name and UID

Par Vivek Gite

How do I change user name (rename user name) or UID under a Linux operating system using command line tools? How do I change or rename username in Linux?

The post [How to] Linux Change or Rename User Name and UID appeared first on nixCraft.
  • 27 novembre 2019 à 18:36
❌