/proc/cpuinfo /proc/meminfo /proc/cmdline /proc/filesystems /proc/PID /proc/modules /proc/mounts
Lubuntu Sound output (HDMI)
To solve the sound out put HDMI install sudo apt-get install pulseaudio pavucontrol then access the app in menu > Sound & Video> PulseAudio Volume Control. In the Configuration tab choose ‘Digital Stereo (HDMI) Output’.
Correct file permissions for wordpress
To set correct permissions you need to use these commands: chown www-data:www-data -R * # Let apache be owner find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x find . -type f -exec chmod 644 {} \; # Change file permissions rw-r–r– Depending on your server configuration you may put …
Adding Swap file on Ubuntu 14.04
How to add swap on Ubuntu 14.04 DigitalOcean tutorial SwapUbuntu ready script
Compile Kernel 3.9 on Debian Wheezy and Crunchbang Linux 11 (Waldorf)
Hello Linux Geeksters. In this article I will show you how to build the kernel 3.9 on the newly released Debian Wheezy and Crunchbang Linux 11 (Waldorf). Follow this steps for a proper installation: Install the needed packages: $ sudo apt-get install kernel-package fakeroot build-essential ncurses-dev Download the new kernel: $ wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.9.tar.bz2 Extract the …
WordPress nginx rewrite rules
Adding this code in your server block if ($host ~* ^www\.(.*)){ set $host_without_www $1; rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent; } # unless the request is for a valid file, send to bootstrap if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; } # enable this location ~ /\.ht { deny all; } farinspace.com