Fedora32

rpm -qi basesystem
Name        : basesystem
Version     : 11
Release     : 9.fc32
Architecture: noarch
Install Date: Fri 26 Jun 2020 01:38:00 +08
Group       : Unspecified
Size        : 0
License     : Public Domain
Signature   : RSA/SHA256, Tue 28 Jan 2020 20:47:29 +08, Key ID 6c13026d12c944d0
Source RPM  : basesystem-11-9.fc32.src.rpm
Build Date  : Tue 28 Jan 2020 20:47:19 +08
Build Host  : buildvm-armv7-19.arm.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
Bug URL     : https://bugz.fedoraproject.org/basesystem
Summary     : The skeleton package which defines a simple Fedora system

Sekarang sudah Fedora 35 dan aku masih gunakan Fedora 32. Masa untuk kita upgrade. Tengok nanti apa beza

Thunderbird slow

Recently I have changed my hard disk to SSD to speed up Thunderbird process. BUT! as you can see the process above, Thunderbird used 100% of CPU

What cause it ?

The answer is, too much email in one folder. I just have to archive everything and there is alot of improvement in term of speed and CPU usage

Hadiah

Lama dah dapat benda ni dan dah abis dimakan sudah pon. Tapi baru la ada mood nak up kat blog bersawang ini.

3 perisa berbeza and semua sedap dan rasa pon premium sungguh. Rasa kalau beli sendiri mahal ni

Terima kasih la dekat customer sudi bagi hadiah ni.

JBIX Peering Forum 2019

Since company aku kerja dah buat banyak perubahan infra / network dan lain2. Aku dapat banyak peluang untuk explore benda baru dalam kerjaya. Ini adalah conference pertama aku pergi dan dapat jumpa orang2 hebat dari serata dunia seperti Cloudflare / Linode / Hurricane Electric dan macam2 lagi orang.

Banayk ilmu juga boleh jumpa dengan orang2 hebat ni. Insyaallah kalau ada kesempatan aku join lagi dengan dorang!

My Fedora ISO USB Windows

salah satu benda yang agak memeningkan kepala buat masa sekarang untuk buat bootable USB untuk windows.

Kadang2 sampai crash usb aku. and pernah juga sampai motherboard hangus terbakar haha.

Kalau dekat ubuntu / debian base. Aku guna bootiso untuk bootable windows. Amat mudah dengan satu command je

Untuk more info korang boleh ke github bootiso

https://github.com/jsamr/bootiso

Ini pulak code untuk rujukan aku sendiri. Tapi kalau ada orang yang boleh boot guna command ni pon bagus juga untuk aku kongsikan

sudo woeusb --tgt-fs NTFS --device ~/Downloads/Win10_1909_English_x64.iso /dev/sdc

Sila tukarkan /dev/sdc tu kepada usb drive korang ya!

# Linux ISO Windows USB
# Fedora ISO Windows USB

Mysql strict Mode centos 7

By default (Cpanel centos 7) enable Mysql strict mode

You can check from SSH by this command :

 

mysql -e 'select @@GLOBAL.sql_mode;'

 

The result :

+--------------------------------------------+
| @@GLOBAL.sql_mode |
+--------------------------------------------+
| STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION |
+--------------------------------------------+

 

If you familiar with Cpanel Mysql configuration location is /etc/my.cnf

BUT in centos 7, the configuration for strict mode is from this location = /usr/my.cnf

NOW you have to edit /usr/my.cnf to

sql_mode=""

After that :

systemctl restart mysql.service

 

 

yum processes hangs

1. Kill all RPM and yum processes

ps aux | grep rpm

 

2. Kill command

kill -9 pid-id

 

3. Kill all up2date

ps aux | grep up2date

 

4. Kill command up2date

kill -9 pid-id

 

5. Remove any RPM lock files

rm -rf /var/lib/rpm/__db*

 

6. Rebuild the rpm database

rpm --rebuilddb

 

7. Cleaning the yum

yum clean all

 

NOW YOU CAN RUN

yum update -y

 

Cpanel Disk Usage

disk_usage

 

Sometime people asking me about their storage usage which is the higher usage for the directory

If the user using 5GB or more than 6GB, it will take longer time to see the result from the Cpanel Disk Usage menu

So what i can do is just issue a command from a terminal

First you have to go to the user directory :

cd /home/username/

After that issue below command

du -sch .[!.]* * |sort -h

And the result is like below :

4.0K cpbackup-exclude.conf
8.0K public_ftp
24K ssl
76K cache
884K etc
8.0M logs
18M tmp
169M public_html
6.7G mail

1 2 3