How to Perform Full Backup to Backup Website in CPanel Hosting

Posted in cPanel on March 4th, 2010 by cahpct – Be the first to comment

To perform full backup in CPanel Hosting, just follow the steps below:-

  1. Login into your CPanel with the username and password
  2. Click on Backupcpanel backup, backup website cpanel, cpanel hosting backup
  3. Click on Generate / Download a Full Backup
  4. Select Home Directory in Backup Destination and enter your email address. others just leave blank and click Generate Backup
  5. Done! You just perform a full backup in CPanel. You will received a notification email once the backup is done.
  6. Once the backup is ready, you can FTP into your Account to download the backup file. CPanel locate your backup file in your root directory (/home/username/) and CPanel backup filename normally look like this:-
    backup-mm.dd.yyyy_hh-mm-ss_username.tar.gz

Nice themes for ubuntu 9.10 (Karmic) users

Posted in Ubuntu on March 2nd, 2010 by cahpct – Be the first to comment

First edit /etc/apt/sources.list file

gksudo gedit /etc/apt/sources.list

add the following lines

deb http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main

Save and exit the file

add the GPG key using the following command

gpg –keyserver hkp://keyserver.ubuntu.com:11371 –recv-key 881574DE && gpg -a –export 881574DE | sudo apt-key add -

Or simply use the following command

sudo add-apt-repository ppa:bisigi

Update the source list using the following command

sudo aptitude update

Install all the themes using the following command

sudo aptitude install zgegblog-themes

or click on the following link

apt://zgegblog-themes

Showtime for Gnome

1

Balanzan

balanzan_pres

Infinity

infinity-pres

Wild shine

wild-pres

Exotic

exotic

Tropical

tropical-prsentation

Bamboo Zen

bamboo-prs

Ubuntu sunrise

ubuntu_presentation

Aqua Dreams

expose

If you want to install above themes separately use the following commands

sudo aptitude install showtime-theme

sudo aptitude install balanzan-theme

sudo aptitude install infinity-theme

sudo aptitude install wild-shine-theme

sudo aptitude install exotic-theme

sudo aptitude install tropical-theme

sudo aptitude install bamboo-zen-theme

sudo aptitude install ubuntu-sunrise-theme

sudo aptitude install aquadreams-theme

Remove Themes

If you want to remove full package use the following command

sudo aptitude remove zgegblog-themes

If you want to remove each theme use the following syntax

sudo aptitude remove themename

Note :- themename is showtime-theme,balanzan-theme etc

Sources

Tips to Windows 7 – Uninstall Nero 9 without any problem

Posted in Windows 7 on January 29th, 2010 by cahpct – Be the first to comment

Download Nero General CleanTool and remove the conflicting Nero entries which creates problem in uninstalling Nero 9 from your Windows 7 PC.

Problem:

How to uninstall Nero 9 completely from your Windows 7 PC?

Uninstall Nero 9Solution:

Nero 9 sometimes creates problem in uninstalling completely from your Windows 7 PC. Follow the steps to completely uninstall Nero 9 from your PC:

1.    Begin with downloading the Nero 9 General CleanTool by clicking on this link :
http://www.nero.com/redir.php?id=4558

2.    After clicking on this link it will automatically start downloading and will prompt you choose the location to save it. Save it on your Desktop.

3.    Now unzip the downloaded ZIP files using WINZIP or WinRAR and save it to your preferred location on your hard drive.

4.    Double Click the unzipped “exe” file.

5.    Nero General CleanTool window will open, listing the installed Nero products.

6.    Click on the checkboxes next to Nero products installed, to completely remove them from your PC.

7. Click the Clean Button, a status windows will open with a progress bar indicating the uninstallation progress.
Nero clean 8. Click on the Exit button as soon as the uninstallation procedure has completed.
9. Reboot your computer for the changes to take effect.

Or simply call iYogi and we will help you migrate your operating system, data and applications quickly and efficiently.

Sources

How to Archive Outlook 2007 Email

Posted in Uncategorized on January 19th, 2010 by cahpct – Be the first to comment

To modify AutoArchive settings, do the following:

  1. Click Options from the Tools menu.
  2. Select the Other tab.
  3. Click AutoArchive.
  4. Select and change the options you want for AutoArchive.
  5. Click Apply these settings to all folders now to apply the new options to all folders. This overrides any custom archive settings applied to individual folders.

Set AutoArchives for individual folders by doing the following steps:

  1. Right-click the folder to change its settings and click Properties.
  2. Select the AutoArchive tab.
  3. Decide whether to archive the folder. If not, select Do not archive items in this folder and click Apply. If you want to archive this folder, go to Step 4.
  4. Decide whether to apply the default AutoArchive settings or archive the folder using the settings you set.
  5. Click Apply.
  6. Click OK.

