General

Get rid of favicon.ico does not exist and robots.txt does not exist

If you run an Apache2  server then you have no doubt seen the following error messages a thousand times in your error.log file:

File does not exist: /var/www/robots.txt

File does not exist: /var/www/favicon.ico

As you know by now  not having a favicon.ico file  web browsers will requesting  it each time. But you can tell Apache2  not to log the event as a mistake message.

You will still see the request in the access.log, but at least you will have a cleaner error.log file.

Solution:


How to Install Tonido Cloud on Debian Squeeze

Tonido is a software and service that one time installed on any computer (Windows, Linux or Mac), can make files and media in that computer available anywhere through a web browser or from mobile rings (iPhone, Android, Blackberry or Windows Phone 7).

 Install Tonido Cloud on Debian Squeeze:

1. Download Tonido cloud  from the downloads page. (http://www.tonido.com/application_download.html)

wget  http://www.tonido.com/download.php?TonidoSetup_i686.deb

2.  Install Tonido :

dpkg -i --force-architecture TonidoSetup_i686.deb

3.  Start Tonido using the following command:


Systemd – System and Service Manager

systemd is a technique and service manager for Linux, compatible with SysV and LSB init scripts.

systemd provides aggressive parallelization capabilities, makes use of socket and D-Bus activation for starting services, offers on-starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. It can work as a drop-in replacefor sysvinit.

Install systemd:

apt-get update && apt-get install systemd

Useful SystemD commands on Debian Squeeze:

List all running services :

systemctl

Start/stop or enable/disable services:


Create Your Own Cloud Server on Debian Squeeze

Everyone loves using services like Dropbox or Boxnet. Half of us do have hardware laying around that we’d love to convert into our own cloud server but never came across the right software.

In this tutorial i’ll show you how to create your own cloud server:

Step1. Install depencencies need for cloud server:

apt-get install apache2 php5 php5-sqlite php5-json

optional dependencies: apt-get install mp3info curl libcurl3 libcurl3-dev php5-curl zip

Step2. Download ownCloud from owncloud.org:

You can download it from here: http://gitorious.org/owncloud/owncloud/archive-tarball/master

or from repository: git clone git://gitorious.org/owncloud/owncloud.git

Step3. Extract the archive using tar and copy the content to /var/www:


Squid with MySQL user authentication

Step1. Squid3 install.

apt-get install squid3

Step2. Rename the original squid.conf for backup:

mv /etc/squid3/squid.conf /etc/squid3/squid.conf.back

Step3. Create a new custom file squid.conf:

nano /etc/squid3/squid.conf

and paste the following content:

http_port 3128 transparent
acl localhost src 127.0.0.0/8
http_access allow localhost
cache_dir ufs /var/spool/squid3 7000 16 256

auth_param basic program /usr/lib/squid3/squid_db_auth –user userproxy –password parolaproxi –plaintext –persist
auth_param basic children 5
auth_param basic realm This is a welcome message that will me displayed to each user.
auth_param basic credentialsttl 1 minute
auth_param basic casesensitive off

acl db-auth proxy_auth REQUIRED
http_access allow db-auth
http_access allow localhost
http_access deny all

Step4. We will go now to the MySQL and create the database:


       


Categories

Page 1 of 111234510...Last »
Copyright © 2012 Linux Debian Tutorials | Debian Squeeze Tutorials. All rights reserved.
Feedbase
Stop ACTA 37 queries in 0.235 seconds.