Jorge Albaladejo

Hard & Soft design…

Archive for the ‘ubuntu’ tag

MySQL clean reinstall

without comments

To perform a clean reinstall of the MySQL server (which regenerates start scripts, databases and config files) use:

1
2
3
4
sudo apt-get install mysql-server</li>
sudo apt-get remove --purge mysql-server</li>
sudo apt-get autoremove mysql-server</li>
sudo apt-get install mysql-server</li>

Some times is useful!

Written by Jorge Albaladejo

July 27th, 2010 at 8:08 pm

Posted in MySQL

Tagged with ,

FTP server on Ubuntu

without comments

I write this post more as a reminder for myself than as a generic tutorial. Anyway, it is about a precise FTP server configuration on Ubuntu that might or might not be useful for other people. It is just useful in the environment I am using (web server, just one Unix user, some FTP accounts). Here we go:

The server that I’ve used in several cases, and which I prefer just because it is simple enough to have it running quickly, is VSFTP (Very Simple FTP). It works in integration with the machine’s users so that we only need to add users to the server in order to have them available for the FTP daemon.  Once the server is installed, a few configurations must be done. In file /etc/vsftpd.conf:

Read the rest of this entry »

Written by Jorge Albaladejo

July 6th, 2010 at 9:12 pm

Start a service or execute a script on boot on Ubuntu/Fedora

without comments

I have a couple of servers with different Linux distributions (Ubuntu/Fedora) on my hands, which normally work continuously well. However, from time to time they reboot as they are hosted in a shared farm of virtual servers. It was in the first of those reboots when we noticed that neither Apache, neither MySQL servers were automatically launched on start-up, which should be the default configuration in an environment like ours.

So, I’d like to add another new trick to my the knowledge pool, which I expect to be useful for others as well: how to configure scripts and services to run after the system boots?

Read the rest of this entry »

Written by Jorge Albaladejo

May 27th, 2010 at 8:25 pm

Posted in SysAdmin

Tagged with , , , ,

Installing Trac on a Ubuntu server

without comments

Despite I’ve worked before with Trac (a well-known bug tracking system), this is the first time I’ve been in the need for installing it. This post covers in a few steps what I’ve done. Maybe in your particular case it would be helpful, maybe not. So, these are the steps…

Read the rest of this entry »

Written by Jorge Albaladejo

January 30th, 2009 at 9:11 pm

This site is protected with Urban Giraffe's plugin 'HTML Purified' and Edward Z. Yang's Powered by HTML Purifier. 7051 items have been purified.