Manually run AutoArchive using the following steps:

  1. Click Archive from the File menu.
  2. Select to archive all folders based on AutoArchive settings or Archive a specific folder.
  3. Enter the date to archive items sent and received before the selected date.
  4. Complete the remaining settings based on your preferences.
  5. Click OK.

Restore archived items back to their original folders by following these steps:

  1. Select Import and Export from the File menu.
  2. Click Import from another program or file.
  3. Click Next.
  4. Select Personal Folder File (.pst) and click Next.
  5. Change the file name from backup.pst to the name of the archive file to import.
  6. Select the folder to import from and click Include subfolders, if preferred.
  7. Select how you want Outlook to handle duplicates.
  8. Click Import items into the same folder in, and click the folders with the same name as the folders from which you import.
  9. Click Finish.

Postfix Flush the Mail Queue

Posted in Postfix on January 19th, 2010 by cahpct – Be the first to comment

postfix-logoTraditional “sendmail -q” command flushes mail queue. Under Postfix, just enter the following to flush the mail queue

# postfix flush
OR
# postfix -f

To see mail queue, enter:
# mailq

To remove all mail from the queue, enter:
# postsuper -d ALL

To remove all mails in the deferred queue, enter:
# postsuper -d ALL deferred

Display My Computer Icon on the Desktop in Windows 7

Posted in Windows 7 on January 18th, 2010 by cahpct – Be the first to comment

I don’t know about you, but I really preferred having the My Computer icon right on the desktop. Seems like modern versions of windows don’t have it by default anymore. There are two different ways you can add the icon back.

Easy Method

To put the Computer icon on the desktop, click the Start button, and then right-click on “Computer”.

rightclickcomputerClick the “Show on Desktop” item in the menu, and your Computer icon will show up on the desktop:

Change password zimbra user using zmprov

Posted in Zimbra on January 16th, 2010 by cahpct – Be the first to comment

zmprovToday I was so sad cause the internet connection from home is too late, and when my user mail need help to change the password I have difficulties to access the administrator page from web. And I try to change the password directly from the server command. Ciayooo that is easy to do it…

Login to server as # root , than do su zimbra and follow the command below :

Create one account with a password that is assigned to the default COS:
zmprov ca name@domain.com password
Create one account with a password that is assigned to a specified COS. You must know the COS ID number. To find a COS ID, type gc <COSname>.:
zmprov ca name@domain.com <password> zimbraCOSid <cosIDnumberstring>
Create one account when the password is not authenticated internally:
zmprov ca name@domain.com
Change the administrator’s password. Use this command to change any password. Enter the address of the password to be changed:
zmprov sp admin@domain.com password
To list all COSs and their attribute values:
zmprov gac -v
To list all COSs and their attribute values:
zmprov gaa domain.com
To list all user accounts and their configurations:
zmprov gaa -v domain.com

sources

Find Folder Options in Windows 7

Posted in Windows 7 on January 14th, 2010 by cahpct – Be the first to comment

1. Select Control Panel from start menu:

folderoptionswindows7
2. Select View by: Category and select Small icons for easy to find the folder options:folderoptionswindows7-13. We can select the Folder Options now:

3. The results is

folderoptionswindows7-3

Hide or Remove My Recent Documents in Windows XP

Posted in Windows on January 6th, 2010 by cahpct – Be the first to comment

Many a time you might have thought of hiding the ‘My Recent Documents’ from the Windows Start Menu.This can be due to some privacy issues when you use a shared computer

So here is a simple tweak to hide or remove the ‘My Recent Documents’ Link from the start menu.

1. Click on the ‘Start Menu’

2. Right click there on start menu and choose ‘Properties’

3. This window can be seen
Hide-Remove-My-Remove-Recent-Document-List-in-Windows-XP

4. Choose the ‘Start Menu’ tab in that properties and right there will be ‘Customize’

5. A pop-up window will show the Customize Start Menu.Go to the ‘Advanced’ tab.

Hide-Remove-My-Recent-Document-List-in-Windows-XP-2

6. As seen in the picture,at the bottom you can see the marked radio button.Unmark that button which helps in hiding the recent documents option in start men.

7. You can even clear the list of all stored recent documents in your computer.

Sources

The Other way follow this :

If you’re running Windows XP Pro, the safest way to make this, and many other configuration changes, is to use the Group Policy Editor. Click on Start, then Run… enter “gpedit.msc” and click on OK:

Run menu item with gpedit.msc

Once you’re in the group policy editor, expand un turn User ConfigurationAdministrative Templates, and then Start Menu and Taskbar:

