Building Web site search for large sites. Part 1 - Sphinx

Building Web site search for large sites. Part 1 – Sphinx

So . You have a large site and you try to build a search functionality for it. I'm going to test some opensource solutions that are out there. Of course all of them i will test on TFM/Gnu Linux. First one is - Sphinx They have a nice website here: http://sphinxsearch.com/ Installing it is pretty easy: rpm -Uvh sphinx-2.0.6-1tfm.i686.rpm Now it's time to configure it: (more…)

read more
Default Image

MIME headers and how we add an attachment in an e-mail

The idea of this article is very simple. I will try to explain how it should be done, to be able to attach "manually" an attachment to an email . To those who have red and have asked themselves which is the purpose of some action, I strongly recommend not to continue with the lecture, because this article is not for them. The applications for adding an attachment are enough, I will mention only one: creating those "corporate" footers with pictures and others wonders. So, lets assume that we want to create a different kind of footer, in HTML, with...

read more
Default Image

Installing Adobe FMS on TFM/GNU Linux

First install TFM/GNU 32 Linux. You can download it from here. Be sure to check Quick Download on main web page to see if a newer release is available. After you installed it you will need to download and install  the following 2 aditional rpm's : nspr-4.6.7-1tfm.i686.rpm and nss-3.11.7-1tfm.i686.rpm . cd /tmp mkdir 1 ; cd 1 wget http://download.tfm.ro/TFM_3.2/aditional/nspr-4.6.7-1tfm.i686.rpm wget http://download.tfm.ro/TFM_3.2/aditional/nss-3.11.7-1tfm.i686.rpm rpm -Uvh *.rpm Then download Adobe FMS and modified install from here: cd /tmp mkdir 2 ; cd 2 unzip Flashmedia3_Int_Strm_ALP.zip tar xf FlashMediaServer3.tar.gz cd FMS_3_0_1_r123 rm -f installFMS wget http://download.tfm.ro/TFM_3.2/aditional/installFMS chmod +x installFMS ./installFMS The installation of adobe...

read more
Default Image

Capacity data storage system 60Tb AoE version

It is given the next problem. Implement astorage system  which can allow 60Tb  data, which can be extensible,  fit in a rack and to be fault tolerant? The solution consists of a series of blocks connected to each other. So: One block consist in : Switch Gigabit (1U ) Enclosure AOE ( 15 HDD SATA 1TB each ) (3U) Controler (1U) 1 Rack 0f 48U which will consist of 5 blockuri + UPS Hardware costs: 6 * Switch Gbic 24 porturi (480$) = 2880$ 5 * Enclosure AOE (4000$) = 20000$ 5 * Controller (1000$) = 5000$ 75 * Harddisk SATA 1...

read more
Default Image

date tips and tricks

Exemple utile de utilizare a comenzii date Aflarea datei din urma cu 5 ani: date --date="5 years ago" alfarea datei din urma cu 5 ani dar in secunde date --date="5 years ago" +%s aflarea datei care va fi peste 5 ani , 6 luni si 7 zile in formatul clasic "YY-MM-DD" date --date="+5 years +6 months +7 days" +%y-%m-%d Daca doriti sa lansati un proces peste o ora si 10 minute acest lucru se poate face simplu: at -t $(date --date"+1 hours +10 minutes" +%Y%m%d%H%M.%S) Comanda date este foarte flexibila . Urmatoarele exemple dovedesc asta: date --date="yesterday" date --"tomorrow" date...

read more
Default Image

Conferinta ROSDEV 2008

Pe 12 Aprilie 2008 a fost fost a doua editie a conferintei ROSDEV. Cei care nu au putut ajunge la conferinta si nu au urmarit transmisia live pe internet a conferintei au totusi posibilitatea de a urmari inregistrarea prezentarilor. (more…)

read more
Default Image

Making of tfm 64

Pagina asta o voi edita de cite ori schimb lucruri in tfm64. In primul rind pentru a le tine minte. Sistem minimal 64 este gata . Booteaza , ajunge in prompt. In mare parte pachetele sint aceleasi din tfm-ul vechi cu o exceptie notabila: udev. kernel 2.6.21.1 , glibc 2.5 , gcc 4.1.2 , perl 5.8.8 , udev 111 Acum urmeaza in primul rind sa adaug mc ( pentru ca merit ) si rpm-ul ca sa pot utiliza o parte din specurile din tfm3.1 ( modificind ce e necesar ) Pachete instalate ( extra base ): glib2 mc beecrypt db...

read more