I have a testing box that didn’t have a hardware raid card in it so I decided to see if I could get this going for grins. I’m fairly certain this whole setup would break at the least desirable moment and I certainly won’t be using this for any production boxes, but it was an interesting diversion into the world of software raid which I’d never used before. The basic order I followed is:

Install Proxmox as usual onto 1 drive(/dev/sda)
aptitude install mdadm initramfs-tools

Edit the modules list for initramfs-tools to force add the raid1 module

mkinitramfs -o /boot/test -r /dev/mapper/pve-root
add a grub list entry to point to my new initrd image

fdisk the 2nd disk to look exactly like the first disk
mdadm –create /dev/md0 –level=1 –raid-devices=2 missing /dev/sdb1
mdadm –create /dev/md1 –level=1 –raid-devices=2 missing /dev/sdb2
mdadm –detail –scan >> /etc/mdadm/mdadm.conf

pvcreate /dev/md1
vgextend pve /dev/md1
pvmove /dev/sda2 /dev/md1
vgreduce pve /dev/sda2

mdadm –add /dev/md1 /dev/sda2
watch -n 1 “cat /proc/mdstat”

mkfs.ext3 /dev/md0
mkdir /mnt/md0
mount /dev/md0 /mnt/md0
cp -ax /boot /mnt/md0

edit fstab to map the /boot to /dev/md0

sfdisk –change-id /dev/sda1 fd
mdadm –add /dev/md0 /dev/sda1

use grub to install bootloader onto the 2nd hard drive

How to setup nameservers for reseller in Helm.


In order to setup reseller nameservers in Helm, please follow the steps:-

1) Login to Helm control panel http:// ipaddress:8086

2) To set up the personal name servers, log in as an administrator, go to System Settings” > “Servers”, and click on the server that is hosting the DNS service.

3) Click on the DNS service in the server’s service list. At the bottom of the DNS service editor there will be a list of name servers. There should be the “Default” name server(s) already added from when you first created the service.

4) Click on “Add New” to add the resellers name services. Enter in the relevant information into form and keep “Default name server” unchecked. Click Save to continue.

If you have the primary and secondary DNS service on different machines, you will need to add the secondary name server to the secondary DNS service.

5) To complete personal DNS, go to the resellers account in Helm and click “Account Settings” under their account. Click on “Global Settings” to get a list of their general Helm settings. On this page there is a Personal DNS Mask box. In this box enter the domain name used for the resellers new name servers. For example. If you have set up ns1.personaldns.com and ns2.personaldns.com then enter “personaldns.com” into the DNS mask.

Click Save to save the changes.

Make sure that the mask and the DNS Service name use the same name, or it won’t work.

Whenever a new domain is now created under this reseller package, Helm will automatically assign these name servers to the domain. You will see them in the Advanced Settings area for the domain.

Cpanel den Directadmin bir sunucuya 300 kadar domain aktarmam gerekti.
Bunun en kolay ve kisa yolunu arastirdim ve su sekilde islemleri tamamladim.

1- cpanel sunucuda en hizli sekilde linux konsoldan backup aliniyormus.Once Backup aldim.

/scripts/pkgacct konsoldan hizli backup almaya yariyor.

sunucudaki tum userlari yedeklemek icin

for b in $(ls /var/cpanel/users); do /scripts/pkgacct $b;done

bu komut users doyasini okuyup herseyi /home altina cpmov-* seklinde yedekliyor.

bu islem 300 domain icin baya bir vakit aldi.

2- ikinci islem olusturlan dosyalari yeni sunucuya tasimak

scp bunun icin uygun

cd /home
scp cpmove-* root@ye.ni.su.nu.cu:/home/user/cpanelden_directadmine/import

tasima isimiz basladi. Gayet guzel konsoldada durumu goruyoruz. Islem bir kazaya ugramasin diye screen altinda calistirmak daha mantikli

