Just imagine, you manage a server remotely. The server has many disks, one day one of the disk could be failure. How can you tell the onsite engineer which drive is failure? The answer is you need to give the engineer the serial of the drive. So, the next question is , how can i get the serial? When the drive is dead, you can’t not get its serial, so you must record your server hard disk serial number, when something happens, you can access to your document and get it. Here is the command to get the serial number in Ubuntu: myuser@netbook:~$ sudo hdparmRead More →

Simply run this command, replace example.crt with your actual certificate file: $ openssl x509 -noout -text -in example.crt Certificate: Data: Version: 3 (0x2) Serial Number: .. Signature Algorithm: sha256WithRSAEncryption Issuer: C=GB, ST=Greater Manchester, L=Salford, O=COMODO CA Limited, CN=COMODO RSA Domain Validation Secure Server CA Validity Not Before: Sep 10 00:00:00 2014 GMT Not After : Sep 10 23:59:59 2015 GMTRead More →

It’s simple, just run this command $ openssl req -noout -text -in example.csr | grep ‘Signature Algorithm’ Signature Algorithm: sha256WithRSAEncryption If the value is sha256WithRSAEncryption, the certificate is using SHA-256 (also known as SHA-2). Another common value is sha1WithRSAEncryption, that means the certificate is signed with SHA-1.Read More →

Today, i just had interesting case, a client came to me and asked me why she could not insert  page number into her powerpoint slide. Well, i thought it was easy. I sat down at her desk, open the Powerpoint slide, click on Insert -> Slide Number , nothing happened. I checked the Slide Layout, open the Slide Master, yeah, this Layout does not have page number on its footer. I added it to the slide master, go back to my normal view, nothing happened, i selected Reset Slide, the slide became messy, but there was still not page number there. What’s going on here…Read More →

Windows 2003 seems working fine with disk over 2TB, but that’s not entirely right. I had several incidents when using 3TB disk on windows 2003 server. Everything seems working file when your data is less than 2TB, when the data is over 2TB, the partition will be corrupted and your data will be lost. I don’t remember if i use dynamic disk or GPT. Becareful if you need to use disk over 2TB in windows 2003.Read More →

I have some videos that i want other people to download it instead of playing it on the browsers. First, i just try to upload that file to my web document folder and share the link, i found that the user can watch the video directly, this is not what i want, i want the user to download it to their computer, then watch it from their computer later. I did some research and i found that there is a very easy way to accomplish, you just need add the following like to .htaccess file AddType application/octet-stream .mpg AddType application/octet-stream .mov AddType application/octet-stream .mp4 ThisRead More →

Login to your Ubuntu, and run the following command: openssl req -nodes -newkey rsa:2048 -sha256 -keyout myserver.key -out server.csr It then will ask you some information for the certificate, fill them in and complete the process. Country Name (2 letter code) []: (FR in France for example) State or Province Name (full name) [Some-State]: (your state or province name, name of your département in France) Locality Name (eg, city) []: (the name of your city) Organization Name (eg, company) []: (your organization name) Organizational Unit Name (eg, section) []: (do not fill – advised – or enter a generic term such as “IT Department”.) CommonRead More →

When you encounter this error message on your Samsung or any Android device: “Unfortunately, the process com.google.process.gapps has stopped.”. This could be that your Download Manager was disabled. Try to enable it to see if it works. Here are the steps to enable Download Manager on Samsung / Android: Settings -> More -> Application Manager -> All , scroll down and look for Download ManagerRead More →