Sabtu, 13 Agustus 2011
Jumat, 12 Agustus 2011
Selasa, 26 Juli 2011
Hurd Progresses - Debian GNU/Hurd by end of 2012?
When Debian 7.0 releases, a Wheezy GNU/Hurd could be included if things go as planned
Comments (0)
You must be logged in to post a comment. Please register if you do not have an account yet.

Minggu, 24 Juli 2011
Using Version Control For Your /etc Directory With etckeeper And Bazaar On Debian Squeeze
This tutorial explains how you can store the contents of your /etc directory in a version control system (VCS) with the help of etckeeper on Debian Squeeze. etckeeper hooks into Debian's package manager apt so that whenever you install/remove a package with apt, etckeeper will commit all changes to the /etc directory to your VCS; it also tracks file metadata such as permissions which is important for files such as /etc/shadow. Using etckeeper, you can go back to a previous version of /etc if an update has overwritten valuable configuration files. Not only will etckeeper track apt's changes to /etc, it will also do a daily auto-commit so that your manual changes go to VCS as well; in addition to that, you can do commits at any time manually.
Comments (0)
You must be logged in to post a comment. Please register if you do not have an account yet.

Kamis, 21 Juli 2011
Debian Invites You to Debian Day
The Debian Project, the team behind the free Debian operating system, would like to invite you to participate in the upcoming Debian Day which will take place on July 24 2011 at Banski Dvor, Banja Luka, Republic of Srpska, Bosnia and Herzegovina as the first day of the annual Debian Conference.
Comments (0)
You must be logged in to post a comment. Please register if you do not have an account yet.

