SMPlayer - Nice Frontend for MPlayer
Wed, 06/13/2007 - 04:08 — david23SMPlayer intends to be a complete front-end for MPlayer, from basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more.
- david23's blog
- Login or register to post comments
Installing Bugzilla on an ISPConfig site
Thu, 06/07/2007 - 16:34 — sandipThese are some notes I had taken down during the installation of Bugzilla on a server with ISPConfig hosting control panel:
Requirements:
# yum install mysql-devel gd-devel libpng-devel libjpeg-devel freetype-devel libdbm-devel
# rpm -e mod_perl #else mod_perl2 does not install.
Create Site:
Site was created via the ISPConfig control panel with "web6_bugs" as the admin user and "web6" as the group.
Install:
$ cd /var/www/web6
$ wget http://ftp.mozilla.org/pub/moz illa.org/webtools/bugzilla-3.0 .tar.gz
$ tar -xvzf buzilla-3.0.tar.gz
$ mv buzilla-3.0/* web
$ ./checksetup.pl --check-modules
# perl -MCPAN -e 'install AppConfig' #had to force install.
# perl -MCPAN -e 'install Bundle::Bugzilla'
# perl -MCPAN -e 'install GD' #requires libpng-devel, libjpeg-devel, freetype-devel
$ ./checksetup.pl #Edit the localcofig with the correct database settings.
$ ./checksetup.pl #Re-run anytime if needed, specifically if the file permissions are not correct.
$ chgrp -R apache . #Had to make all files belong to the apache group after re-running checksetup.pl .
Apache with mod_perl need the below directives in httpd.conf:
PerlSwitches -I/var/www/web6/web -w -T
PerlConfigRequire /var/www/web6/web/mod_perl.pl
Runs a lot faster, but is a memory hog. Suggested to turn off KeepAlive in apache when running mod_perl.
Crontab Entry:
# Bugzilla
5 0 * * * web6_bugs cd /var/www/web6/web; ./collectstats.pl
55 0 * * * web6_bugs cd /var/www/web6/web; ./whineatnews.pl
*/45 * * * * web6_bugs cd /var/www/web6/web; ./whine.pl
- sandip's blog
- Login or register to post comments
- Read more
Azureus - A Nice Java BitTorrent Client
Tue, 06/05/2007 - 09:17 — david23Azureus implements the BitTorrent protocol using java language and comes bundled with many invaluable features for both beginners and advanced users. Azureus offers multiple torrent downloads, queuing/priority systems (on torrents and files), start/stop seeding options and instant access to numerous pieces of information about your torrents. Azureus now features an embedded tracker easily set up and ready to use.
- david23's blog
- Login or register to post comments
Web,Streaming,ftp or mail server Logs analyzer Using Awstats
Tue, 06/05/2007 - 09:16 — david23AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics,graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers,mail servers and some ftp servers.
- david23's blog
- Login or register to post comments
Hosting multiple domains pointed to the same web-space
Thu, 05/31/2007 - 16:20 — sandipPlace the snippet of code in an index.php file to pull up a different web page for each domain pointed to the same web-space.
<?
$serverName = $HTTP_HOST;
$serverName = str_replace("www.",& quot;",$serverName);
$serverName = str_replace(".com",& quot;",$serverName);
$serverName = str_replace(".net",& quot;",$serverName);
$serverName = str_replace(".org",& quot;",$serverName);
if (!(empty($serverName))) {
include("./".$server Name.".html");
}
?>
Fixing a scanner broken by the Feisty upgrade
Tue, 05/29/2007 - 05:52 — david23If you have been using a USB scanner and upgrade from Edgy to Feisty, you may find that your scanner no longer works.You can use this fix to solve your scanner problem.
- david23's blog
- Login or register to post comments
Filesystem Encryption Tools for Linux
Tue, 05/29/2007 - 05:51 — david23Crypto filesystems keep your data safe – even if someone steals your computer.Linux offers a number of encrypted filesystem options – each with a different approach to the encryption problem.Encrypted filesystems may be overkill for family photos or your résumé, but they make sense for network-accessible servers that hold sensitive business documents, databases that contain credit-card information, offline backups, and laptops.
- david23's blog
- Login or register to post comments
Installing APC Cache (alternative to Turck Mmcache/Eaccelerator)
Wed, 05/23/2007 - 10:31 — sandipNotes on installing Alternative PHP Cache (APC):
-
Download and istall:
$ wget http://pecl.php.net/get/APC-3. 0.14.tgz
$ tar -xvzf APC-3.0.14.tgz
$ cd APC-3.0.14
$ phpize
$ ./configure --enable-apc
$ make
# make install
extension=/path/to/apc.so
apc.enabled=1
apc.shm_segments=1
apc.optimization=0
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XX XXXX
apc.enable_cli=1
# service httpd restart
Copy the "apc.php" admin file in the source directory to a password protected web site directory. Edit "apc.php" top line to change password to something different from default.
Static compile and install of apache + mod_ssl + php on FC4
Tue, 05/22/2007 - 15:24 — sandipLatest Compile with pdo drivers for mysql along with mod_security.
NOTE:
Remove the MySQL-shared rpm else openssl will not work.
# rpm -e MySQL-shared-5.0.20a-0.glibc23
Howto Setup Dual Monitors with NVidia in Ubuntu
Tue, 05/22/2007 - 05:56 — david23This tutorial explains how to setup Dual Monitors with NVidia in Ubuntu. It’s quite a pain to get dual monitors working your first time using Linux, however I hope this guide will make the process relatively quick and painless.
- david23's blog
- Login or register to post comments