Archive for the ‘ubuntu’ tag
MySQL clean reinstall
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!
FTP server on Ubuntu
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:
Start a service or execute a script on boot on Ubuntu/Fedora
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 »
Installing Trac on a Ubuntu server
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…



