La tour

Migrate shares from Windows to Linux

The context Always in the cycle « how to get rid of Windows servers, » we saw in an earlier integration of Linux servers in an Active Directory multi-domains (see Kerberos Authentication with Apache Lire la suite

un certain regard

Deduplication with OpenDedup

I deduplicate, you deduplicate, it deduplicates … it is not yet in dictionary but it should not delay! Deduplication is becoming more prevalent in the world of proprietary solutions for data backup. Lire la suite

iconoclaste_1

Install MySQL Cluster on Debian

Here is a small article about installing a MySQL database in Cluster mode. Benefits of MySQL Cluster : BDD multi-master High Availability Disadvantages : Requires at least 3 servers Limit engine from Lire la suite

joncs_1

Kerberos authentication with Apache in a multi-domain Active Directory

The context Sometimes people are crazy ! They install Microsoft architectures everywhere : Windows on workstations, a lot of domain controllers and Active Directory. And then MS is regularly see them with Lire la suite

ce qu'aimer veut dire_1

Freeradius style « DHCP » and high availability

Now we will install the RADIUS server that will distribute IP addresses to devices equipped with SIM Data cards. The context We are in a company that has about 2000 equipment equipped Lire la suite

IIIIIII_1

How to use Ckeditor in the Symfony frontend

Here is a little recipe without using the plugin symfony : 1. Download Ckeditor http://ckeditor.com/ 2. Uncompress the Ckeditor archive in web/js/ 3. Customize the file web/js/ckeditor/config.js Lire la suite

valse_1

Synchronize hardware and system clocks with linux

The hardware clock can be adjusted by the BIOS of the machine. However it is always useful to know some commands to change these clocks without having to reboot the server. Lire la suite

notre dame

To French errors when validating a form Symfony

It’s nice to have a beautiful site in French, but errors when validating a form is in English (except for those that have been customized). To do this, you must : Change Lire la suite

Migrate shares from Windows to Linux

La tour

The context

Always in the cycle « how to get rid of Windows servers, » we saw in an earlier integration of Linux servers in an Active Directory multi-domains (see Kerberos Authentication with Apache in a multi-domain Active Directory) . Today we will enjoy the renewal Windows 2000/2003 server hardware because they offer the service file sharing where users are files with a lot of permissions.

We know now join an AD domain and the subtlety of the operation today is to preserve the permissions that users will be on file and they can continue working with their Windows XP/7 computer like usual.

We arrive and we are always happy because it proposes to use the following software :

  • Linux CentOS 5.6
  • Samba 3.5.4

And all this in the environment as follows :

  • Workstation : Windows XP and 7
  • Old Windows server : Windows 2000 or 2003
  • KDC : Windows 2003/2008 R2

Deduplication with OpenDedup

un certain regard

I deduplicate, you deduplicate, it deduplicates … it is not yet in dictionary but it should not delay!

Deduplication is becoming more prevalent in the world of proprietary solutions for data backup. However an open source solution deduplication shows the tip of his nose for some time and begins to mature : Opendedup.

For those who have forgotten or do not know this technology, I propose the definition of Wikipedia :

« Data deduplication is a specific form of compression where redundant data is eliminated, typically to improve storage utilization. In the deduplication process, duplicate data is deleted, leaving only one copy of the data to be stored. However, indexing of all data is still retained should that data ever be required. Deduplication is able to reduce the required storage capacity since only the unique data is stored. For example, a typical email system might contain 100 instances of the same one megabyte (MB) file attachment. If the email platform is backed up or archived, all 100 instances are saved, requiring 100 MB storage space. With data deduplication, only one instance of the attachment is actually stored; each subsequent instance is just referenced back to the one saved copy. In this example, a 100 MB storage demand could be reduced to only 1 MB. Different applications have different levels of data redundancy. Backup applications generally benefit the most from de-duplication due to the nature of repeated full backups of an existing file system. »

Also, add that to optimize this deduplication, data storage is usually in blocks of data as shown in the diagram below :

Great Applications for Deduplication

  • Backups
  • Virtual Machines
  • Network shares for unstructured data such as office documents and PSTs
  • Any application with a large amount of deduplicated data

 

Applications that are not a good fit for Deplication

  • Anything that has totally unique data
  • Pictures
  • Music Files
  • Movies/Videos
  • Encrypted Data

 

Install MySQL Cluster on Debian

iconoclaste_1

Here is a small article about installing a MySQL database in Cluster mode.

Benefits of MySQL Cluster :

  • BDD multi-master
  • High Availability

Disadvantages :

The diagram below shows the architecture of MySQL Cluster :

Kerberos authentication with Apache in a multi-domain Active Directory

joncs_1

The context

Sometimes people are crazy ! They install Microsoft architectures everywhere : Windows on workstations, a lot of domain controllers and Active Directory. And then MS is regularly see them with their bill and they lose an arm. Since they are still eager to eat chocolate, they decide (which is not bad) to open their information to other technologies. That way the next time a Bill ‘s soldier will see them, they can threaten him (a little) to stop using its products and thus lower the bill.

The next application will be completely done with free software components, and as more Web format than done. The user must connect to the application via a browser using the Windows Integrated authentication.

We arrive and we are happy because it proposes to use the following software :

  • Linux CentOS 5.6
  • Samba 3.5.4
  • Apache 2.2.3
  • Mod_auth_kerb : 5.1
  • Kerberos 1.6.1
  • Php 5.1

And all this in the following environment :

  • OS Workstation : Windows XP et 7
  • Web browser : IE9 et Firefox 4
  • KDC : Windows 2003/2008 R2

Net Neutrality for Dummies

Net neutrality is often misunderstood because it is recognized that the definition is far from clear for everyone, so the following graphic, created by the blog Internet et moi, can be very useful in case of need ‘concise clarification! … for Francophones only ;-)

