Archive

Posts Tagged ‘Debian’

How Linux is Built

July 31, 2013 1 comment
Advertisements

Top Production Server Distros

August 11, 2011 7 comments

I have a soft spot for community-powered distros because they are labors of love, and provide a useful counterbalance to corporate follies. The two top Linux distros, Red Hat and Debian, represent opposite sides of the same Linux coin; Red Hat is a commercial success, while Debian will always be both libre software and free of cost. Both have been around since the early days of Linux, both have a commitment to free software, and they are the two fundamental distros that the majority of other distros are descended from. This shows that both models work, that both have their merits and are complementary.

Debian is one of the oldest Linux distributions, born in 1993. The Debian community is a successful experiment in nearly-pure democracy, though some would say anarchy. But it is not anarchic. There are elected officers, a constitution, and formal structures for making decisions and resolving problems. It gets messy and noisy, as in any large community, and it works.

I’ve been spoiled by Debian, which never needs to be reinstalled but can be upgraded forever, barring hardware failure and hopelessly bollixed installations. Debian supports more packages than any other distribution, so it’s rare to not find whatever you want just an apt-get install away. Debian supports more hardware architectures than anyone else: x86, ARM, PowerPC, IBM S/390, MIPS, SPARC, ARM, Itanium, and kFreeBSD, the FreeBSD kernel.

Debian is committed to free software (according to the Debian Free Software Guidelines), and no non-free software is required to run a Debian system. But Debian caters to all users– one of my favorite features is that free and non-free software are organized in separate repos, so it is easy to control what goes on your system. Kernels are kept as close to vanilla as possible, without a lot of modifications.

Debian comes in four flavors: stable, testing, unstable, and experimental. Each release gets new code names from the Toy Story movies. The current stable release is Squeeze, testing is Wheezy, and unstable is always linked to Sid, the bratty kid. This naming scheme offers both flexibility and confusion: if you configure your sources to pull packages from Stable instead of Squeeze then the time will come when you’ll get packages from the next release, Wheezy, instead of Squeeze.

New packages typically enter Unstable, then Testing, and finally Stable. You can run any of these, and even mix and match, though that sometimes leads to rather spectacular dependency collisions. Stable is great for servers because it is famously rock-solid, and two years between releases works all right for servers. I’ve run LAN servers on testing; I wouldn’t use anything but stable on a public-facing server. Debian is very strong on security, but only the stable release gets consistent, fast attention from the security team. Testing gets some security fixes, and Unstable gets none because packages pass through it so quickly.

read more @ http://www.linux.com/learn/tutorials/479960:the-six-best-linux-community-server-distributions

 

Tags: , ,

Connect to MySQL database from LibreOffice Base

August 3, 2011 8 comments
LibreOffice’s Base program can provide a quick easy way to access a MySQL database and write some reports against data.  The following outlines how to easily setup LibreOffice Base to connect to MySQL.  It assumes that you already have LibreOffice Base installed.  It works just as easily for OpenOffice Base.First we need to install the JDBC driver for MySQL

sudo apt-get install libmysql-java

Next
  1. Open up any LibreOffice program and then click on Tools->Options.
  2. Expand LibreOffice option and then click on Java.
  3. Click on the Class Path button on the right followed by Add Archive.
  4. Browse to /usr/share/java/mysql-connector-java.jar
  5. Click Ok and choose to restart LibreOffice.
  6. Now open LibreOffice Base and choose to Connect to an existing database.
  7. In the drop-down menu choose MySQL, and connect using JDBC.
  8. Click on the Test class button to make sure the JDBC driver loads successfully.  If it doesn’t, then check that you followed the previous steps properly.  If it does load then simply enter the settings as it relates to your MySQL database.
  9. If you get the JDBC driver to load properly, but you cannot connect to your MySQL database,
  10. then I would recommend installing the mysql client and making sure you can connect from the MySQL client first.
  11. If the JDBC driver loads properly, and you can connect to your database with the MySQL database, then you should not have any problem connecting with LibreOffice.

Note : This Tutorial Article is tested on Debian family OSs.

Ref : http://maxolasersquad.blogspot.com/2011/03/connect-to-mysql-database-from.html