Currently Feisty Fawn users (7.04) using the generic kernel (which is 2.6.20-16-generic). This tutorial will explain
howto upgrade you to kernel version 2.6.22-9-generic(as of 31JUL07).
Blogs
Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn
Submitted by david23 on Mon, 08/06/2007 - 04:24- david23's blog
- Login or register to post comments
Monitoring Ubuntu Services Using Monit
Submitted by david23 on Tue, 07/31/2007 - 05:11monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system. Monit
conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
- david23's blog
- Login or register to post comments
VHCS2 ISP control Panel Setup Guide in Debian Etch
Submitted by david23 on Tue, 07/31/2007 - 05:10VHCS delivers a complete hosting automation appliance by offering significant security, total-cost-of-ownership, and performance advantages over competing commercial solutions With VHCS Pro you can configure your server and
applications, create user with domains with a few point-and-click operations that take less than a minute. There is no limit to the number of resellers, users and domains that can be created.At the core of VHCS Pro are 3 easy-to-use, Web-based control panels. VHCS provides graphic user interfaces for the administrators, resellers and users.
- david23's blog
- Login or register to post comments
- Read more
Changing Timezones
Submitted by sandip on Fri, 07/27/2007 - 11:42# rm /etc/localtime
# ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime
# hwclock --systohc
- sandip's blog
- Login or register to post comments
- Read more
Schedule Tasks Using Gnome-schedule (cron & at GUI)
Submitted by david23 on Fri, 07/27/2007 - 03:30Gnome-schedule is a grapichal user interface to ‘crontab’ and ‘at’, both used to schedule tasks. It supports periodical tasks and tasks that happens once in the future. It is written in python using pygtk.
- david23's blog
- Login or register to post comments
Generating Apache SSL Self-Signed Certificate
Submitted by sandip on Thu, 07/26/2007 - 21:59# openssl req -x509 -newkey rsa:1024 -keyout /etc/httpd/conf/ssl.key/server.key -out /etc/httpd/conf/ssl.crt/server.crt -days 9999 -nodes
# chown root:root /etc/httpd/conf/ssl.key/server.key
# chmod 400 /etc/httpd/conf/ssl.key/server.key
Mount and Unmount ISO,MDF,NRG Images Using AcetoneISO (GUI Tool)
Submitted by david23 on Wed, 07/25/2007 - 09:48AcetoneISO is CD/DVD image manipulator for Linux.Using this tool it is very easy to Mount and Unmount ISO,MDF,NRG Images
- david23's blog
- Login or register to post comments
lftp with TLS/SSL
Submitted by sandip on Tue, 07/24/2007 - 22:52lftp ftp client support tls/ssl so why not use a secure connection for ftp.
$ lftp
lftp :~> set ftp:ssl-force true
lftp :~> connect ftp.domain.tld
lftp ftp.domain.tld:~> login <username>
Insist on your host to serve up ftp with tls/ssl support so all data is secured.
If using proftpd server, tls/ssl can be configured via "/etc/proftpd.conf":
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol TLSv1
# Are clients required to use FTP over TLS when talking to this server?
TLSRequired off
# Server's certificate
TLSRSACertificateFile /etc/pki/tls/proftpd/server.cert.pem
TLSRSACertificateKeyFile /etc/pki/tls/proftpd/server.key.pem
# CA the server trusts
#TLSCACertificateFile /etc/pki/tls/proftpd/root.cert.pem
# Authenticate clients that want to use FTP over TLS?
TLSVerifyClient off
# Allow SSL/TLS renegotiations when the client requests them, but
# do not force the renegotations. Some clients do not support
# SSL/TLS renegotiations; when mod_tls forces a renegotiation, these
# clients will close the data connection, or there will be a timeout
# on an idle data connection.
TLSRenegotiate required off
</IfModule>
The certificate can be generated to be used on the ftp server via:
# cd /etc/pki/tls/proftpd/
# openssl req -new -x509 -days 3650 -nodes -out server.cert.pem -keyout server.key.pem
Reference:
Convert .flv (Google Videos) to .mpg using ffmpeg
Submitted by david23 on Tue, 07/24/2007 - 10:09FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is developed under Linux, but it can compiled under most operating systems, including Windows. In ubuntu This package contains the ffplay multimedia player, the ffserver streaming server and the ffmpeg audio and video encoder. They support most existing file formats (AVI, MPEG, OGG, Matroska, ASF, …) and encoding formats (MPEG, DivX, MPEG4, AC3, DV, …).
- david23's blog
- Login or register to post comments
- Read more
logging php errors on godaddy hosting
Submitted by sandip on Fri, 07/20/2007 - 12:41Godaddys' linux hosting allows for editing your own "php.ini" file and enables support for logging errors, good for debugging purposes when developing with php.
Add the below lines to php.ini in the document root, to log all errors:
error_reporting = E_ALL
log_errors = on
error_log = /home/content/p/a/t/pathto/html/error_log
You should also protect the php.ini and error_log file via .htaccess:
<FilesMatch "(error_log|php\.ini)$">
Order deny,allow
Deny from all
</FilesMatch>
- sandip's blog
- Login or register to post comments