Quantcast
Channel: nixCraft
Browsing all 256 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

How to add disk image to KVM virtual machine with virsh command

How do I add additional disk storage to a guest operating system to KVM virtual machine with virsh command on Linux operating system?

View Article


Image may be NSFW.
Clik here to view.

How to disable ssh password login on Linux to increase security

I want to disable ssh clients from accessing using the password and only allow ssh login using SSH keys. How do I disable password authentication for SSH on Linux operating systems?

View Article


How to create a new config file in Ansible playbook

I wanted to create a file named /etc/apt/apt.conf.d/1000-force-ipv4-transport with the value set to 'Acquire::ForceIPv4 true;' on 20 cloud servers hosted in AWS. I already setup Ansible playbook to...

View Article

Image may be NSFW.
Clik here to view.

How to add an extra second hard drive on Linux LVM and increase the size of...

I have 250GB disk installed on my home Linux server. I just bought a brand new 250GB SATA disk and I want to add a new disk to my existing LVM volume to increase its size total size to 500GB. How do I...

View Article

Image may be NSFW.
Clik here to view.

How to set rsync speed limit from eating all bandwidth with –bwlimit option

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...

View Article


Image may be NSFW.
Clik here to view.

How to find all hard links in a directory on Linux

I have a file named /etc/passwd i and I would like to find all hard links to this file in a directory. How do I find out all other hard links to the /etc/passwd in /backups/ directory? How can find all...

View Article

Image may be NSFW.
Clik here to view.

How to forcefully shutdown a guest VM using virsh command on Linux KVM

I used the command 'virsh shutdown vm1' to shut down a guest named vm1 using the virsh command. However, it is still running, and my vm1 is not responding to an ssh session. Is there is a way to...

View Article

Image may be NSFW.
Clik here to view.

How to wipe a signature from a disk device on Linux with wipefs command

I recently decommissioned Debian Linux based nas server and moved disk from my nas server to Linux-powered desktop. However, when I run fdisk command, I am getting the following error:     /dev/sdb:...

View Article


How to install and configure MariaDB Galera as master to master replication...

How do I install and configure MariaDB Galera master to master cluster on Ubuntu Linux 16.04 LTS server to get both read and write scalability?

View Article


Image may be NSFW.
Clik here to view.

How to enable TLS/SSL encryption with Glusterfs storage cluster on Linux

I setup GlusterFS cluster on Ubuntu Linux. How do I enable network encryption using TLS/SSL for my Glusterfs storage cluster on Linux for security reasons? How do I setup I/O encryption and management...

View Article

Image may be NSFW.
Clik here to view.

How to set and enable MariaDB slow query log

I setup MariaDB server on Linux. How do I enable slow query log in MariaDB server on Linux or Unix-like system?

View Article

Image may be NSFW.
Clik here to view.

How to reload/restart php7.0-fpm / php5.0-fpm service

I am a new Linux and Unix system user. I want to reload or restart my PHP-fpm service. How do I restart PHP-fpm? How do you restart php7.0-fpm on Ubuntu Linux 16.04 LTS server?

View Article

Image may be NSFW.
Clik here to view.

How to increase and set upload size to 100MB in PHP-Apache

I am using Apache with mod_php on Debian/Ubuntu Linux server. How do I increase file upload size limit in PHP-Apache app from default 2MB to 100MB?

View Article


Image may be NSFW.
Clik here to view.

How to run command or code in parallel in bash shell under Linux or Unix

How do I run commands in parallel in a bash shell script running under Linux or Unix-like operating system? How can I run multiple programs in parallel from a bash script?

View Article

Image may be NSFW.
Clik here to view.

Failed to set locale, defaulting to C warning message on CentOS Linux when...

Whenever I run yum command, I get an error or warning that read as Failed to set locale, defaulting to C. How do I fix this issue on CentOS 7 Linux server? Why do I get "Failed to set locale,...

View Article


How to install and use vtop graphical terminal activity monitor on Linux

The vtop is a graphical activity monitor for the command line written in Node.js. How do I install vtop on my Linux server?

View Article

Image may be NSFW.
Clik here to view.

How to check whether AMT is enabled and provisioned under Linux

How do I check whether Intel Active Management Technology (AMT) and Intel Standard Manageability (ISM) enabled or disabled under Linux using command line for CVE-2017-5689 vulnerability?

View Article


Image may be NSFW.
Clik here to view.

How to analyze Nginx configuration files for security misconfiguration on...

How do I install Gixy for Nginx configuration static analyzer on GNU/Linux operating system to to prevent security misconfiguration and automate flaw detection?

View Article

Image may be NSFW.
Clik here to view.

How to configure Samba to use SMBv2 and disable SMBv1 on Linux or Unix

I am a new Linux user and for security reasons and to avoid ransomware, I would like to disable the SMB1 protocol in samba configuration on a CentOS Linux version 7 server. Is it possible to disable...

View Article

Image may be NSFW.
Clik here to view.

How to find out and show a log of actions taken by the software management on...

I am a new Debian Linux server user. How can I display a log of actions taken by the apt-get command or apt command or dnf command or yum command software management command?

View Article
Browsing all 256 articles
Browse latest View live