How-To: Convert a WordPress site from Multisite to Standalone install
Since wordpress 3.0, it is possible to create a network or site by using the multisite feature. It allows to manage multiple wordpress websites from a single...
Since wordpress 3.0, it is possible to create a network or site by using the multisite feature. It allows to manage multiple wordpress websites from a single...
WordPress is a great piece of software to run a blog, it is flexible, has tons of plugins are developed for it and updates are really easy to do. To fight sp...
Spam, spam everywhere! If you are hosting your own mail server, fighting spam can become tricky. Antispam solutions do catch a fair amount of them, but still...
A nice thing about Python is that there is tons of modules available out there. Not all those modules are readily available for your distro and even if there...
It can be useful to have a bash session automatically closing after some time. One of the obvious reason you might want this to happen is to make sure that n...
wpa_supplicant can be used as a roaming daemon so you can get your system to automatically connect to different network as you are going from one location to...
There might be time when you want to make sure that a file will be protected from accidental/automated change/deletion. While one can protect a file/director...
Many times you will end up tailing multiple files simultaneously. There is a sweet linux utility called multitail that will let you tail multiple files at th...
Ever had your linux box getting Out of Memory (OOM)? Cleaning up after the OOM killer kicked in to find out that even though OOM killer did a decent job at t...
Let’s continue the network monitoring serie with yet another use case…. the “What program is using my bandwidth?” problem while not imposible to solve, still...
There is many tools out there that help in monitoring network usage, collect statistics and generate graphs so we can view what happened at a given date/time...
Last time we saw how bash can help us in handling default values out of the box using parameter expansion. This time we will see how basic string operations ...
Bash is a sh-compatible command language interpreter that executes commands read from the standard input or from a file. There is much more to bash than run...
top is most likely one of the most known Linux command and also one of the most used one, however most people do not take full advantage of its capabilities.
OpenVPN is a SSL based VPN software that runs on most OS. It is simple to install and run.
Munin 2.0 has been released and a .deb package has even been backported to Debian Squeeze!.
Linux start up behaviour is driven by the so-called runlevels. It will use the default value provided in /etc/inittab for some systems (Debian…), or /etc/ini...
As a sysadmin, most of my time is spent working on remote machines and different task. tmux is a terminal multiplexer, meaning it allows you to run multiple ...
When enabling logs with HAProxy on a busy web site, hard disk space can quickly become a scarce resource.
There were some changes in the latest kernel release (2.6.34) that prevent VMware’s VMCI Socket module to compile on Ubuntu 10.10 (Maverick Meerkat).
In the previous part, we have configured XL2TP
We have now configured IPSec, let’s carry on with the next step.
Even though I pretty like OpenVPN, there is still some devices that might not support the TUN/TAP driver needed by OpenVPN.
I already spoke about Terminator a while back. Since then,, quite some time has passed and lots of features were added…
If like me you use MPD as a service daemon to listen to music, you might be annoyed anytime GDM start a pulseaudio process which prevents MPD from accessing ...
When working in a chrooted environment, there is a few special file systems that needs to be mounted so all programs behave properly.
I was trying network-manager-openvpn plugin today on Lucid, I could import my configuration, DNS was set up correctly upon connection/disconnection, route im...
When you hotplug a hard drive in a virtual machine, the drive do not show in fdisk -l output until you reboot your VM.
There is a few software that will use the editor command to find out what text editor to use. Example commands will be dch to add a new .deb changelog entry,...
Lately, I have been experiencing a funny network issue when using VMware Workstation VMs with NAT interface. Roughly, the IP network was working fine, but DN...
I have been looking around for a while for an autotune effect (pitch correction, or whatever name you care to call it) for linux. Unfortunately everything I ...
Following Postfix configuration, it is now time to configure Dovecot.
We have set up the database in the first part. Now let’s go ahead and configure our email server to use that database.
This tutorial will explain how to run a mail server with virtual domains and users using a MySQL backend to store email informations.
In the first part, we have set up our database, let now add some user to authenticate.
this tutorial will explain how to use a MySQL backend in order to authentication users against your Apache website.
While doing a server migration, it happens that some traffic still go to the old machine because the DNS servers are not yet synced or simply because some pe...
We have set up our network, now let’s get BGP rolling.
Now that we have defined what we will be setting up, let’s build this up.
Vyatta is a Linux based distro that ease the set up of VPN, Routers, antivirus…. It has a really small footprint on your system as it only requires something...
Bazaar (bzr) is a distributed version control system (VCS) sponsored by Canonical and thus bzr is widely used by the Ubuntu community.
4. Installing the system
3. Encrypting the partitions
Even though new distros installers tend to support filesystem encryption out of the box, most of the time, it might be interesting to actually understand how...
syslogd is the Linux system logging utility that take care of filling up your files in /var/log when it is asked to.
We now provide IPs to the hosts in our LAN with our newly installed DHCP server. Now we need to pass their network packets around.
Now that we have configured our DNS server, we need to distribute IPs to the machines in our LAN.
1. DNS server
Linux is a perfect platform to act as a router/gateway.
When copying files over the network, the files informations can be modified.
The Intel wireless card 4965 AGN does not work properly on ad-hoc networks since hardy and kernel 2.6.24 or around, network-manager can’t get it to use the m...
In the 2 previous articles, I explained how to set up a serial console on Ubuntu and Debian.
This tutorial will go over the steps to go through in order to set up a serial console on Debian Linux.
This tutorial will go over the steps to go through in order to set up a serial console on Ubuntu Linux.
This tutorial will show how you can export and import a set of GPG keys from one computer to another. This way, you can sign/encrypt the same way one differ...
SSH is great. There is so many thing you can do with it other than just a remote secure shell like X forwarding, port forwarding, authenticate using a privat...
Lately, I change my main user’s username and homedir location. As a result, some application like evolution were kindda broken.
Chainloading an operating system allows grub to boot an opearating system’s boot loader. This is commonly used to boot Windows for instance.
Terminator gives the possibility of having multiples terminal within the same window.
cron-apt is a tool run by a cron job at regular interval that will check for package updates and optionally do some actions.
Lately, I have been trying vmware-server 2.0 beta build 63231. It worked pretty well, but for the fact that the Remote Console to the VM was not working thro...
We have now set up the base live cd, let’s make this live CD our own by customizing it.
Live CD are great, they let you try out a distribution without installing it. They allow you to run your favorite distribution on any computer and on the top...
At the moment, the vmware-tools provided with workstation 6.0.2 do not compile under Ubuntu Gutsy 7.10. Only one module fails: vmhgfs. This module allow one...
A standard Linux system has an incredible amount of files installed. Looking for a file location can be a painful task to do though a file browser.
apt-file is a command line tool for searching packages in Debian/Ubuntu repositories. Unlike apt-cache search, apt-file can find files in uninstalled or can...
Filesystems are usually created on a partition. When all your hard drive is already partitioned, creating a new partition can become a pain and creating a ne...
This tutorial will explain how to create a self-signed certificate that you will be able to use with apache in order to provide ssl support.
This tutorial will show how-to connect to a Cisco VPN Concentrator using vpnc.
LVM (Logical Volume Manager) is a great piece of software which allow you to deal with Logical Volumes. Using LVM along with ext3 filesystem, you are allowed...
Linux services can be started, stopped and reloaded with the use of scripts stocked in /etc/init.d/.
5. Preseed: Installation automation:
For the purpose of this tutorial, I decided to choose dnsmasq to act as a DNS/DHCP server. The reason behind this is that dnsmasq is simple to configure and ...
there is many ways of installing Linux. Nowadays, the most common one is probably by using a CD. Download the CD, stick it in your CDRom drive and let’s roll...
If you have ever worked on multiple workstations you know the headache associated with keeping your bookmarks, cookies and passwords synchronized across all ...
3. Adding new devices to cacti
Now that we have our snmp server up and running, we are going to install cacti to manage the snmp server in our network.
SNMP (Simple Network Management Protocol) is a protocol for managing networks. Each managed entity in the network will run an snmp server (snmpd) which is go...
4. Configure ProFTPd
Using ProFTPD and its SQL module for MySQL, it is possible to give FTP access to non system users.
MySQL is a widely spread SQL database management system mainly used on LAMP (Linux/Apache/MySQL/PHP) projects.
Lately, I wanted to make the move from Thunderbird to Evolution.
DVD are usually encrypted and therefore, due to legal reasons, Ubuntu Linux does not ship the package which decrypt DVD.
Since Ubuntu 7.04, Feisty Fawn, Ubuntu is using a standard kernel 2.6.20. Because of a few changes in the API, VMware-server and VMware-workstation 5.5 fail ...
Under Ubuntu Feisty Fawn 7.04, compiz is the default desktop effect window manager.
After an upgrade from Debian 3.1 (sarge) to Debian 4.0 (etch), awstats stopped automatically updating.
It happens sometime that you can’t remember root password. On Linux, recovering root password can be done by booting Linux under a specific mode: single user...
3. Installing Ubuntu on the USB stick
This tutorial will show how-to install Ubuntu on a usb stick. Even though this tutorial uses Ubuntu as its base distribution, you could virtually use any typ...
2. Configuring the clients
LDAP (Lightweight Directory Access Protocol) allows central user, group, domain….. authentication, information storage …
This tutorial will show how to set samba to allow read-only file sharing for your LAN computers as guest (without be prompted for a password).
Linux offers a great tool: Tab Completion. With tab completion, you can easily navigate through your filesystem, find command names you forgot the exact name...
4. Disabling Authentication by password
2. Adding the public key to the authorized key
Open SSH is the most widely used SSH server on Linux. Using SSH, one can connect to a remote host and gain a shell access on it in a secure manner as all tra...
You might have wondered how comes that your mp3 player is automatically mounted under a nice name like JUKEBOX for instance, while you usb stick simply get a...
AIDE is an Intrusion Detection System (IDS). Which means that AIDE is not a tool to prevent an intrusion but is actually here to report that an intrusion mig...
4. Using iptables’script
3.3. Defining custom chains
3. Iptables Script
iptables is a command line tool which allow system administrators to configure Linux packet filtering ruleset.
2. Setting up apache
Munin is a simple to configure tool that make real nice graph about your server status. It can actually deal with almost any aspect of your server (load aver...
Lately I gave a go to VmWare Server. After installing it, I pretty enjoyed installing virtual machines from my desktop environment.
4. Tweaking up Postgrey
Greylisting is yet another way for preventing your mailbox getting full of spam. A famous spam fighter software is spamassassin which filter emails. Greylist...
3. Make Postfix call Spamassassin
Postfix is a widely used mail transport agent (MTA) used on many popular Unix/Linux systems. Nowadays, networks are overwhelmed by SPAM mail, fortunately, th...
3. Setting up the Clients and Server sources.list
When running multiple machine with the same distribution, it is interesting to set up a repository cache on your network so that once a package is downloaded...
After reinstalling mldonkey-server on my new edgy installation, it appeared that mldonkey-server was not starting on boot up :s.
6. Preparing Mount Points
3. Defining basic settings
Ubuntu 6.10, codename Edgy Eft, has been released on the 26th October 2006. This is the latest version of Ubuntu available and is
In relation to a tutorial I previously made on how-to connect to a remote mysql server by forwarding port with ssh, I found out that some distributions like ...
On Debian based systems such as Ubuntu… Apache comes with mod_status compiled in by default.
KeepAlive
Apache, the most popular web server, is a stable and reliable software for providing web pages to the world. But sometimes, it happens that Apache will strug...
4. mod-security filter examples
3. Adding Filtering Rules
This article will show how-to install, configure and set up apache’s mod-security module on a debian based system. This was done on Ubuntu Dapper and should ...
3. Setting up Reverse Name Resolution
Bind is a well known Unix name server, it is a powerfull piece of software which is used by the majority of nameservers.
This is part 2 of How-To: Apache web server basic security measure.
While running a HTTP server such as Apache, there is a few step an administrator have to take in order not to get easily hacked. The very basic one is to hid...
High loaded website can get slow to respond when a lot of different visitors visit sites querying the same mysql database server, making it slow to respond.
nload is a ncurse based network traffic analyser. Being a ncurse based tools, you do not need to start X in order to use that software which is necessary whe...
This is part 2 of the serie How To: Screen the Ultimate admin tool
Screen is a must know GNU console tool, this small piece of software comes really handy when you are working on a console or sending long processes on a remo...
I lately updated my dapper box to edgy eft. As edgy eft is unstable and had just been started up, it happens to get surprise.
In a previous article, I showed how to configure your laptop touchpad in such a way that you could use every neats features by using the synaptics package an...
5. How to use the advanced feature of your Touchpad
4. Explanation on those directives
3. Configuring Xorg:
2. Synaptics installation
Every laptop comes with a usefull thing when you don’t want to carry your mouse around: a Touchpad, most of the time, touchpads do work out of the box but no...
2. Adding modules
Apache is usually suitable out of the box for most common used. The apache structure under debian based systems is actually really well made as it is really ...
This tutorial will bring you through dpkg, the debian package manager. As I introduce apt, I will now introduce dpkg and show how to search which files are i...
There is many options out there to encrypt datas on a hard drive. You could either encrypt a whole partition using kernel filesystem or simply encrypt specif...
Burning DVD’s from the command line can seem quite geeky, but it happens to be really usefull mainly when you want to back up datas or simply don’t want to b...
A new release of subtitleeditor, a GTK+2 subtitle editor for linux, is out. Bug fixes from alpha versions, new features…
Quite often, when using program such as smb4k, I encountered the following error:
Subversion is an application used for version control, it is meant to become a replacement of CVS Concurrent Versions System. Subversion is also known as svn.
Well, since I reinstalled a Debian, I decided to make an article on Exim4, as a complement to Postfix and Virtual Host.
##5. Install and Configure Xorg
3. Installing utils package and Configuring your new system
This How To will show how you can install Debian Etch and basically any Debian based distribution from a chroot environment. This way you don’t need to downl...
Apt is the debian tool to install, remove and search packages. It is a front-end to the dpkg package manager and offer easy searching, installing …, by using...
Xgl along with compiz offer new features to the Unix Desktop Environment.
I really love Debian based distribution, namely, Debian itself and Ubuntu, but there is something wrong… The weakest part is located in /var/lib/dpkg/.
Postfix comes as the default mail server under ubuntu. By default, it is set such as it can basically send system notice mail to the user you predefined duri...
Earlier on, I showed how-to mount a remote filesystem with fuse, using a remote partition accessible by SSH. Since version version 2.4.0, it is possible to u...
3. Configuring Awstats
Awstats is a great web log analyser. It gives really useful statistics about traffic on your web sites.
In a previous article I introduced subtitleeditor and explained how-to create a new subtitle from scratch. This article is going to explain how you can synch...
In a previous article, I introduced gsubedit, a GNOME Subtitle Editor for linux using GTK. It was the best subtitles editor I’d ever found for linux.
In this article I’m going to show you how you can use SSH Port Forwarding to access a service a firewall might be blocking.
Most unix administrator might know wget, a HTTP, HTTPS and FTP client developped by the GNU project. Using that tool, you can easily download HTTP page but a...
Today, when I wanted to start my mldonkey-server from command line, the service reported
Even though I’m a console fan, I like to have bleeding edge softwares install on my computer. In case I run into troubles, my knowledge of linux is enough to...
SSH is a protocol to securely connect to a remote host. In previous article we have seen how-to connect to a remote database through a secured tunnel.
In a previous article we saw how to connect to a remote mysql server running both ssh and mysql.
A lot of laptop computers using Centrino processor use the Intel Pro Wireless 2200 BG wireless interface, also known as ipw2200.
It happens sometimes that you get more than one connection to the internet. Also it might not be usefull in most of the cases, there are few cases when it ge...
Virtual Hosting allow web servers to host more than one website on a sing machine. This is how sharing hosting works. I become pretty handy as well while dev...
This will explain how to connect to a remote mysql server only allowing connections from locahost, from your computer in a secure way as it is being done thr...