Month: January 2012

GRUB2 runlevel 3 – Howto Change runlevel on GRUB2

This is quick guide howto change runlevel on GRUB2. Title says runlevel 3 (refer to changing runlevel from 5 to 3), but yes same method of course works, if you want to change runlevel from 3 to 5, from 5 to 1 or from 3 to 1. Whole process is actually add one additional boot […]

PHP / PDO / SQLite3 Example

This is a PHP, PDO and SQLite3 example, which demonstrates the SQLite3 databse usage with PHP-PDO. The PHP / PDO / SQLite3 example code demonstrates following things, and their use: Create / Connect SQLite3 databases Use SQLite3 file and memory databases Create tables in SQLite3 database Use SQLite3 db different datetime formats Insert data to […]

W

WHM – How To change NameServer Ip

The file that actually handles WHM > DNS Functions > Nameserver IPs area is at /var/cpanel/nameserverips.yaml location. If you want this to be changed, you’d want to make a backup of that file first and

Gnome Shell Tweaking with Extensions and Themes on Fedora 16

This is a guide on howto modify and tweak Gnome 3.2 Gnome Shell on Fedora 16, easily with application called gnome-tweak-tool, using extensions and themes. With this guide you have two option, install all extensions and themes once or install just extensions and themes what you want to use. There’s a lot of other themes […]

Making your script work with security tokens in cPanel & WHM

What is a security token? “Security token” URLs were added in cPanel & WHM 11.25 as a security measure, and they were enabled by default in version 11.28. They help combat a common type of attack called a Cross-Site Request Forgery (XSRF). So, what does a “security token” look like? Take, for example, this URL: https://example.com:2087/i/love/cpanel With security tokens enabled, this would become: https://example.com:2087/cpsessYYYYYYY/i/love/cpanel In that example, cpsessYYYYYYY is the token unique to that logged-in …

Install LibreOffice 5.2/5.1 on Fedora 24/23, CentOS/RHEL 7.2/6.8

This is guide, howto to install LibreOffice 5.2.0 (testing) / 5.1.4 (testing) / 5.1.3 (stable) / 5.0.6 (stable) on Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8 and Red Hat (RHEL) 7.2/6.8 using LibreOffice’s original RPM packages. This guide’s idea is offer one method to all LibreOffice versions and also one method to all Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS/Red Hat (RHEL) […]