Elogix is an incredibly powerful & fully responsive WordPress Theme.
Open
X

Blog.

TAR : Archiving and Extracting Files and Folders

Posted on September 9, 2009 · Posted in Linux

Here’s the common syntax I use in archiving and extracting files or folders. tar -xvf foo.tar verbosely extract foo.tar tar -xzf foo.tar.gz extract gzipped foo.tar.gz tar -cjf foo.tar.bz2 bar/ create.. read more

How to Find PHP.INI Path

Posted on September 5, 2009 · Posted in Linux, PHP

If you can’t find it in /etc/php.ini, then you have to use ssh and execute the command below. php -i | grep php.ini The command will return something like Configuration.. read more

Rename Table in Oracle

Posted on September 2, 2009 · Posted in Oracle

SYNTAX alter table table_name rename to new_table_name; Example alter table employee rename to employee_bak;

Rename Tables in MySQL

Posted on August 22, 2009 · Posted in MySQL

If you want to hand code renaming tables, here’s the sample. Single Table RENAME TABLE wp_users TO kwg_users; multiple tables RENAME TABLE wp_users TO kwtg_users, wp_usermeta TO kwtg_usermeta, wp_site TO.. read more

Modified WP Table Prefix in bbPress

Posted on · Posted in Uncategorized

If you change your WordPress/WordPress mu table prefix (and thus, renamed the tables too) and you have a bbPress integrated with it, chances are your bbPress will lose its connection.. read more

FileZilla 421 Too many connections (2) from this IP

Posted on August 19, 2009 · Posted in Hosting

If you encountered this error, you are not alone. I’ve encountering this on my VPS too often that I decided to use FireFTP for a while until I found out.. read more

Change Ownership of File/Folder (chown)

Posted on August 18, 2009 · Posted in Linux

chown kwatog /usr/kwatog

Create New User in CentOS

Posted on · Posted in Blog, Linux

Here’s how to create a new user in linux, specifically CentOS. syntax useradd -d [folder_name] -s /bin/bash -c “[name]” [userid]

WordPress Upgrade Error(wp-comments)

Posted on August 16, 2009 · Posted in WordPress

I’ve been encountering this for a number of times already and on each time, I had to upgrade WordPress manually(through SSH to make it faster). Now, I was able to.. read more

Linux Search and Replace in File

Posted on August 11, 2009 · Posted in Linux

Here’s the syntax sed ‘s/SEARCH_TEXT/REPLACE_TEXT/g’ FILENAME > OUTFILE SEARCH_TEXT is the text to search in filename REPLACE TEXT is the string to be put in place of SEARCH_TEXT FILENAME is.. read more