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 →

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 →

There was a blog post that I have used multiple times to format a drive at or over 3TB in size. Unfortunately the original blog post recently went offline and I had to use the wayback machine to get it’s contents. The original URL of the post is: here and a link to the wayback machine archive of it is: here. If the original author puts the article back online I would be more than happy to link to it and remove the archived version I have posted below. I hope this helps other people as well but I am posting it here mainly as a guide forRead More →

Mounting a Windows (SMB) share on Ubuntu gives us a “cannot allocate memory” error. Executing a command like this: mount -t cifs //toad/Backup /media/backup -o user=username,password=password,iocharset=utf8,file_mode=0777,dir_mode=0777 We get an error like this: mount error(12): Cannot allocate memory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Solution: First, check the permissions on your shared folder. Right-click the folder and selectProperties. Your Windows user must be allocated permissions on both the Securityand the Sharing tabs. Open regedit, and set the following registry key to ‘1’. This key tells Windows to set aside enough system cache for sharing large files. Commenter Raoul Duke (thanks!) adds that this change is unnecessary on Windows 7 and later.Read More →

Debugging Autofs problem If you are having trouble automounting your file systems, want to check where the log that autofs being saved, it may be useful to run automount in the foreground. Stop the autofs daemon sudo service autofs stop Run automount in the foreground with verbose information sudo automount -f -v From another terminal, try to mount your file-systems by changing directories into the mountpoint. Check the output from the first terminal for clues as to why the mount failed or was not attempted.   Hope it help.Read More →

If your apt-get repositories don’t contains any precompiled 1.0.1g OpenSSL version, so just download sources from official website and compile it. Below the single command line to compiling and install the last openssl version. curl https://www.openssl.org/source/openssl-1.0.1g.tar.gz | tar xz && cd openssl-1.0.1g && sudo ./config && sudo make && sudo make install Replace old openssl binary file by the new one via a symlink. sudo ln -sf /usr/local/ssl/bin/openssl which openssl You are all good ! # openssl version should return openssl version OpenSSL 1.0.1g 7 Apr 2014Read More →