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 ... Nginx is quickly overtaking Apache as the favorite web server. For web apps built in languages like Rails and Python it’s virtually ubiquitous, but it’s a bit slower to catch on in the PHP world. Part of the reason for that is how easily PHP and Apache go together. However, PHP and Nginx can cooperate nearly as easily, and with the release of PHP 7, combining the two can be a fairly speedy option.
The PackagesFirst thing’s first. Update Ubuntu and get the the Nginx and PHP packages.
# sudo apt-get update && sudo apt-get -y upgrade
# sudo apt-get -y install nginx php7.0 php7.0-fpm When the installation is finished, the packages should all be in place, and actually running. To make sure that this is the case, you can check that both Nginx and the PHP-FPM services are running in Systemd.
# sudo systemctl status nginx
# sudo systemctl status php7.0-fpm If Systemd confirms that both services are running, the server should actually be up, and you should be able to see the default Nginx welcome page by navigating to
localhost in the browser.
Read more ... Ruby on Rails is one of the most popular web development platforms today, with some of the hottest start-ups and tech giants employing it in their software stacks. One of the biggest selling points of Ruby on Rails is the ease of development. It is just as easy to get set up and start developing, especially on Linux.
Installing the PackagesThere are a couple of packages needed before Ruby can be installed in set up, and no, Ruby isn’t one of them. Since this tutorial is going to be using the Ruby Version Manager, or RVM, to manage Ruby, there’s no need to install the package through Ubuntu. There are a couple of packages that RVM needs in order to work and one that never seems to get pulled in by gem installs(nodejs).
# sudo apt-get install build-essential curl nodejs
Read more ...