Mailgraph on FreeBSD

Categories: BSD

Have you just installed mailgraph and are you asking yourself “and now???” Let’s see how to get it running on FreeBSD. After installation copy your /usr/local/www/cgi-bin/mailgraph.cgi to your cgi-bin directory, default is /usr/local/www/apache24/cgi-bin/ and change the owner to www:www : cp /usr/local/www/cgi-bin/mailgraph.cgi /usr/local/www/apache24/cgi-bin/ chown www:www /usr/local/www/apache24/cgi-bin/mailgraph.cgi Be sure to have this line:

Upgrade MySQL from ports (in FreeBSD)

Categories: BSD

So next time i’ll not forget! 1) STOP MySQL service /usr/local/etc/rc.d/mysql-server stop 2) Upgrade with pkg_add, portupgrade, manually, ecc. 3) Start MySQL service /usr/local/etc/rc.d/mysql-server start 4) And remember to run mysql_upgrade -u root -p

Install Symon / Symux + Syweb on FreeBSD 7.2

Categories: BSD

Symon is a useful tool that collect data like cpu/bandwidth/whatever usage and display it with nice graphs, like this for example: First of all, install symon! Since it haven’t configuration options you can use pkg_add -r symon or go to /usr/ports/sysutils/symon and run make install clean. After a succesful installation, you have to copy your […]

Backup all MySQL databases and other important stuff on FreeBSD

Categories: BSD

This is the (bash) script that i use for backup all MySQL databases and other important stuffs like etc/ dir, configuration files in /usr/local/etc and whatever you want. As you can see, it’s launched 3 times a week by cron, on sunday, wednesday and friday at 23:55. It create a list of installed packages, dump […]