Fedora 20 desktop setup
Here's what I do after a fresh Fedora 20 install:
No password sudo
$ sudo su -
$ visudo
Add this line at the bottom:
myusername ALL=(ALL) NOPASSWD: ALL
Update everything
Duh.
$ yum update
Install some nice programs
$ yum install vim rxvt-unicode-256color zsh mplayer
Add rpmfusion repo and install some good ...
Fedora 20 Steam OpenGL not using direct rendering
I had this problem after installing steam from rpmfusion:
https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457
I'm on 64-bit and this seems to be a 32-bit nvidia issue. The solution was to install the 32-bit nvidia drivers:
$ yum install xorg-x11-drv-nvidia-libs.i686
Hostapd on CentOS 6
Here's how I got hostapd working on my CentOS 6 box. This article (if you could call it that) is just a running commentary. I wrote it while figuring things out, so all the silly issues I encountered are included here. Yes, I could write this properly so that ...
Ignoring yum dependency errors on CentOS
I have a machine I manage that has the php53* packages installed, and when phpmyadmin needs to be updated, yum craps out, complaining about phpmyadmin needing php-mysql, etc. I have php53-mysql installed, so these types of error can be safely ignored.
To solve the issue, I downloaded the latest phpmyadmin ...
NFS (v4) Shares on CentOS 6
Here's a few I had to do while trying to set up read-write NFS shares between a CentOS 6 NFS server and an Arch Linux client. The Arch Wiki NFSv4 page was a huge help.
Set up NFS domain
Edit /etc/idmapd.conf
on both the client and the ...
Install rxvt-unicode on CentOS 5
Here's how to enable the EPEL repository and use it to only install the rvxt-unicode terminal.
Get the EPEL RPM package:
jason@jason:~ [322]$ wget -c http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Install the .rpm:
jason@jason:~ [323]$ rpm -i epel-release-5-4.noarch.rpm ...
Problems with Ethernet RTL8111/8168B controller in Arch Linux
Problem
After a fresh Arch Linux install, I was having problems with my ethernet card: it kept flaking out and ifconfig was showing a ridiculous number of dropped packets and errors.
Here's the exact card I have, as described by "lspci | grep -i ethernet":
07:00.0 Ethernet controller ...
An Example of Troubleshooting in Arch Linux
I recently had a rather obscure problem with my Intel 5100 wireless card in Arch Linux. I doubt you had the same problem--this post is meant to illustrate the thought process (or lack thereof) while troubleshooting a random issue in Arch Linux.
The Problem
I went about a month without ...
Find and Delete Files Recursively from Linux Command Line
Here's a basic example of how to find files and delete them, recursively.
find -name -exec rm -rf {} \;
That command will look under the directory
Play it safe
You ...
Diagnosing Special Character Issues in Mysql
Any webmaster who deals with Mysql and some website that uses PHP has probably run into character encoding issues at some point. Whether it's a user copying and pasting from Microsoft Word and getting those "curly quotes", converting a database from latin1 to utf8, importing data from another source ...
Make SSH stop asking for a login password
Here's how to set things up so that typing "ssh user@host" will just log you in and not ask for a password. You should probably only do this with trusted machines.
- Open a terminal
- Go to your .ssh folder
- Check if you have a 'id_rsa.pub ...
cd ~/.ssh