Group Policy Editor open on 'Remove Documents menu from Start Menu'

As you can see, there’s a setting that sounds exactly like what we’re looking for: Remove Documents menu from Start Menu. Double click on that to get:

Group Policy Editor editing 'Remove Documents menu from Start Menu'

Click on “Enabled“, and click on OK.

Configuring AWStats on Ubuntu Server

Posted in Ubuntu on December 14th, 2009 by cahpct – Be the first to comment

Last nite I sat down and configured AWStats on my Ubuntu 7.10 server. I had previously been using statcounter, a free stat service, but I had noticed that it was one of the causes of slowdown on my page loads. Having to access an external site and javascript wasn’t helping. I also run the server so I have full access to the server logs, why not just use those directly.

So far I am really happy with AWStats. It appears to be running properly and pulling in a lot more data than statcounter ever did. It actually is showing me that I had much more traffic than I thought. I had mentioned 5,000 the other day, which I have long since surpassed based on AWStats output.

I’d like to share the steps I took for installing and configuring AWStats on my Ubuntu Server.

Installation

Ubuntu has the AWStats package available in the repositories, which we can install with:

sudo aptitude install awstats

This will install the basic files, but there is still a bit of configuring to do, so we’ll dive into that next.

Auto Configuration

From the tutorials that I found elsewhere in my searching there is a awstats_configure.pl file that will try to configure it for you. I did not use this personally, but if you’d like to try it you can run:

sudo perl /usr/share/doc/awstats/examples/awstats_configure.pl

The rest of this tutorial will discuss manual configuration, but if anyone can offer feedback concerning the configure script I’m sure many would be interested.

Manual Configuration

I configured my system manually, which I will outline below. The only requirements here are that you have access to the apache2 logs, or that you have custom log locations for each of your virtual domains (if used). For more information on custom log locations for virtual domains see my previous post, Configuring Virtual Hosting on Ubuntu with Apache2.

The first step is creating an awstats.conf file for your domain. This can be done by moving or copying the /etc/awstats.conf, and giving it a more unique name:

sudo cp /etc/awstats/awstats.conf /etc/awstats/awstats.domain.tld.conf

I created a unique file, using the syntax awstats + domain.tld + conf for each of the domains hosted on my server. Each of these also has their own unique log file as well.

We’ll then edit our new /etc/awstats with custom values for that domain. The main points you’ll want to look for within this file:

  • LogFile=”/path/to/your/domain/access.log”
  • LogFormat=1 (this will give you more detailed stats)
  • SiteDomain=”domain.tld”
  • HostAliases=”www.domain.tld localhost 127.0.0.1″

Once you’ve made these changes you’ll want to build your initial statistics, which will be generated from the current logs on your machine. We can do this using:

sudo /usr/lib/cgi-bin/awstats.pl -config=domain.tld -update

What this will do is scan the /etc/awstats folder for anything of the pattern awstats + domain.tld + conf, reading that config to generate its output. You should see some output here, and depending on the size of your logs it’ll take anywhere from a few seconds to a few minutes or hours. Each time it is run after that will be minimal, as it only updates the information, but the initial generation can take some time.

Configure Apache to Display AWStats

At this point our statistics should be generated (if not, go back and double check you haven’t missed anything!), but we need a way to see them. We’ll need to configure Apache2 to show us these stats. The way I did this was by using an Include in my apache2.conf, instead of cluttering up the default config file. This is generally my preferred method.

Apache2.conf already has a line near the botton Include /etc/apache2/conf.d/, which will read anything in there as additional data. What I did was create a new file in the /etc/apache2/conf.d/ directory called awstats, and filled it with the following content:

Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch

This is basically creating some access aliases, and defining the cgi-bin paths, etc. Once this is saved you should be able to restart Apache2 and we’ll should be able to access our stats. Restart Apache2 using:

sudo /etc/init.d/apache2 restart

You should now be able to access your statistics using:

http://domain.tld/awstats/awstats.pl

Assuming you didn’t get any errors during your stats generation, and Apache2 didn’t complain when you restarted the service, you should see statistics at this point.

Continually Updating Your Stats

The last thing you’ll probably want to do is update your statistics via cron. This will allow you to have your site statistics updated on a regular basis, not requiring intervention on your part. What I have done is added a line to my /etc/crontab file telling AWStats to update every ten minutes. I have seen minimal system load even when updating a dozen sites on that interval. To update every ten minutes we’ll add the following line:

*/10 * * * * root /usr/lib/cgi-bin/awstats.pl -config=domain.tld -update >/dev/null

Repeat this line, updating the domain.tld value for any site you want continually updated.

Source