Tuesday, October 21, 2008

Toshiba Network Camera-usel Login

OpenOffice3

few days ago came OpenOffice3 final version, so I decided to try them, but I had some problems early, searching the Internet I could solve. Page of OpenOffice3

: http://download.openoffice.org/index.html

To download the deb in English

# wget http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=linuxinteldeb&lang=es&version=3.0.0

Once downloaded, unzip it

# tar -xvf OOo_3.0.0_LinuxIntel_install_es_deb.tar.gz

We entered the DEBS folder to install. deb # cd

OOO300_m9_native_packed-1_es.9358/DEBS /

# dpkg-i *. deb


ready, our OpenOffice is already installed.

The good thing is that we still have the OpenOffice2, because the new version is installed in / opt

To prove just run

$ sh / opt/openoffice.org3/program/soffice



or $ cd / opt/openoffice.org3/program /

$. / Soffice


But our first mistake would be:
Terminate
Called after throwing an instance of 'com:: sun:: star:: a:: RuntimeExcep

Luckily this is not a bug, we just have to delete the profile.

$ rm-rf / home / YOUR-USER / .openoffice.org

and try again loaded and ready, fixed

If we want to create a shortcut to the new program to create the file based OOO3. desktop on your desktop with any text file with the following contents:

[Desktop Entry] Version =

1.0 Terminal = false
Exec = sh / opt/openoffice.org3/program/soffice

Icon = ooo-writer
Type = Application Categories = Application
; Office;
StartupNotify = false
Name = OpenOffice.org 3
Name [es] = OpenOffice.org 3

We keep it and double click and have access to our new OpenOffice. We can also change the icon (the one I use is oowriter). If

what we want in the menu, you just have to copy them to / usr / share / applications cp

OOO3.desktop / usr / share / applications

And what we have in the main menu.



bye

Friday, October 17, 2008

How Do I Make Myself More Mature

mod_cband apache in CentOS 5.2 Blocking p2p

mod_cband is a apache module allows us to control the bandwidth used by users connected to the server, either individually or in general.

Installation:

unload the module.
Project page: http://sourceforge.net/projects/cband/

# wget http://downloads.sourceforge.net/cband/mod-cband-0.9.6.1.tgz?modtime=1138205796&big_mirror = 0 Unzip



sources # tar-xvf mod-Cband-0.9.6.1.tgz

Installing required dependencies

# yum install http-devel

Compiling
sources
# . / configure

# make # make install

add the module to apache httpd.conf file, the default is automatically added to the compile line if it was not the case, add the following line

# vim / etc / httpd / conf / httpd.conf LoadModule

cband_module modules / mod_cband.so

It is also necessary to add

CBandScoreFlushPeriod 1


CBandRandomPulse On Restart the apache

# / etc / init.d / httpd restart Now

configure apache virtual domains: In my case

I have it in / etc / httpd / conf.d / virtual.conf
can be given for him in the httpd.conf pampering

Site Settings and Constraints

CBandSpeed \u200b\u200b1024kbps October 1930
CBandRemoteSpeed \u200b\u200b20kb / s March 3

CBandSpeed \u200b\u200bparameter is a global setting for this site, we define which users may not exceed 1024Kbps, 10 responses per second and 30 open connections.

CbandRemoteSpeed \u200b\u200bparameter is a setting for each user connected separately, define the individual user can download at most 20Kb / s to 3 requests per second and 3 connections allowed. So stay

our virtual host

# vim / etc / httpd / conf.d / virtual.conf

"<"VirtualHost *:80">"
DocumentRoot / var / www / html / miweb.com ServerName
miweb.com
www.miweb.com ServerAlias \u200b\u200bErrorLog logs
/ miweb.com_error.log
CustomLog logs / miweb.com_access.log Combined
CBandSpeed \u200b\u200b1024kbps October 1930
CBandRemoteSpeed \u200b\u200b50kb / s March 3
LogLevel warn
"<"/VirtualHost">"

