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

I2C Bus Protocol – General description

Protocolul I2C was developed to create a communication channel between integrated circuits. I2C  consists of two lines physically active and earthing connection. The lines are called SDA and SCL active, both lines are bi-directional. SDA is Serial Data Line and SCL  is Serial Clock Line. Any device connected to bus has its unique address, no matter if it is MMU, driver LCD, memory or ASIC. Every one of these chips can receive and/or broadcast depending on the desired functionality. Obviously an LCD driver can only receive while a memory or an I / O device can receive and transmit data. I2C is a bus...

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

Discussion lists Server si Workstation

The following discussion lists have been created: TFM Server Development Discussion List List TFM Linux dedicated server. If you have ideas for improvement or want to solve a problem ... To subscribe to the list send an email to dev-server-subscribe@lists.tfm.ro TFM Workstation Development Discussion List Discussion list dedicated TFM workstation. If you have ideas for improvement or if you want to solve a problem ... To subscribe to the list send an email to: dev-wks-subscribe@lists.tfm.ro

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

Configurarea DHCP

1 Configurarea serverului DHCP 2 Optiuni ale DHCPD 3 Pornirea dhcpd in TFM/GNU linux 4 Oprirea dhcpd in TFM/GNU Linux 5 Alte documente interesante 6 Note Finale Configurarea serverului DHCP Dupa ce aveti un sistem TFM/GNU Linux instalat cu cel putin o place de retea in sistem tastati ifconfig -a. Ar trebui sa vedeti ceva de genul: eth0 Link encap:10Mbps Ethernet HWaddr 00:C0:4F:D3:C4:62 inet addr:183.217.19.43 Bcast:183.217.19.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2875542 errors:0 dropped:0 overruns:0 TX packets:218647 errors:0 dropped:0 overruns:0 Interrupt:11 Base address:0x210 Daca nu spune MULTICAST va trebui sa va reconfigurati kernel-ul si sa adaugati suportul...

read more
Default Image

Intrebari frecvente

I: This guide didn't aswered my question. What can i do ? R: You can send an email to us and we will answer your question. I: Where is located the password config file for PPTP tuneling ? R: The password can be found in /etc/ppp/chap-secrets I: How can I create a new user, delete one or change it’s password ? R: Use the commands useradd and passwd: useradd username userdel username passwd username I: Is there a browser in text mode in TFM ? R: Yes, use Elinks with the following commands: lynks links elinks I: How can I...

read more