Using the Linode API to DNS Manger

Example PHP code for accessing http://www.linode.com/api/dns to list your domains. This builds a simple table of domains. Try to use this to access deeper into the API to get RR and SOA data.

Setting Chrome address bar to search Google in English in any country

If you travel or you prefer your searches in English in a non-English country you would use http://google.com/ncr. The "ncr" is for "no content redirection" and many people refer to it as "no country redirect". If you want to set the address bar search to go to google.com and search in English, its easy. In Google Chrome or Chromium open the settings. Select "Basics > Search > Manage Search Engines. At the bottom create a new entry as follows:

Tags:

Learning about the Debian interfaces configuration file

Introduction

You can always read the Debian Wiki Page about the interfaces file found in /etc/network/ or you can read along for a little walk though. The interfaces file is a simple but scalable way to manage network interfaces for a computer. From simple to super complex the interfaces file uses the ifupdown tools to read and preform actions as listed.

The File

As stated the file location is rather simple. The file and its location are meant to be generic and functional.

Tags:

Fix a failed Cisco router IOS upgrade

The Situation

For some reason an update of the router software failed or the version was wrong and the router will not start. It happens. Sometimes a firmware version will need more ram than the router has and will refuse to start. The solution is to load the old firmware that was backed up before the upgrade.

Tags:

Using Python to backup Cisco devices

How to access many Cisco devices and run simple commands like backups.

Hard Disk Drive Checks on Headless or Remote Servers

The Problem

Setting up remote servers or even local servers that have no keyboard or monitor often called headless requires some thought. File system and hard disk drive checks for example can be troublesome. During start up of any modern Linux distribution a check for the number of mounts or duration since the last check can cause a complete disk inspection often called fsck or file system checker. This is a perfectly normal and safe thing for all systems. If you do not have access to the server or headless system you may not be able answer questions for the fsck program if it finds an issue. Very often one simple press of the Y key is all you need to do. If you server is hundreds of miles away or does not have an easy method of attaching a keyboard this is difficult.

Tags:

Learning about DNS

Domain Name System

The Domain Name System (DNS) is one of the most powerful tools used in Internet architecture. Email, Websites, VoIP, File Sharing, and thousands of other applications rely on DNS to function properly. The purpose of this article is to explain some general aspects of DNS.

What is it?

DNS is a mapping system that normally operates as a service on a series of servers. This service allows a computer system to query for the information regarding a domain name. A domain name may have many services defined and optional, a nearly unlimited depth of sub-domain names.

Tags:

Establishing a Product from an Open Source Software Project

First Draft

Introduction

Confusion exists around doing business with Open Source Software (OSS). A single OSS work is often labeled as an OSS Project. This Project is a complete work targeted at one topic much like a home patio project. These OSS Projects are never complete as features and compatibility issues are changed in relation to technology. One could spend their entire life building, changing, and updating their patio without coming to the conclusion of the project. During the process the opinion of others will change, "the patio is the best it will ever be" or "the patio is broken" for example. In these OSS Projects revision or release numbers keep track of where in the development cycle the code is much like time-stamps. Famously some OSS Projects have development cycles labeled as stable and unstable releases.

Problem

Many non-developers expect an OSS Project to be a complete Business Product. The OSS Project may be the mathematical product of work but it does not match the modern business idea of what a Business Product or Business Service is. The problem is how to transform an OSS Project into a Business Product or Business Service.

Tags:

ValpoLinux or Valparaíso Chile Linux Users Group

Valpo Linux or Valparaíso Chile Linux Users Group had a meeting on January 21st 2012 to discuss FISOL in a few months. Gringo Malvado requested a montly meeting. We will try having meetings on the second Thursday of every month at Torito's in Vina Del Mar, Chile at 7 Norte and Av. San Martin.

Delete files older than X number of days

The Find Utilitiy

Recent versions of "find" include a feature to delete the files that are found. This can be dangerous so always test when you know you have good backups.

A simple example to locate files older than three days and delete them without using pipes.

find /directory/* -mtime +3 -delete

You can replace the 3 with what ever you like. Read more about this and other features in the manual.

Tags:

Pages

Subscribe to lathama.net RSS