Friday, July 31, 2015

Cara konfigurasi MX record dan DNS record untuk verification zoho maildi cpanel

Sampai artikel ini ditulis,  email dari zoho.com masih gratis. sebelum berbayar segera pindahkan email anda ke zoho.

Sangat Perlu diperhatikan aturan yang berlaku di zoho mail terutama spam yang dikirimkan baik disengaja ataupun tidak (seperti email dikirim oleh virus) menggunakan mail server zoho maka layanan email akan dihentikan selamanya.

Pendaftaran di zoho.com kami anggap sudah bisa, tinggal bagaimana mengkonfigurasikan dnsnya agar email bisa mengarah ke zoho mail.

Cara konfigurasi MX record zoho mail di cpanel sbb:

  1.  Klik icon MX Entry di group mail.

  2.  Hapus semua konfigurasi yang ada di kotak mx record

  3.  Tambahkan di kotak Add a New Record sbb:Priority isi dengan 10 , Destination isi dengan mx.zoho.com

  4. Masukan lagi mx record kedua:Klik tombol Add New recordPriority isi dengan 20 , Destination isi dengan mx2.zoho.comKlik tombol Add New record

  5. Masukan lagi mx record kedua:Klik tombol Add New recordPriority isi dengan 50 , Destination isi dengan mx3.zoho.comKlik tombol Add New record



Sampai langkah ini bila tidak ada kesalahan maka email akan otomatis masuk ke zoho mail



Menambahkan kode Verifikasi Domain dari cpanel

Terdapat 3 pilihan verifikasi yaitu HTML, TXT dan CNAME. pilih salah satu saja. Verifikasi yang paling mudah dengan memilih HTML, hanya dengan download file html yang disediakan dan diupload ke server sesuai petunjuk upload dari zoho.

Langkah dibawah menjelaskan 2 metode selain HTML yaitu verifikasi dengan CNAME dan TXT

  1. Masih di cpanel, klik icon Advance DNS editor.

  2. Cari kotak Add a Record, dan Masukan kode verifikasiBila menggunakan verifikasi CNAME:Name: zb1234567
    TTL : 14400
    TYPE : CNAME
    CNAME : zmverify.zoho.comBila menggunakan verifikasi TXT masukanName: namadomainanda.com
    TTL : 300
    TYPE : TXT
    TXT Data: zoho-verification=zb1234567.zmverify.zoho.comBila menggunakan verifikasi dengan file html.
    1 Bikin folder baru zohoverify
    2.Download file yang diberikan biasanya file verifyforzoho.html
    3. Upload file ini ke folder zohoverify
    4. Verifikasi di web zoho.



Monday, July 20, 2015

mysql user crash/corrupt

error log di mysql menampilkan sbb:
 

150719 19:57:18 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719 19:57:18 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719 19:57:18 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719 19:57:18 [ERROR] Fatal error: Can't open and lock privilege tables: Table './mysql/user' is marked as crashed and should be repaired
150719 19:57:18 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired


 
untuk perbaikan jalankan perintah
 

mysqlcheck -r mysql

Sunday, July 19, 2015

Mengatasi mirror cloudlinux yang bermasalah

berberapa mirror cloudlinux ada yang bermasalah, untuk mengakali agar tidak menuju mirror yang bermasalah dapat ditambahkan:
 
echo exclude=cl-mirror.qwords.net >> /etc/yum/pluginconf.d/fastestmirror.conf

atau


vi /var/cache/yum/x86_64/6/cloudlinux-x86_64-server-6/mirrorlist.txt
hapus baris mirror server yang bermasalah.

The adminbin “cpmysql” in the “Cpanel” namespace call to function “DBCACHE” ended prematurely

Error pada mysql di cpanel seperti:

The adminbin “cpmysql” in the “Cpanel” namespace call to function “DBCACHE” ended prematurely: The subprocess reported error 255 when it ended.

disebabkan mysql user mangalami crash


150719  6:56:02 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719  6:59:42 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719  6:59:53 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719  7:00:05 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719  7:00:05 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719  7:00:05 [ERROR] Fatal error: Can't open and lock privilege tables: Table './mysql/user' is marked as crashed and should be repaired
150719  7:01:15 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719  7:01:15 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired
150719  7:01:15 [ERROR] Fatal error: Can't open and lock privilege tables: Table './mysql/user' is marked as crashed and should be repaired
150719  7:02:06 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired





cara mengatasi:

ketik:


mysqlcheck -r mysql
service mysql restart

Saturday, July 18, 2015

Mounting partisi LVM di centos

Berikut tips mounting partisi LVM di centos:

1. cek dulu partisinya

fdisk -l /dev/sda


hasilnya:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14      121601   976655610   8e  Linux LVM


2. cek informasi partisi

pvs

 hasilnya


 PV         VG         Fmt  Attr PSize   PFree
 /dev/sda2  VolGroup00 lvm2 a--  931,41G    0
root@sj7 [~]# fdisk -l /dev/sda

 3. cek informasi lvm nya.

lvdisplay /dev/VolGroup00


hasilnya:


 --- Logical volume ---
 LV Name                /dev/VolGroup00/LogVol00
 VG Name                VolGroup00
 LV UUID                dyi31m-U6qv-zUzE-nvGd-P2zd-KZ2r-I6Ec7d
 LV Write Access        read/write
 LV Status              available
 # open                 1
 LV Size                926,28 GB
 Current LE             29641
 Segments               1
 Allocation             inherit
 Read ahead sectors     auto
 - currently set to     256
 Block device           253:0
 
 --- Logical volume ---
 LV Name                /dev/VolGroup00/LogVol01
 VG Name                VolGroup00
 LV UUID                I3mQHd-xjr1-FUqD-c9xR-eg5V-Ki4w-Zf0pwh
 LV Write Access        read/write
 LV Status              available
 # open                 1
 LV Size                5,12 GB
 Current LE             164
 Segments               1
 Allocation             inherit
 Read ahead sectors     auto
 - currently set to     256
 Block device           253:1


 4. setelah tau lokasi folder lvm lakukan mounting.


mount /dev/VolGroup00/LogVol00 /mnt/tmp


hasil mounting bisa cek di folder /mnt/tmp



Cara Mengganti atau menimpa SELURUH file dan folder lokal dari gitHub

Untuk mengganti atau menimpa SELURUH file dan folder lokal agar persis sama dengan file di repository remote (GitHub), Anda bisa melakukan ...