background preloader

Linux

Facebook Twitter

Dugan Chen's Homepage. Preamble This article began as a set of notes to myself.

Dugan Chen's Homepage

There were certain things I always did each time I installed Slackware. After years of revisions, including moving everything related to fonts into another page, it mostly turned into a set of miscellaneous tips. Anyway… So you’ve done a full install of Slackware Linux. Reading the Documentation I’m assuming a certain level of Slackware knowledge. In the root directory of Slackware’s installation DVD are various documentation files. Log in as the root user, and you have an email from Slackware mainter Patrick Volkersding.

As books on the use and administration of Slackware go, Slackware Linux Basics is the next one to read. If you truly want to become an expert, consider reading the the rute book. Understanding Packages Package management in Slackware is simple. Installed packages are logged in “/var/log/packages”. If you look in Slackware’s /source tree, you will find source tarballs with .SlackBuild or, less commonly, .build files. Playing music on a Raspberry Pi using UPnP and DLNA (revisited) A music system with a Raspberry Pi plugged in to an amplifier playing music that you choose with your mobile phone.

Playing music on a Raspberry Pi using UPnP and DLNA (revisited)

The music can come from MP3s on your phone, from files on your server or from internet radio stations. If there’s more than one Android phone in your household you can have them all synchronised, showing the same playlist and controlling the same music. If you have multiple Raspberry Pis you can put one in each room and choose which one to play the music with. This is all achieved with free software and open standards. I’ve just written some instructions to show how to do it. With any luck your initial outlay will only be about £45. My earlier post about getting Raspberry Pis to play music using your phone or phones as the controller has been very popular.

The one essential thing is to get gmrender-resurrect (also known as GMediaRenderer, gmrenderer, gmrender, …) installed and working. Installing the Operating System Get the Raspebrry Pi on the network Run a speaker test: My First 5 Minutes On A Server; Or, Essential Security for Linux Servers. Server security doesn’t need to be complicated.

My First 5 Minutes On A Server; Or, Essential Security for Linux Servers

My security philosophy is simple: adopt principles that will protect you from the most frequent attack vectors, while keeping administration efficient enough that you won’t develop “security cruft”. If you use your first 5 minutes on a server wisely, I believe you can do that. Any seasoned sysadmin can tell you that as you grow and add more servers & developers, user administration inevitably becomes a burden. Maintaining conventional access grants in the environment of a fast growing startup is an uphill battle - you’re bound to end up with stale passwords, abandoned intern accounts, and a myriad of “I have sudo access to Server A, but not Server B” issues.

There are account sync tools to help mitigate this pain, but IMHO the incremental benefit isn’t worth the time nor the security downsides. Our servers are configured with two accounts: root and deploy. Let’s Get Started Our box is freshly hatched, virgin pixels at the prompt. Passwd.