3- dosya transferi bittikten sonra
cpanel yedeklerini directadmin yedeklerini ceviren uygulama calistirilir directadmin sunucuda

islem tamamlanir

detaylari sonra yazacagim
belkide yazmam bilmiyorum :D

Lenowo SL 500 Aldim.

Eski Dell inspiron 1525 e gore ciddi bicimde takoz bu makina.
ancak kullanim olarak delli dover.
ote yandan 1 sonraki alacagim laptop dellin ust modellerinden birisi olsun.

Bunuda buraya yazayim aklimda kalsin…

“lvdisplay” to see logical volumes.
“vgdisplay” to see volume groups.
“pvdisplay” to see physical volumes.
“fdisk -l” to see list of disks.

1-

Eva’s useful guide to Ubuntu 9.04

A. Media Codecs, DVD support and more
B. Install useful software
C. Set up Firefox & Thunderbird
D. How to install fonts

E. Get more languages
F. How to force the package architecture
G. How to install Virtualbox

H. Miscellaneous
I. Ubuntu Branding
J. Hardware Specific issues

http://www.johannes-eva.net/index.php?page=2009_04_useful_ubuntu_guide_jaunty

2-

Human Compact Themes (for Ubuntu 8.10)

November 4th, 2008 | Tags:

This is a new release of the compact theme, based on the original Ubuntu 8.10 (Intrepid) theme. It was created by Jan Suhr almost a month ago, based on my little howto.

I have now two versions of the theme: one with normal icon sizes, and one with the smaller 16×16 icons for even more compactness. Here is a comparison animation of the standard Human theme vs. the compact theme:

http://martin.ankerl.com/2008/11/04/human-compact-themes-for-ubuntu-810/

3-

primus telekom

adsl distance calculator

http://www.primusmaps.com.au/maxrate.html

Transfer islemleri su basit adimlardan olusmaktadir.

1- su an domainlerinizin kayit edildigi eski kayit firmasinin web sitesine gidin.
2- transfer etmek istediginiz domainler icin eski kayit firmasindan eger varsa domain transfer kilitleriniz kaldirin
3- transfer etmek istediginiz domainler icin eski kayit firmasindan her bir domain icin ayri olacak sekilde transfer kodu / epp key veya auth key alin.
4- transferleri onaylayabilmek icin ilgili domainlerin whois bilgilerindeki yetkili mail adreslerinin sizin tarafinizdan erisilebilen calisan mailler olmasina dikkat edin. Eger degiller ise transfer islemlerine baslamadan once bu mailleri kendi ozel mailleriniz ile degistirin
— eski firma ile isiniz bitti —

5- www.medyabim.com.tr ye kullanici adi ve sifreniz ile giris yapin
6- http://www.medyabim.com.tr/domain-transferi.html adresine girin ve transfer etmek istediginiz domainleri yazin
7- transfer uygunlugu kontrolunden sonra her bir domain icin yukarida 3 cu adimda aldiginiz transfer anahtarlarini girin
8- odemenizi yapin
— medyabim ile isiniz bitti —

bu asamadan sonra

9- medyabim den transferi onayladiginiza dair ingilizce bir mail alacaksiniz. Bu mailin icinde approve transfer yazan linke 1 kere tiklayin. bir web sitesi acilacak ve transfer approved yazacak.
her bir domain icin gelen maillerde bu islemi tekrarlayin.
10- eski kayit firmanizdan domainlerin kendilerinden medyabime transfer olacagina iliskin ingilizce bir mail alacaksiniz. Bu mailin icinde accept/approve transfer ve cancel transfer linkleri olacak. Accept/approve transfer linkine tiklayip transfer isteklerinizi eski kayit firmaniz uzerinden onaylayin. Her bir domain icin bu islemi tekrarlayin.

11- bu onaylardan sonra islemleriniz tamamlandi. en fazla 48 saat icinde domain transferleriniz gerceklesecektir. Transfer ettiginiz domainler bizim ustumuzden 1 yil uzatilmis olacaktir.