New HP server came with 4 SCSI HD, need to use it for email server. Replace old Intel Pre Server host around 3000 email account.
I’ve been playing around with gconcat for ftp server, now wanna try gstripe 🙂
jedimaster# gstripe label -v email /dev/da1s1d /dev/da2s1d /dev/da3s1d
Metadata value stored on /dev/da1s1d.
Metadata value stored on /dev/da2s1d.
Metadata value stored on /dev/da3s1d.
jedimaster# newfs -U /dev/stripe/email
jedimaster# mount /dev/stripe/email /email
jedimaster# df -H
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 10G 65M 9.5G 1% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/da0s1d 52G 905M 47G 2% /home
/dev/da0s1e 16G 3.9G 10G 27% /usr
/dev/da0s1f 62G 20M 57G 0% /var
/dev/stripe/email 427G 4.1k 392G 0% /email
# Device Mountpoint FStype Options Dump Pass#
/dev/da0s1b none swap sw 0 0
/dev/da0s1a / ufs rw 1 1
/dev/da0s1d /home ufs rw 2 2
/dev/da0s1e /usr ufs rw 2 2
/dev/da0s1f /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/stripe/email /email ufs rw 2 2
jedimaster# echo ‘geom_stripe_load="YES"’ >> /boot/loader.conf
jedimaster# time dd if=/dev/zero of=/email/test.img bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 21.451587 secs (50054191 bytes/sec)
0.000u 2.677s 0:21.46 12.4% 21+2974k 33+8192io 0pf+0w
is it scsi thing or I left something?
Interesting to see ZFS in action, I’ll try it too.
gmail is great, when my old email server suffering with email pdf spam. Spam folder in gmail already filled with this pdf type 🙂
Some opinion :
from securiteam :
"I have been getting lately more and more PDF based spam, the PDF itself appears to be just a cover for the normal image spam. The idea I believe is that PDF is not investigated by most spam filtering agents, and is not regarded by spam filtering as a “score giver” (i.e. what makes the email look more spamish than others)"
from heise security :
"The goal of those behind this spam is clear: the spammers purchase shares at a low price and then try to drive the price up so that they can sell at a quick profit. The companies whose stock is being promoted in this way generally do not have anything to do with such attempts at manipulation, but by the start of 2006, studies were showing that spam about company shares can actually affect share prices."
ic..ic, playing with stock for profit.
Maybe I should forward my other email to gmail for autoclean this spam 🙂
Its my bad for not reading database manual that lead me for doing boring task .
Dump a few database from server and dumping it in my windows xp. one by one.
Perhaps someone who see this post can learn and not doing same mistake as me.
Command to backup one database :
backup database pendidikan :
edp# mysqldump -ualam -p pendidikan > pd.sql
backup database cms_study :
edp# mysqldump -ualam -p cms_study> cms1.sql
backup database cms_stmik :
"Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued. The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5. For documentation on migration for PHP 4 to PHP 5, we would like to point you to our migration guide. There is additional information available in the PHP 5.0 to PHP 5.1 and PHP 5.1 to PHP 5.2 migration guides as well.
For documentation on migration for PHP 4 to PHP 5, we would like to point you to our migration guide. There is additional information available in the PHP 5.0 to PHP 5.1 and PHP 5.1 to PHP 5.2 migration guides as well."
Wow, seem that php5 campaign get full support
it’s also make zend framework full acceleration since it’s only run in php5 not like codeigniter that run on php4 and php5.
OK, php5 I’m coming 🙂
When requirement for information stored in database grow, old table structure need to adjust for flexibility.
Common task to do in normal cycle :
1. Build new application in other place
2. Synchronize database ( tables)
3. Upload application.
Second step ( synchronize tables) often painful when a lot of changes made at home and need to sync with server environment.
A handy tool to sync database table I often use is sqlyog.
For example I have two database :
db1 (at server)
db2 (at home)
table structure has changed.
In db1, table testing has this fields :
CREATE TABLE `testing` (
`id` tinyint(3) NOT NULL auto_increment,
`name` varchar(15) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;