Skip to content

it.megocollector.com

The information technology compendium

Archive

Category: Scripts

bigdump-2BigDump performs a staggered import of large and very large MySQL dumps similar to those of the phpMyAdmin 2.x dumps into a new or an existing MySQL database. Other reasons for using this script is if in the even access to the server shell is not possible or for what ever the reason the import fails using phpMyAdmin due to memory and runtime limits. continue reading...

cpanelcPanel has become a standard for turning standalone servers into automated hosting platforms. Tasks are replaced by web interfaces and API-based calls. cPanel is designed with multiple levels of administration and provide multiple levels provide security, ease of use, and flexibility for everyone from the server administrator to the email account user.

One of cPanel's features is under the Security section, called Hotlink Protection. Hotlink Protection is a tool that can deny access to specific files to prevent "leeching". However, when enabled, the fancy URLs known as permalinks get destroyed. The results could be 403 and 404 errors. The reason is simple and so is the solution. continue reading...

codeLately, I have been burning through bandwidth. I had thought that I have enabled all possible tweaks until I discovered that there is an additional work-a-round that will use gzip compression for PHP, CSS, and JS files.

While there are more simplified solutions for use, WordPress installations create additional obstacles that this code addresses well. The results may be measured using YSlow a plugin for Firefox or Rex Swain's HTTP Viewer. In my case, the file sizes were reduced by half for most pages.

continue reading...

virusscanentA recent installation of McAfee VirusScan Enterprise 8.5i had been locked down to restrict access to the user interface. To further complications, this lockdown was enforced with the McAfee edPolicy Orchestrator. By design, McAfee Virusscan cannot be disabled through task manager, services, or direct registry access; the result will be permission denied. Even if McAfee VirusScan Enterprise 8.5i is somehow disabled, it would be enabled at the next polling of ePolicy Orchestrator. A typical interval maybe five minutes. However, an article that tackles an earlier version inspired this fix....
Continue reading ...

ubuntu-logoMany Linux distributions permit the use of the root user as a primary login, however, the dominant and popular Ubuntu has left some users in a conundrum. In order to perform tasks as a root user, this must be performed within a terminal window with the sudo command. However, here are a set of instructions that will allow the root user to login to an Ubuntu system....
Continue reading ...

codeOn several different machines, each running Windows, the right-click to create a new text document option is not available. I don't know if it is a service pack related issue or version of Windows or an application that was installed that caused this annoyance. I am leaning against it being the cause of the operating system as one system is running Windows Vista (32-bit) and the other two Windows XP Professional SP2(32-bit). After a little research, I found two great resolutions. One for Microsoft Windows Vista and the other for Microsoft Windows XP....
Continue reading ...

wordpress-3A useful Wordpress plugin is WP-PostViews. This plugin enables the display of number of times a post or page had been viewed. However, it there is an odd behavior when handling special characters. According to one definition, HTML special characters and symbols that cannot be generated in HTML with normal keyboard commands may be produced using HTML entities and/or ISO Latin-1 codes that can be placed in source code like any other alphanumeric characters. WP-PostViews does not produce the desired special character, however, instead displays the ISO Latin-1 code. There is a quick fix to this....
Continue reading ...

yahoo logoEach time an email is to be sent, the default email opens as Outlook Express, where an alternate application is desired. As in this case, where Yahoo! Mail is the desirable email client. Microsoft Internet Explorer offers no alternative or customization. Yahoo apparently offers the available option through Yahoo Messenger through a custom install with the Yahoo! Browser Services selected. However, attempting this with the latest version 9.0, that option does not exist. Another alternative offered by Yahoo! is to install the Yahoo! Toolbar, which is undesirable and just something else to clutter up the internet interface of Internet Explorer. Then there is another option, that after considerable research, I have found and have used with success, a registry entry with a single Yahoo dll....
Continue reading ...