tar -cvzf filename.tar.gz directory_to_compress/
Most tar
commands have a z
option to create a gzip
ed version.
tar -cvzf filename.tar.gz directory_to_compress/
Most tar
commands have a z
option to create a gzip
ed version.
Centos 6.0 sarg installation from yum gives you endless issues
lets start from source
[root@ajay~]# yum install gcc make wget httpd
[root@ajay ~]# wget http://sourceforge.net/projects/sarg/files/sarg/sarg-2.3.1/sarg-2.3.1.tar.gz/download
[root@ajay2 ~]# tar zxvf sarg-2.3.1.tar.gz
[root@ajay ~]# cd sarg-2.3.1
[root@ajay~]# ./configure
[root@ajay ~]# make
Modify sarf conf file
# vim /usr/local/etc/sarg.conf
#### sarg.conf####
access_log /var/log/squid/access.log
date_format e ## since here we use date format DD-MM-YYYY
overwrite_report yes ## because I don’t want multiple sarg reports for the same day
output_dir /var/www/html/squid-reports
[root@ajay ~]# sarg -x
If all goes well, there should be a report generated at /var/www/html/squid-reports directory which can be accessed from the web browser using the address http://IP/squid-reports
# crontab -e
30 2 * * * sarg
[root@ajay ~]# service crond restart
[root@ajay2 ~]# chkconfig crond on
Make sure your master is up and running , then login to slave server and
slave stop
wait for a minute
slave start
keep an eye on /var/log/mysql.lof for any errore
With Microsoft Outlook 2007, it’s possible to leave a copy of each message on the mail server after you read it.
You’ll want to do this if you read e-mail in Outlook and another program (or our Webmail system). If you don’t do this, Outlook will delete the message copy from our servers as soon as it connects, and the other program (or Webmail) won’t be able to see the messages later.
You can also do this if you want your old incoming mail to be permanently stored in our backup system (see “E-mail backups” on our backup policy page for more details).
This page explains how to set up Outlook to leave a copy of each message on the server. It assumes that you have already followed the basic instructions to set up Outlook 2007.
Before you continue, you should enter your e-mail address (the address you want to set up in Microsoft Outlook) in the box above. Entering your e-mail address makes sure that the instructions below are correct.
To leave messages on the server, you will:
You can use the Start menu to start Outlook. When it opens, click Tools, then Accounts Settings from the menu bar:
Highlight the account you want to change, then click Change to open the settings window.
The screen should look something like this:
Click the “More Settings” button, then choose the “Advanced” tab.
In the “Advanced” tab, check the Leave a copy of messages on the server checkbox.
To make sure copies of every message don’t stay on the server forever (which can slow down your mail connections and use up your disk space allowance), we also recommend checking the box marked Remove from server after X days. Choose a number of days that’s long enough that you’ll be able to read the messages in your other mail program (or Webmail). Even using a large number such as 100 days is better than not checking this box.
Click OK to close the “Internet E-mail Settings” window.
The “Change E-mail Account” screen will then be visible. Click Next, then Finish.
You’re finished! From now on, any mail that arrives should stay on the server, and you should be able to see it in your other mail program or Webmail. (If you’re using another mail program, you’ll probably want to setup that program to leave a copy of your messages on the server, too.)
Check the logs:
less /var/log/mysqld.log
Log file is empty. I don’t even know how to debug it and not sure what to do.
but my log says there is no free hard drive space and guess what , my /var partition were full