Very helpful when unsure on using the type of comparison operators and brackets to use in bash.
Shared PostgreSQL Database Hosting Setup
* Manage cluster only via access to a super user account
- no permanent modification of pg_hba.conf etc. required
- central managing system can manage several clusters without the need for additional control channels
* Customers cannot directly create new roles and databases
* Each customer database is given an associated main user
- acting as a database local super user
- typically creates and owns all objects
* The can be a number of additional users per database
- Rights of these users are granted by the main user
How to Integrate windows Active Directory and Samba in Ubuntu
Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients.” Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients.
Kid3 - opensource ID tagger to edit mp3 & other media files
Kid3 is a free opensource tool to easily tag multiple MP3 files (e.g. full albums) without typing the same information again and again and allow you to control and edit ID3v1 and ID3v2 tags. It’s one of those things I started doing so enthusiatically and then give up after a few tracks and finally this should help me get around this.
Convert / root filesytem to use lvm over raid
Submitted by sandip on Sat, 11/01/2008 - 16:57. | Tags:I have outlined below the steps taken to move from a normal single disk system and convert to a raid1 using an additional drive:
Note: /boot cannot be on lvm nor any other raids other than raid1 partition.
Don't forget to make the essential backups prior.
Convert / to raid/lvm
-
fdisk /dev/sdb and make clone of sda (convert partition type to "Linux raid autodetect")
add /dev/sdb1 -- /boot - 13 blocks (100Mb) - type raid
add /dev/sdb2 -- rest - type raid
Create raid partitions:
partprobe
mdadm -C /dev/md0 --auto=yes -l 1 -n 2 missing /dev/sdb1
mdadm -C /dev/md1 --auto=yes -l 1 -n 2 missing /dev/sdb2pvcreate /dev/md1
vgcreate vg0 /dev/md1
lvcreate -L 4G -n lv0 vg0
mke2fs -j /dev/vg0/lv0
mkdir /mnt/lv0
mount /dev/vg0/lv0 /mnt/lv0
find / -xdev | cpio -pvmd /mnt/lv0
cp -aux /dev /mnt/lv0/dev/vg0/lv0 / ext3 defaults 1 1chroot /mnt/lv0
mount -t proc /proc /proc
mount -t sysfs /sys /sys
vgscan
vgchange -ay
mkinitrd -v /boot/initrd-2.6.18-92.1.6.el5.lvm.img 2.6.18-92.1.6.el5reboot
Convert /boot to raid1
Simple Guide How to Upgrade Ubuntu 8.04 (Hardy Heron) to Ubuntu 8.10 (Intrepid Ibix)
This tutorial will explain how to Upgrade Ubuntu 8.04 (Hardy Heron) to Ubuntu 8.10 (Intrepid Ibix) released on the 30th of October 2008.By default Ubuntu 8.04 LTS will not offer a upgrade to 8.10. This is because the 8.04 LTS version is a long term support release and 8.10 is a regular release. Upgrades from 8.04 LTS to 8.10 are fully supported, of course, and easy to enable.
SATA disks as AHCI
Submitted by sandip on Fri, 10/31/2008 - 00:11. | Tags:When converting from IDE to AHCI in the BIOS to include additional drives, I would get a kernel panic... as by default the bios was setup with the drives as IDE.
Booted using existing IDE and created a new kernel image with support for AHCI via the --preload option to manually specify modules support:
# mkinitrd --allow-missing --preload=ahci --force-scsi-probe /boot/initrd-`uname -r`-custom.img `uname -r`Then create a new grub boot option to load the new custom kernel image and select it when grub boots up using AHCI.
fdupes - Command line tool to find and list/delete duplicate files
fdupes is a simple Command Line utility to find and list duplicate files in the specified directories. fdupes can also delete the found duplicate files if instructed. fdupes can follow Symlinks and can be instructed to ignore hardlinks. fdupes can also show the size of the duplicate files. fdupes is a simple and very efficient tool, easy to use.
Forcing apache to listen to ipv4
Submitted by sandip on Mon, 10/27/2008 - 21:17. | Tags:Recently, I've noticed that in ubuntu (6.06) dapper server with apache-2.0.55, apache by default listens to IPv6, thus was causing slow response times. The response times was much improved by having apache listen to IPv4 instead.
Edit /etc/apache2/ports.conf and specify an IPv4 address on all Listen directives:
Listen 0.0.0.0:80
Listen 0.0.0.0:443Miro - Internet TV for your Ubuntu Desktop
Miro is a free application for channels of internet video (also known as ‘video podcasts and video rss). Miro is designed to be easy to use and to give you an elegant fullscreen viewing experience.
There are thousands of free internet video channels that you can watch. You’ll be able to download all the videos that each channel offers and when new ones are released, Miro will grab them automatically.
Recent comments
2 days 6 hours ago
1 week 1 day ago
1 week 3 days ago
1 week 5 days ago
2 weeks 3 days ago
2 weeks 4 days ago
2 weeks 4 days ago
2 weeks 5 days ago
2 weeks 5 days ago
2 weeks 5 days ago