Archive | Unix RSS feed for this section
StorageFoundation.jpg

Volume Manager Root Disk Encapsulation Recovery

  I am not a big believer in root disk encapsulation with Veritas Volume Manager, now part of Symantec Storage Foundation. There have been a number of times when I have had to boot off the mirror disk, and had to completely de-encapsulate the mirror disk from Veritas Volume Manager to recover.  Here is how [...]

Read full story · Comments { 0 }
logo_solaris10_thumb.gif

Check Network Speed In Solaris 10

  Here is a useful command to check the network speeds of NICs in Solaris 10.   bash-3.00# dladm show-dev e1000g0 link: up speed: 1000 Mbps duplex: full e1000g1 link: unknown speed: 0 Mbps duplex: half e1000g2 link: unknown speed: 0 Mbps duplex: half e1000g3 link: unknown speed: 0 Mbps duplex: half e1000g4 link: up [...]

Read full story · Comments { 0 }
certificate-info.jpg

VPS.NET SSL Certificate Installation On Ubuntu

Here are some quick notes on how to order and install the free SSL certificates provided by VPS.NET on your server. 1. Create a self-signed certificate. Install ssl-cert if it is not already installed root@ns2:/tmp# aptitude install ssl-cert   NOTE: VPS.NET now require 2048 bit certificates. So, edit ssleay.cnf from1024 bits to 2048 bits. root@ns2:/tmp# [...]

Read full story · Comments { 0 }

Setting Ubuntu Default Crontab Editor

When you first invoke the crontab command in Ubuntu you are prompted for the default editor. If someone has already set this to nano and you are a vim-person this can be very annoying. To change it to vim use the select-editor command root@ns1:/etc# select-editor   Select an editor. To change later, run ‘select-editor’. 1. [...]

Read full story · Comments { 0 }

Install Memcached on Ubuntu

  Memcached on Ubuntu has actually two components. A standalone program running on your server and a  client PHP extension. To be honest I noticed no increase in performance using memcached with the W3 Total Cache plugin. root@ns1:~# aptitude install memcached The following NEW packages will be installed: memcached   First we need to install [...]

Read full story · Comments { 0 }

Setup A FreeBSD Web Server–Part 2–Jails

  This post is continuing from Part 1 of our series on how to setup a FreeBSD Web Server. If you ordered a number of IP address then you might want to set them up as individual jails. One for your DNS server, one for you backend server and the rest as individual webserver IP [...]

Read full story · Comments { 0 }

Setup A Freebsd Server– Part 1– Lock It Down

When you get your raw freebsd srever from your hosting provider, you will usually find it is very out of date and not very secure. Our very first step is to lock down our server.   1. Secure Access To Your Server The first thing I like to do is restrict ssh access from the [...]

Read full story · Comments { 0 }

How to setup dnydns for freebsd

You can script this yourself or you can use one of two clients available in the ports collection. ipcheck – written in python opendd – written in C I chose opendd since it is written in C and is not dependant on other packages (e.g. python being installed). There are a lot of Dynamic DNS [...]

Read full story · Comments { 0 }

How to access HP ILO via a ssh tunnel

Sometimes your HP ILO web interface may only be accessible via a  jump box in a DMZ. In this case you may be able to access it with an ssh tunnel. Here is how. download putty.exe and plink.exe  — plink is a command line interface to putty. Here are the official putty and plink site [...]

Read full story · Comments { 0 }

Mysql Proxy on freebsd

This took me a while to work out.   When people create databases for web applications e.g. for  wordpress or forums, they typically use localhost. For whatever reason it is hardcoded in the mysql client library to use unix domain sockets in every case if ‘localhost’ is used. You can’t even turn this off. To get [...]

Read full story · Comments are closed