YUM Remove Repo (Repository) – YUM Disable Repo (Repository)

Quick guide, howto remove and disable YUM repo (repository). Yum command itself does not contain any way to remove the repository. YUM repo files is located in /etc/yum.repos.d/ directory. I use kde.repo file with following content as example on this guide: [kde] name=kde mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY enabled=1 Remove YUM Repo (Repository) Permanently Before moving repository permanently […]

Fedora NetInstall (Net Install) with gPXE and BFO (boot.fedoraproject.org)

This is guide with screenshots, howto install Fedora (currently Fedora 13) with gPXE and BFO (boot.fedoraproject.org). BFO combines a series of recent technologies to produce a new boot stack. The glue that holds everything together is gPXE. Boot method is similar to PXE Boot. It uses very small images (iso, floppy, disk) to bootstrap a […]

Plugins versus the functions file

Sometimes I take on the maintenance of existing WordPress-based websites, and obviously part of my initial work is to assess a site’s performance, stability, extent of customisation, etc. It all… More »

Upgrade to Fedora 13 from Fedora 12 with Preupgrade

I think the most easiest way to upgrade Fedora 12 to Fedora 13 is use Preupgrade, which download needed packages from the server and then just reboot to installer and after install boot the new system. This guide I use preupgrade-cli version, which works from command line. If you want use Preupgrade Graphical version then […]

Frequently Asked Scripts: “How do I automate XYZ after creating an account?”

This is a very common question on the cPanel forums. Many times ‘XYZ’ is adding a particular DNS zone or creating a MySQL database. In this blog post, we’ll go through the basics of script hooks and make a post hook that utilizes the XML-API to achieve ‘XYZ.’ Script hooks are files placed into the /scripts directory and named based on the script’s functionality. Since our question revolves around account creation, the respective script …

Install NetBeans IDE 6.9.1 on Fedora 14/13, CentOS 5.5, Red Hat (RHEL) 5.5/6

This is guide with screenshots, howto install NetBeans 6.9.1 on Fedora 14, Fedora 13, Fedora 12, CentOS 5.4, CentOS 5.5, Red Hat (RHEL) 5.4, Red Hat (RHEL) 5.5, Red Hat (RHEL) 6. What is NetBeans? The NetBeans IDE (integrated development environment) is available for Windows, Mac, Linux, and Solaris. The NetBeans project consists of an […]

Red Hat 6 Installation Guide – RHEL 6 Install Screenshots

This is Red Hat 6 RHEL (Red Hat Enterprise Linux) installation guide, step-by-step walkthrough with screenshots. Current version of Red Hat 6 is Beta, but also this RHEL 6 Beta version looks very stable and good OS, so that’s why I decided to write this RHEL 6 Installation guide. The Red Hat Enterprise Linux 6 […]

Upgrade to CentOS 5.11 from CentOS 5.10 (5.9, 5.8, 5.7, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0)

This is quick guide, howto upgrade to CentOS 5.11 from CentOS 5.10 (5.9, 5.8, 5.7, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0). 1. Change to root User su – ## OR ## sudo -i 2. Backup all important data Backup /etc diretory Backup important logs /var/log Backup web server configs and sites Dump MySQL databases […]

CentOS 5.5 Released – What’s new, Overview, Features, Screenshots

CentOS 5.5 is the fifth update to the CentOS 5 distribution series. It contains a lot of bugfixes, updates and new functionality. New Packages on CentOS 5.5 freeradius2 gsl postgresql84 python-dmidecode samba3x tunctl xz gpxe (x86_64 only) Some package updates exim 4.63 gcc 4.1.2 kernel 2.6.18 OpenOffice.org 3.1.1 php 5.1.6 xen 3.0.3 yum 3.2.22 httpd […]

Skipping the WHM Getting Started Wizard

In this article we detail the steps required to remove the Getting Started Wizard.  Someone may want to do this for the purpose of delivering servers in a “Configured” state. Recently, I was asked “How do I skip the WHM Getting Started Wizard?”  This is normally done so that server resellers can deliver servers in a “configured state.”  Automating steps within the first time wizard is a very easy task.  This consists of three stages: …

