If you have multiple servers connecting to internet, these servers use Samba to share file with each other. Normally, you will Samba server for this purpose. After you install Samba & configure the server, all servers now can access file sharing now. But there is another issue, you realize that internet users can also access these files. How can we block internet users while still these servers sharing file with each other. There are many solutions, but here is my proposal: We create a virtual interface network, all our servers will have a 2nd virtual private interfaces , to do this you can add someRead More →

A gentleman came to me with his Iphone and asked for help, his iphone didn’t rotate automatically when he changed Iphone orientation. He said that he had done something with the setting, now he could not find it. I don’t remember it too , i go to General -> Settings , there is no option to change there. I did a little google search, and found the way to fix. It’s simple , just swipe up your phone, you will see the option there. Remember that not every application can change the orientation, some just use portrait , some use landscape only.Read More →

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 →