April 2006
Monthly Archive
Sun 30 Apr 2006
What is It?
Eaccelerator is a PHP accelerator/encoder/caching utility that is based
off of the old mmcache (which is no longer being maintained).
What Eaccelerator does is: it caches your PHP scripts so that the database
is no longer being queried everytime someone needs a script. This is
particularly useful for large forums, but pretty much anyone can benefit
from it. Since these scripts are cached, you’ll notice a decrease in
memory use and server load.
Now, onto installing this!
______________________________
Installing Eaccelerator
1. First, you’ll want to SSH into your server as the root user. you should
be in the default directory now. If you’re not, type in cd ~
2. Now we’ll make the eaccelerator directory:
mkdir /ea/
cd /ea/
2. Now we’ll grab the files, and untar them:
Notice that it’s a tar.bz2 file, so we need to decompress it twice.
wget
http://heanet.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.4-rc1.tar.bz2
bzip2 -d eaccelerator-0.9.4-rc1.tar.bz2
tar xvf eaccelerator-0.9.4-rc1.tar
3. Now that we’ve done that, let’s install Eaccelerator:
Note: in the following “export” command, you need to point that to where
PHP is installed. For most, it’s usually either “usr/” or “usr/local”, but
it may be something else.
cd eaccelerator-0.9.4-rc1/
export PHP_PREFIX=”/usr”
$PHP_PREFIX/bin/phpize
./configure –enable-eaccelerator=shared
–with-php-config=$PHP_PREFIX/bin/php-config
make
make install
4. It’s basically installed, now we need to edit the php.ini files to
include Eaccelerator. This is usually found in the /etc/ folder, but if
you can’t find it, run a “locate php.ini” (without quotes) to find it.
[i]I’m editting my file with nano, which pretty much anyone with a modern
server should have. You can use pico or vi, it’s your choice:
cd ~
nano /etc/php.ini
Now find ;Windows Extensions (press ctrl + W). Remove the mmcache lines
(if you had it installed before) above this and…
—————————————————————————-
For a PHP extension install (most will probably want this)
—————————————————————————-
extension=”eaccelerator.so”
eaccelerator.shm_size=”16″
eaccelerator.cache_dir=”/tmp/eaccelerator”
eaccelerator.enable=”1″
eaccelerator.optimizer=”1″
eaccelerator.check_mtime=”1″
eaccelerator.debug=”0″
eaccelerator.filter=”"
eaccelerator.shm_max=”0″
eaccelerator.shm_ttl=”0″
eaccelerator.shm_prune_period=”0″
eaccelerator.shm_only=”0″
eaccelerator.compress=”1″
eaccelerator.compress_level=”9″
—————————————————————————-
For a Zend extension install (only if you have Zend installed, or
if you’re going to install it
—————————————————————————-
zend_extension=”/usr/lib/php4/eaccelerator.so”
eaccelerator.shm_size=”16″
eaccelerator.cache_dir=”/tmp/eaccelerator”
eaccelerator.enable=”1″
eaccelerator.optimizer=”1″
eaccelerator.check_mtime=”1″
eaccelerator.debug=”0″
eaccelerator.filter=”"
eaccelerator.shm_max=”0″
eaccelerator.shm_ttl=”0″
eaccelerator.shm_prune_period=”0″
eaccelerator.shm_only=”0″
eaccelerator.compress=”1″
eaccelerator.compress_level=”9″
5. Now we need to make the cache directory, where the cache files will be
stored.
cd ~
mkdir /tmp/eaccelerator/
chmod 0777 /tmp/eaccelerator/
6. Yay, it’s installed! Let’s restart Apache now so that Eaccelerator will
start working:
service httpd restart
cp /ea/eaccelerator-0.9.4-rc1/eaccelerator.php /usr/local/apache/htdocs/
—————————–
7. You *should* notice some sort of speed boost or that the server
load/memory use has decreased. But let’s just make sure that it’s
installed properly.
Open up your favorite FTP client and upload the eaccelerator.php and
eaccelerator_password.php files to any directory on your website. I
uploaded mine to my forum directory, but you can pretty much place them
anywhere in the public_html directory.
Once that’s done, you can go to
http://www.your-domain.com/path_to_s…ccelerator.php (of course,
replacing that with the path to the script) to see if it’s installed. If
it’s installed properly, you’ll see a screen like this:
Otherwise, you’ll see a screen saying that it’s not installed. You have to
go back through the instructions, retry it and see if that works. Check to
make sure that you specified the right directories and files in the
instructions above!
Now, we’ll probably want to add a password to prevent some mean user from
clearing the cached scripts or causing other bad stuff to happen. Navigate
to the eaccelerator_password file and set an administrator name and
password.
This doesn’t set the password, but it gives you a line of code to place in
your php.ini file (just below the eaccelerator part). Once you do this,
you need to log in to view the eaccelerator page.
After you’re done, you can delete or rename this file, but it’s not required.
——————————–
Sun 30 Apr 2006
Posted by Laveena under
SEO Articles[5] Comments
Amazon.com and eBay.com are the pioneers in selling products on the Internet. But E-commerce today is bringing a revolution in the way goods and services are bought and sold around the world.
Buyers find it convenient to shop online as they can buy at any hour of the day, from any corner of the world and moreover they get innumerable choices to select the perfect thing and deal. Sellers get the whole wide world to sell their products for practically no marketing expense. However, with an ever-growing competition selling online has become quite challenging. On the one hand, buyers are getting confused with thousands of search results for even a small thing. Not everyone using internet can be aware of the ways to make the search results compact. On the other hand, sellers are finding it tough to see that their company is listed at the top by the search engines.
Paid listings are indeed a boost to your business, yet it costs a lot. SEO is a much better and cheaper way of marketing on the Internet. It basically connotes attracting potential buyers to your website through the search engine results by ensuring that your website tops the list whenever any customer makes a search on a particular word or words relevant to your product.
SEOs employ a variety of tools to drive customers to your website. Some of them might adopt unethical techniques but search engines also have their own ways to spot such bad elements. You can find reputable SEO firms by referring to the advice on Google’s Website.
SEO has become so inevitable that it is advisable to adhere to all the SEO techniques at the very inception of your website.
Sun 30 Apr 2006
Posted by Laveena under
Web Design1 Comment
A web definition of a sitemap is thus: A hierarchical visual model of a web site. That is to say, where a web site has more than one page, a sitemap provides the viewer a guide for navigation through the web pages. It is something similar to a table of contents given in a book. The more intricate a web site the more is the need for a sitemap.
Not only does a sitemap help the surfer to navigate through a web site but it makes it really very easy for any search engine to notice all the web pages of a web site. As sitemaps help in linking all the pages together, the search engine spider can easily find all the web pages of a site.
Care should be taken while designing a sitemap. The links on the site should be arranged in a logical order. A sitemap can also be used as a default page. That is, when a visitor clicks on a bad URL (broken link), your site map should open instead of the 404 error page.
Sun 30 Apr 2006
Posted by Laveena under
SEO ArticlesNo Comments
happy.domain.com and domain.com/happy.html
Both these are not one and the same thing. Whereas happy.html is a page on domain.com, happy is a subdomain in happy.domain.com. But this does not matter so far as page ranking is concerned. Search engine ranks pages and not the domains or subdomains. happy.domain.com is also a page similar to domain.com/happy.html in this regard. Search engines treat web pages not web sites. Each page in a web site has a different page rank.
Sat 29 Apr 2006
How to Transfer the address book from Neomail to Horde and SquirrelMail ?
>From Neomail to Horde
If you had entries in your Addressbook in NeoMail it is a pretty easy
process to import them into Horde.
1. Log into the account using an FTP program and download the addressbook
from the .neomail-emailuser/cpanelusername folder that is in your root
folder and save them to your computer.
2. Go to Horde and click on Organizing then Address Book.
3. Click on the Import/Export icon at the top.
4. Using the comma delimited format browse for the file on your computer
and follow the steps and it should work fine.
>From Neomail to SquirrelMail
After writing up how to import the Addressbook from Neomail to Horde now
whether it is possible with SquirrelMail since
SquirrelMail does not have an import option enabled.
It is possible and fairly easy to do. Neomail only has two fields in the
addressbook, the nickname and the email address.
SquirrelMail has five fields and the order is Nickname, First Name, Last
Name, email address, and Other Info. Here are the
steps to copy your addresses over:
1. Download the Neomail address book by using an FTP program and going to
.neomail-emailuser/cpanelusername. The file is
called addressbook.
2. Edit the file in a text editor. Change the colon to three bars, i.e.
find : and replace with |||.
command is # replace “:” “|||” — addressbook
3. Save the file to a folder called .sqmaildata in your root folder to a
file in the form of emailuser@yourTCHdomain.com.abook.
(You can overwrite the file that is there if you have not stored addresses
in SquirrelMail since it will create an empty
file by default.)
That’s it. You should have your addresses in SquirelMail now.
Please note that this only works in the SquirrelMail that is accesses by
using /webmail after the domain name or accessed
through your CPanel.
If you need the addressbook in the installation accessed by adding /sqmail
at the end of your domain you would need to
log in using /webmail, perform the steps above.
Sat 29 Apr 2006
Posted by Laveena under
Email HostingNo Comments
When the intended recipient does not receive an e-mail and it is sent back to the sender, it is said that the e-mail has bounced. The sender receives an error message to that effect. But what exactly happens when an email bounces?
When an e-mail has been sent the sender’s e-mail system makes contact with the recipient’s mail server. The mail server checks for any message to allow or disallow such a mail to pass through. Some of the circumstances under which an email bounces are these:
Hard Bounce:
- The mail server has barred receiving of mails from the sender’s address. (For example, if the address of the sender is blocked.)
- The recipient’s mail server is too busy to handle the request.
Soft Bounce:
- The e-mail address does not exist on the recipient’s mail server.
- The e-mail address is erroneous or miss spelt.
- The recipient exists but does not have enough disk space to accept the message.
- If the message size is much bigger than the message size pre-decided by the server.
Sometimes, an e-mail may bounce back due to network failure on the recipient’s server.
Sat 29 Apr 2006
A reseller buys a hosting package from a hosting company and then sells it in small parts to clients independently. As a reseller you create your own hosting plans you are free to resell each plan under your own brand name and set a price for those plans yourself. You have full control over all of your clients’ hosting packages via a central reseller control panel. You can add, remove and modify any of your clients’ domains within your reseller hosting plan directly from this central control panel, called web host manager.
Start small if you are very new to the concept of web hosting reselling business, and then you can expand as you get more and more customers. To become a reseller, you don’t need to have a lot of technical knowledge, but some sales and internet marketing knowledge is required. Also, you do not require a lot of upfront investment. All you need is a decent computer for your customer accounts management, and a good Internet connection.
Sat 29 Apr 2006
Everyday millions of dollars and hours are spent on how to increase a website’s traffic. There is so much demand for traffic solutions that people will go to any extent, either ethical or unethical means to get a higher ranking in search engine.
RSS is a standard format for sharing your content instantly with users and other websites. You can improve your sites content without writing on your own. You can add to content to your site easily if someone offers you RSS feed of their site. This will give good and updated content to your site and it will help in increasing the no. of visitors to your site.
RSS feeds provide good, relevant content for a website. There are many RSS publishers with themed content, which will provide you variety to choose from. It helps to get search engines to crawl your site more frequently. It provides new and fresh content, when new content is added the old content drops off.
RSS feeds are more useful for getting your newsletters, articles, blog and other people’s sites and which is very powerful.
Sat 29 Apr 2006
Were you surprised to receive a mail sent from your own e-mail address? Obviously, anyone who is not aware of this concept of self-spamming will be surprised. It is not because the sender wishes to spam other people all over the world using your name or identity. The spammer is interested in hiding his own identity. This is known as e-mail spoofing. To do this the sender manually creates the e-mail header and chooses the information to be included.
Most humans would open such a self sent mail out of curiosity. They would not just read the mail but also click a hyperlink in it. This practice is founded on human psychology. The spammer may want you to buy his products. But that is not the only end which such spammers have to meet. Once you open such a mail and click on the hyperlink in it, they get an acknowledgement that they have found a live account. Then they sell your e-mail address to other spammers who get a tried and tested audience. This makes spamming easier and fruitful for them.
One way of stopping such e-mails which are sent to us by ourselves is to use suitable mail filters.
Sat 29 Apr 2006
What is Dedicated Hosting?
The Dedicated Hosting environment provides an exclusive server or servers devoted solely to your web site. You do not share a server with other customers, as with shared hosting.
When do you need a Dedicated Server?
While simple, text-based sites are better suited for a shared server, enterprise-level web sites operate much more efficiently on a dedicated server because the dedicated hosting environment provides higher reliability, increased performance, greater security and exclusive use of system and network resources. Therefore, those sites that have high traffic, secure information, a high number of visitors or complex applications (i.e. e-commerce, dynamic content, database applications and multimedia applications) are better suited for a dedicated server.
Advantages Of Dedicated Server :
| • |
You do not have to purchase or maintain your own equipment. |
| • |
Better website performance due to dedicated machine(s). |
| • |
No chance of your website being affected by another website on the same box, as in shared hosting. |
Next Page »