Jumat, 24 Juni 2011
Debian Squeeze, Squid, Kerberos/LDAP Authentication, Active Directory Integration And Cyfin Reporter
This document covers setup of a Squid Proxy which will seamlessly integrate with Active Directory for authentication using Kerberos with LDAP as a backup for users not authenticated via Kerberos. Authorisation is managed by Groups in Active Directory. This...
This document covers setup of a Squid Proxy which will seamlessly integrate with Active Directory for authentication using Kerberos with LDAP as a backup for users not authenticated via Kerberos. Authorisation is managed by Groups in Active Directory. This is especially useful for Windows 7 clients which no longer support NTLMv2 without changing the local computer policy. It is capable of using white lists and black lists for site access and restrictions.
Rabu, 01 Juni 2011
How To Install A (Canon) Printer On Debian And Debian-Like Systems
This tutorial will cover how to install the well-known CUPS printing system, and optionally tell you how to have your Canon printer work. There are extra details about where to find Canon drivers and how to install the "Print to PDF" feature.
If you didn't check any option at the Debian network installation, you will need to download and install a few packages.
Run the following command as root:
# apt-get install cups cups-client "foomatic-db*"This will install CUPS and download a database of printer drivers.
As the Debian distribution installs a secure Linux system on your computer, most of the permissions involved by installing packages are "opt-in". This means you have to explicitly grant permission to users so that they can print.
This is done by adding them to the lpadmin group:
# adduser YOUR_NORMAL_ACCOUNT lpadminPower on and plug your printer, and then browse to http://localhost:631/
Go to the Administration tab and click Add printer. At that point you will be required to type your normal user and password (not root).
CUPS will look for printers available on the network or attached to your computer.
Choose your printer in the Local printers section.
Fill the form if you want to, then see if your printer driver is in the list.
NB: Your exact model number is probably not in the list, however if you've got a 3030 printer, the 3000 driver is the one you need.
If you don't find your printer in the list, either the driver just doesn't exist for non-Windows OS / Mac OS, or it is proprietary (non-free).
If you bought a Brother or HP printer, you're lucky because all of their current printers are provided with an opensource driver. Install the hplip package for Hewlett Packard printers.
You can't find Canon drivers on non-free repositories. You have to go to the Canon website and download them.
Go to www.canon.com, select your country and language, then go to the Support page, find your printer (in category "Printer" or "Multifunction").
Choose "Linux" as your operating system. Let the language setting as it is. (Because maybe the drivers could be hidden if the included manual doesn't exist in your language).
Download that UFR II driver file.
You'll end up with a zip file / archive.
Open your Terminal again, change to your Downloads directory, and unzip that file:
$ unzip *ufr2*.zipThe unzipped directory is the language you choose, e.g. "english" or "italiano". cd to that directory, then open the "driver" directory corresponding to your architecture (32 or 64 bits), and finally open the RPM folder.
As you may know, RPM is the "Red Hat Package Manager", but Debian uses APT. RPM files have the ".rpm" extension and Debian packages get a ".deb" extension.
So, we will have to convert them.
For that purpose, install a program called alien. And I'd advice to install fakeroot as well. (Fakeroot allows you to work on Debian packaging without root privileges, which are not needed until the installation part.)
# apt-get install alien fakerootThen convert the packages:
$ fakeroot alien --to-deb *.rpmFinally you can now install them as usual:
# dpkg -i *.debReload the "Add printer" page on the CUPS web interface, and this time you should be able to find your printer model in the list. (You can also press "Choose another ...." and go back to "Canon" again.)
You should not need to restart cups, but if you want to, just to be sure, do the following as root:
# service cups restartVoilĂ ! You've successfully installed your printer!
Here is a trick that could be helpful. If you're using an application that doesn't provide an "Export to PDF" function, you can simply print as normally and select a special "PDF printer."
In order to do that, you have to install the "cups-pdf" package:
# apt-get install cups-pdfYour "PDF printed" documents will be put in a folder called "PDF" in your home directory, i.e. ~/PDF/
You may have to create this directory yourself if you have issues with the cups PDF printer.
The CUPS web user interface is the place to go whether you need to manage your printers and printing jobs, and find the reasons of printing issues. You can pause or cancel a job and even re-print a document.
Note you have to modify your /etc/cups/cupsd.conf configuration file if you want the interface to be accessible from other computers in your network.
Senin, 23 Mei 2011
Debian Project at LinuxTag 2011
The Debian Project is happy to announce that it will be again represented at the LinuxTag event in Berlin, Germany, this year. At the booth members of the project will be available for questions and discussions.
Jumat, 29 April 2011
Tiny Web Proxy And Content Filtering Appliance (Version 1.2) With Debian Squeeze
This small HOWTO will show you how to set up a small virtual machine to speed up and secure your home / small enterprise web surfing network using Debian 6, Squid 3.1 and QuintoLabs Content Security 1.2 applications deployed in a VMWare Virtual Player running on Windows 7 x64 as a host operating system. This howto is targeted at novice users and may sometimes seem too thorough for more advanced gurus.
While preparing this howto I have tried several different Linux distributions to act as the base for the virtual appliance we are going to create and found out that the one easiest to deploy, having smallest memory footprint and latest packages available is Debian Linux 6. In case you disagree please adjust the instructions of this howto for your favorite distribution and mention the needed changes in comments. I will try to integrate them into the next version of the howto.
Go to http://www.debian.org/ and get the smallest ISO image of the latest version of Debian 6 32-bit. The site says the recommended version for a modern server is x64 bit but as we are trying to create a small virtual machine the 32bit will suffice for our purposes.
Start up the VMWare Virtual Player and create a new virtual machine with the following hardware parameters: name - virtual-proxy, hard disk - 8Gb. Press the "Customize the hardware" button and delete the floppy, USB controller, printer and sound card, set the amount of memory to 256Mb. Switch the network adapter from "NAT" mode into "Bridged". Point the virtual CDROM to the ISO image that you have downloaded earlier and start the virtual machine.
Follow the steps of the Debian install wizard mostly accepting the defaults. Deselect all packages in the "Software Selection" wizard step except for "SSH server" and "Standard system utilities". Configure machine hostname as "proxy" and root password as "P@ssw0rd" (without quotation marks). Now wait a little until the installation is complete and then reboot the system.
The following screenshots of the installation show most important steps of the installation process.
After reboot check the amount of free memory available and note that it is around 200Mb (kind of cool comparing to default CentOS 5 installation with 140Mb of free memory available after similar install).
The IP address of the network interface card of our freshly installed Debian server is set to DHCP. While it is possible to leave it like this it means that every time the server is restarted it may be assigned a different IP address so accessing this server later by IP address may become a little irritating. The easiest way is to set the IP address to static one. To do it we must change the file located at /etc/network/interfaces by typing the following in the terminal
# nano /etc/network/interfacesFind the line with iface eth0 inet dhcp in the file, remove or comment it out and add the following:
# iface eth0 inet dhcpiface eth0 inet static address 192.168.1.2 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1NOTE: The provided above settings (IP addresses) are valid for my environment that connects to the ISP using the LinkSys Wireless N Broadband Router (with custom dd-wrt firmware) that has a DHCP server build in that gives out internal IP addresses from the 192.168.1.* private subnet. Your router may give other addresses so please beware :) !
One more thing left to do is adjust the DNS settings. Run the following command in the terminal and add the IP address of the DNS server that runs on router:
# nano /etc/resolv.confnameserver 192.168.1.1
Now restart your networking by typing #/etc/init.d/networking in the root terminal or just restarting the virtual machine. After restart confirm that the networking functions correctly by typing in the terminal (there should not be any errors in the outputs on these commands):
ping -c 3 192.168.1.1nslookup google.com
Next small step prior to installing squid is to update the system to the latest version of packages. This will require disabling Debian repositories that refer to CDROM that we used to install the system from and enabling the online repositories.
Type the following in the root terminal #nano /etc/apt/sources.list then find and comment all lines that start with deb cdrom:. Save the file by pressing CTRL+o followed by CTRL+x and exit nano. Then perform system update by typing
# apt-get update && apt-get upgradein the root terminal. Wait until the system downloads all the updates.
Next we need to install the latest version of the squid proxy server. In order to do that type the following in the root terminal:
# apt-get install squid3The squid packages is downloaded from the Internet and installed automatically. The only thing to do is to let the external users from our network access the squid. Open the squid configuration file by typing
# nano /etc/squid3/squid.confand uncomment the following lines: acl localnet src 192.168.0.0/16 (approximately line 651) and http_access allow localnet (approximately line 786).
Save the file and restart the squid by typing
# service squid3 restartTo verify that squid runs correctly point your browser to the IP address of the proxy server (192.168.1.2) and surf to some of your favorite websites.
Tiny Web Proxy And Content Filtering Appliance (Version 1.2) With Debian Squeeze - Page 2Installing Cherokee With PHP5 And MySQL Support On Debian Squeeze
Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections, virtual hosts, authentication, on the fly encoding, load balancing, Apache compatible log files, and much more. This tutorial shows how you can install Cherokee on a Debian Squeeze server with PHP5 support (through FastCGI) and MySQL support.
I do not issue any guarantee that this will work for you!
In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.
First we install MySQL 5 like this:
apt-get install mysql-server mysql-clientYou will be asked to provide a password for the MySQL root user - this password is valid for the user root@localhost as well as root@server1.example.com, so we don't have to specify a MySQL root password manually later on:
New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword
Cherokee is available as a Debian package, therefore we can install it like this:
apt-get install cherokeeNow direct your browser to http://192.168.0.100, and you should see the Cherokee placeholder page:
Cherokee can be configured through a web-based control panel which we can start as follows:
cherokee-admin -b(By default cherokee-admin binds only to 127.0.0.1 (localhost), which means you can only connect to it from the same system. With the -b parameter you can specify the network address to listen to. If no IP is provided, it will bind to all interfaces.)
Output should be similar to this one:
root@server1:~# cherokee-admin -bLogin:
User: admin
One-time Password: 1Kkcc58atG8DNIM7
Web Interface:
URL: http://localhost:9090/
[11/04/2011 12:14:18.622] (error) rrd_tools.c:120 - Could not find the rrdtool binary.
Cherokee Web Server 1.0.8 (Jan 11 2011): Listening on port ALL:9090, TLS
disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
connections, caching I/O, single thread
You need the username and password to log into the web interface which can be found on http://192.168.0.100:9090/:
This is how the web interface looks:
To stop cherokee-admin, type CTRL+C on the shell.
We can make PHP5 work in Cherokee through FastCGI. Fortunately, Debian provides a FastCGI-enabled PHP5 package which we install like this:
apt-get install php5-cgiWe must modify /etc/php5/cgi/php.ini and uncomment the line cgi.fix_pathinfo=1:
vi /etc/php5/cgi/php.ini[...]; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting; of zero causes PHP to behave as before. Default is 1. You should fix your scripts; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; http://php.net/cgi.fix-pathinfocgi.fix_pathinfo=1[...]
Then we restart Cherokee:
/etc/init.d/cherokee restartInstalling Cherokee With PHP5 And MySQL Support On Debian Squeeze - Page 2
Kamis, 28 April 2011
Debian Is No Longer Just A Linux Distribution
Technical previews of two new ports which runs on the FreeBSD kernel instead of the Linux kernel. This means FreeBSD will be powering the operating system while the users still get to use all the great tools in the Debian user-land.The Linux kernel has been scrubbed free of all the closed sourse firmware files. In other words, you get a completely Free as in Freedom Linux distribution in Debian 6.0 if you opt to download the package with Linux kernel instead of the FreeBSD kernel. Richard Stallman should definitely be pleased with this one.Boot times have improved drastically because of parallel execution of boot scripts.Most software has been updated to the more modern versions. Linux kernel 2.6.32 , KDE 4.4.5, GNOME 2.30, X.Org 7.5 and over 29,000 other ready to use software packages.
Did you know that Debian supports diverse hardware ranging from Intel 32-bit and 64-bit architecture, Motorola/IBM PowerPC, Sun/Oracle Sparc, MIPS (big-endian & little-endian), Intel Itanium, IBM S/390, and ARM EABI ? That is a total of 9 architectures.
Another really nice feature found in Debian 6.0 is the introduction of what is called "Debian Pure Blends".
Debian pure blends are customized Debian images which cater to a specific user profile. For example, if you wish to install Debian for your kids, you could download Debian-Jr which is specifically customized with children in mind. Similarly there are other pure blends such as Debian Med, Debian Science, Skolelinux and so on.
The Debian installer has also seen minor improvements in the form of easier language and keyboard selections, partitioning disk for RAID, Logical Volumes, and Encrypted systems. And the installer supports a whopping 70 languages.
You can download Debian 6.0 via BitTorrent, jigdo, or HTTP.
[Source : Debian News Release ]