Freeradius style « DHCP » and high availability

ce qu'aimer veut dire_1

Now we will install the RADIUS server that will distribute IP addresses to devices equipped with SIM Data cards.

The context

We are in a company that has about 2000 equipment equipped with SIM Data cards. This equipment must be able to get an IP address and DNS servers via a dedicated APN.

Easy! Just go see Bouygues Telecom, SFR or Orange (FT, Orange Business Services and Co.), and we install a beautiful dedicated APN with the name you want in 5 minutes (or rather least 6 months with 100 meetings , 100 tests that fail and a lot of € spent). In short, the subject is another, and finally, one day, the dedicated APN is delivered.

We wish to have the radius with us to better control what happens from start to finish. Of course, we choose an open source solution that is made of two Linux servers Debian Squeeze for high availability and embark FreeRadius each service.

freeradius redundant architecture
Example of Freeradius redundant architecture

How to use Ckeditor in the Symfony frontend

IIIIIII_1

Here is a little recipe without using the plugin symfony :

1. Download Ckeditor http://ckeditor.com/

2. Uncompress the Ckeditor archive in web/js/

3. Customize the file web/js/ckeditor/config.js

Synchronize hardware and system clocks with linux

valse_1

The hardware clock can be adjusted by the BIOS of the machine. However it is always useful to know some commands to change these clocks without having to reboot the server.

To French errors when validating a form Symfony

notre dame

It’s nice to have a beautiful site in French, but errors when validating a form is in English (except for those that have been customized). To do this, you must :

  1. Change apps/frontend/config/settings.ymlet put in the section « all »
     all:
      .settings:
        i18n: on
        default_culture: fr
        standard_helpers: [Partial, Cache, I18N, Text]
  2. Copy the file messages.fr.xml in the directory apps/frontend/i18n/
  3. And to be sure that it works (because I had the problem from version 1.4.8 to 1.4.11) but normally there is no need to add the class actions executeIndex the following line :
     $this->getUser()->setCulture('fr_FR');

How to display the accented characters in javascript?

To display the accented characters in javascript code, replace the characters with their octal value, eg :

é : \351
è : \350
ê : \352
à : \340

Le site www.tuxlanding.net est sous Licence Creative Common - CC - Paternité - Certains droits réservés
logo : www.gaia10.us