Note: for some reason the place more or less does not come out, so add ">" and "Restart the <". para para que funcione no deben ir las comillas doble. Mucho ojo con eso.



apache # / etc / init.d / httpd restart

and test our web .... recommendations, we can change variables, restart apache and test.

Other options We

monthly traffic limit:

100M CBandLimit
Online
can see traffic and connections, etc. (Cband status) to: Create the folder



# mkdir / var / www / scoreboard

We permissions for the apache

# chown apache: apache / var / www / scoreboard

And add the virtual host

CBandScoreboard / var / www / scoreboard
CBandPeriod

4W "<"Location /cband-status">"
Cband-status SetHandler
"<"/Location">"
"<"Location /cband-status-me"> "SetHandler
Cband
-status-me" <"/Location"> "



All this is added to the virtual domain, being so:

"<"VirtualHost *:80">"
DocumentRoot / var / www / html / ServerName
miweb.com miweb.com
www.miweb.com
ServerAlias \u200b\u200bErrorLog logs / miweb.com_error.
log CustomLog logs / miweb.com_access.log Combined
CBandLimit 1000M
CBandSpeed \u200b\u200b1024kbps October 1930
CBandRemoteSpeed \u200b\u200b50kb / s March 3
LogLevel warn
CBandScoreboard / var / www / scoreboard 4W CBandPeriod

"<"Location /cband-status">"
Cband-status SetHandler
"<"/Location">"
"<"Location /cband-status-me">" SetHandler
Cband-status-me
"<"/Location">"
"<"/VirtualHost">"

Note: for some reason to put more or less do not appear, so add ">" and "Restart the <". para para que funcione no deben ir las comillas doble. Mucho ojo con eso.



apache # / etc / init.d / httpd restart

From the above limit to 1GB monthly traffic
to see statistics: http:// miweb.com / Cband-status or http://miweb.com/cband-status-me

A test ... Good luck

Wednesday, October 15, 2008

Backpacking With A Dslr

iWaiter Teachings of "The Cathedral and the Bazaar" (I)


In the previous post

commented on "The Cathedral and the Bazaar" , an essay by Eric S.

Raymond

talking about their experiences with Sofgüer

Free and Open Source

and the comparison made between the development models of proprietary and sofgüer sofgüer free.
Among the activities conducted by the author and are collected in the trial, frequently exposed learned from experience during the process. Then I rise to speak to them and comment on them:
1) Every good work of software starts from the needs
if personal ties programmer. ( Every good work begins when you have to scratch your own itch ) In fact that's how all Sofgüer Free Movement began ... Richard Stallman got tired of not being able to modify the programs I needed to change to make them work well and started programming everything from scratch with their friends. 2) Good programmers know what to write. The best, what to rewrite (and reuse). If scheduling is difficult, know to understand the code of another even more so. 3) "Consider disposal, in any case have to." (Fred Brooks, The Mythical Man-Month
, Chapter 11)
The idea always is to put bricks on bricks that other people made. No need to invent the warm water. However, sometimes it's easier, more efficient and faster clean slate and do it all again.


4) If and s the right attitude, you will find interesting problems. The trick to a good program is to solve important problems, which have good input anyone has. That's the trick of a successful program.
5) When you lose interest in a program, the last duty is to inherit
a
its competent predecessor. Yes ... discard hurt a child, but if you can not keep, better give it to someone responsible who can.

6) Treating your users as partners is the most appropriate way to improve the code, and debug more effectively.
all unconsciously know that a programmer could try a program so that it does not fail. It is no secret that when a program is used by the public is when the problems start jumping. So why not use this to find mistakes in preliminary versions of the release of a program?


7) Free Ra often ask, and listen to their customers. What good is a program if no one uses? Listening to users is the easiest way to understand what they need ... (Although now that I think many times I have encountered users who do not know what they want) ... Well, the point is that the earlier versions being released, more feedback can be obtained, and therefore better target the course to be taken the program. The ensayito this experience emerge even more important, but these will be commenting on the next post. Good night.

"Experience is not what happens to you,
but what you do with what happens to you." Aldous Huxley