More Details About DB Mapping

As mentioned in A General Overview of Database Mapping , DB Mapping is available with the launch of cPanel 11.25.1. Let’s recap what DB Mapping is and then we can chew on the details: DB Mapping is core code in 11.25.1 DB Mapping exposes DB Prefixing behaviors DB Mapping provides an interface for importing non-cPanel accounts Core Code DB Mapping is coded directly into cPanel. This includes modifications to our binary code base as well …

tint2 Panel/Taskbar/Task Manager on Fedora 16/15 (Gnome 3)

This is simple guide, howto install tint2 version 0.11 and tint2 and tintwizard on Fedora 16/15/14 using YUM. tint2 is very good option if you want add panel / task bar / task manager on Gnome 3.0 and Gnome 3.2 tint2 is a simple panel/taskbar and tint2 development follows freedesktop specifications. tint2 is unintrusive, light […]

Fedora 13 Goddard – What’s New, Overview, Features, Screenshots

Fedora 13 is released. This is overview, what’s new features found on new Fedora 13 release. Main Software Updates, Changes and Features New Software Shotwell – Open source photo manager for GNOME Deja-dup – Déjà Dup (day-ja-doop) is a simple backup tool. It hides the complexity of doing backups the Right Way (encrypted, off-site, and […]

SVN Remove Added File From Repository and Keep Local File – Subversion

This is quick SVN (Subversion) tip, howto remove added file from SVN repository without deleting file from local filesystem. Remove File From SVN Repository and Keep Local File svn delete –keep-local path/to/file.example Real example: svn delete –keep-local css/test.css Real world usage example Adding a whole directory add a file that was not intended to SVN […]

PostgreSQL: Select a Random Number in a Range (Between Two Numbers)

This is quick tip howto select a random number in a range. Example random number between 1-100 (>= 1 and < 100). This is actually very easy job with PostgreSQL own random() function, which returns random value between 0-1. Following example selects 5 random values using generate_series() function: SELECT random() FROM generate_series(1,5); random ------------------- 0.595817462075502 […]

Spotlight On: API Docs & Writing a cPanel Plugin

As of today, cPanel’s API1 and API2 are fully documented. cPanel’s x3 interface is entirely API-driven, meaning that every action you can perform in the cPanel interface is now documented and can be automated through our XML-API or reimplemented in a unique theme. Accompanying the complete release of our API documentation is a guide called Writing cPanel Plugins. These documents cover all of the steps required to create a cPanel plugin, in …

A General Overview of Database Mapping

Inside of 11.25.1 we are introducing a new feature called “database mapping” .  Despite the vague name, this feature has huge implications for integrated applications, transfers from non-cPanel servers and custom themes.  What this does is remove the restraint of MySQL database and usernames having to be prefixed by the cPanel account’s username. The benefit of the DB Mapping feature is that when transferring accounts from non-cpanel systems, the database name will now be preserved …

PostgreSQL Sleep Function pg_sleep – Postgres Delay Execution

One day, I was looking for PostgreSQL database function, which could delay the execution of queries. At first I thought that I will do one myself, because I do not remember ever seen this kind function. But then I found pg_sleep Postgres function which directly delay execution of the server process. pg_sleep makes the current […]

PHP mb_ucfirst Make a String’s First Character Uppercase-Multibyte (UTF-8) Function

PHP’s ucfirst function is very usefull when you want to change words first letters to uppercase and other letters to lowercase. Currently on PHP does not have a multibyte (UTF-8) version of ucfirst function. So I decided write my own multibyte mb_ucfirst function. Perhaps the multibyte version of ucfirst function is added later on PHP, […]

if-not-true-then-false.com New Look

This new design (using Arras Theme) has just been published and will still develop, so any comments and opinions are very welcome. In my opinion, the new layout is much lighter and clearer. Also blog’s content is intended to bring out clearer for blog readers and users. Please leave comment and tell your opinion! Old […]

Browse Categories