Sure, VirtualBox is a popular solution for quick and easy virtualization on Linux, but KVM can provide a more robust and efficient solution with minimal configuration. With the use of tools like Virt-Manager, it can be just as easy to use.
Read more ... The following guide will provide you with simple to follow steps on how to reset your administrative root password on Linux.
Stop MySQLFirst, stop MySQL server:
# service mysql stop
* Stopping MySQL database server mysqld [ OK ]
Start MySQL server>Start your MySQL server, but skip all grand privileges and networking:
# /usr/sbin/mysqld --skip-grant-tables --skip-networking &
Read more ... AMD’s RX 480 has been out for a little over a week now, and in that week Linux gamers have been clamoring or information on whether and how the card works on their favorite distribution. Sure, Ubuntu 16.04 is officially supported by AMD’s proprietary Pro drivers, but what about everyone else, and what if you want to use those AMDGPU open source drivers that have been in the works for so long? Well, it’s definitely possible, but it’s not all that easy.
WARNING: Here be dragons, big ones. They’re pretty much the kind you’d expect to see flying around Mereen, so if you don’t want to take the chance of breaking your install and some singed eyebrows, turn back now.
Read more ... July 08, 2016
by Rares Aioanei
IntroductionAs the title might suggest, this article will show you how to run X applications without using a window manager or desktop environment. You might ask yourself : why would I want to do that? Well, you might want to run a kiosk system where you only need to run the browser and/or the hardware resources are limited. Or you simply use only one/a few X applications and spend the rest of the time in a terminal so you don't need the overhead of a window manager. Or, last but not least, because it's an interesting experiment, akin to the one where you have to spend X days exclusively in a terminal. Also, it's fun! So let's get started.
Making sure we have all we needWhat you need is pretty simple : a minimal Linux distribution or a similar Unix-like OS with the desired X applications installed and Xorg. In RHEL-based distributions installing Xorg is accomplished by doing
$ sudo yum install xorg-x11*
while in Debian-based operating systems this is done with
$ sudo apt-get install xorg
Read more ... The following config will discuss a basic example on how to execute shell script during a boot time on systemd Linux. There maybe various reason why you might want to execute shell script during Linux startup like for example to start a particular custom service, check disk space, create a backup etc.
The following example below will serve as a basic template to be later modified to suit your specific needs. In the example below we will check a disk space of a
/home/ directory during a boot time and write a report to
Systemd service unitFirst, we need to create a systemd startup script eg.
disk-space-check.serviceand place it into
/etc/systemd/system/ directory. You can find the example of such systemd startup script below:
Read more ...