Archive

Archive for January, 2010

Installing rpmforge repo over Centos 4.8

January 29, 2010 Leave a comment

That can easyly be downloaded and you can do it throught this link below.

#wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el4.rf.i386.rpm

once you’ve got it, type:

rpm -ivh rpmforge-release-0.5.1-1.el4.rf.i386.rpm

Here you are. You’re  ready for using this repo. I’d give some tips about that. I’d install fluxbox window manager.

# yum install fluxbox xorg-x11-xinit xorg-x11-server-Xorg

Bye for now.

Categories: Linux

Setting up a zope plataform server over Centos 4.8

January 29, 2010 2 comments

Well, early I’ll post how to make a similar step under a FreeBSD system, but for now I’ll give to everybody who follows my blog a brief summary over such steps.

This steps consist besides installing a platform Zope, we’re gonna install Mysql Database and their such modules for connecting from Zope interface to Mysql Database.

So, let’s get started.

1- Install Mysql Database.

[root@darth-maul ~]# yum install mysql mysql-server
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments

Read more…

Categories: Linux Tags:

Another yum’s troubleshooting. Cannot find a valid baseurl for repo: update

January 29, 2010 Leave a comment

According to Centos 4.8, once installed by rpm a package called rpmforge, it came up this error after running yum update command.

#yum update
Cannot find a valid baseurl for repo: update – Error

I found this somewhere unknown and I decided to blog it just in the case where someone needs getting this. I hope that could be useful.
Follow this steps and good luck.

#rm /dev/urandom

#mknod -m 644 /dev/urandom c 1 9

#yum clean

#yum update

Cheers.

Categories: Linux Tags:

Error yum update File “/usr/bin/yum”, line 29, in ?

January 29, 2010 1 comment

On these days ago, I’ve been trying to make an update in my yum repo. So I’ve got the server behind a proxy connection. I’ll report this error just either if one day I by chance forget or anyone else needs it.

# yum update
…… >> checking all the updates and settings the correct files for updating (no mirror problems!), then I get:
Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File “/usr/share/yum-cli/yummain.py”, line 229, in user_main
errcode = main(args)
File “/usr/share/yum-cli/yummain.py”, line 145, in main

In my /etc/bashrc was looking like:

export http_proxy=10.0.0.1

but the right way is:

export http_proxy=http://10.0.0.1:3128

Cheers!

Categories: Linux Tags:

Setting Internet connection to Shell Linux behind a proxy.

January 27, 2010 Leave a comment

On this last days I needed installing some staff in some server and in fact it hasn’t  been immediately. The server was behind a proxy Internet connection.

So, here you are the steps for configuring a proxy at your linux environment.

It depends which distro you are working on.. But the concept is basically to export 2 variables to the environment shell. You can get it from several ways. I’ll quote one of those.

1-     Firstly open /etc/bashrc or ~/.bash_profile or still ~/.bashrc

2-     At the end of file or wherever you want, put these lines in:

export HTTP_PROXY=http://username:password@proxyserver.net:port/

export FTP_PROXY=http://username:password@proxyserver.net:port/

3-     Once it has put them, quite saving and login again.

Cheers.

Categories: Linux

How to allow a certain user to execute sudo commands without typing the root password

January 27, 2010 Leave a comment

Okay, another useless thing, but who knows some day it can become useful.

1-     Edit /etc/sudoers

2-     Type into a new line: user   ALL=NOPASSWD:ALL, that would be like this:


Note that our user is called by machine2.

3-     Exit

4-     Logout from your session and try to login again with machine2 user. Then execute a command through sudo. You’ll notice that doesn’t ask it for a root password.

Categories: Linux

Setting a user without password.

January 27, 2010 Leave a comment

Hey men!! How are you doing? I’m gonna write about users and its way of login.
There are many ways to access to the system and some reasons to implement one of those below.

On These days a big friend of mine asked me if I knew how to take the password out of a user. In other words, He didn’t want password builting into a user.

Great, It seemed to me a bit strange but I’ll post if anyone else would by chance need to implement it.

1 – open through vi command the file /etc/passwd
2- search for the user line.
3- Cut the “x” character out.
4 – Then save the file while get out of here :wq

Categories: Linux

Diversity

January 21, 2010 Leave a comment

Outside of the corporate world, we’ve got many and different behavours imaginable related to persons.

It’s so clear when we’re able to make distinctions about how persons behave. That’s also can be called Perspection.  Human Beings’ Perspections is through diferences.

We know that red color is red at all, because we really know that blue color is different from red. There was a perspection builting on our brain, if we can say on this way.

You look at towards to me and say: Hey, watch out, there’s a thing too near to your ear. So I can’t even feel, so how can he expect me to know it? It can be seen from different severals kind of angles.  Engineer versus manufacture, old versus yong, who has a culture special versus how doesn’t know a thing about it. So, I mean…. Diversity is based on differences and it’s therefore absolutely the opposite of community. It’s much more comfortable living in community, it’s clear, however when you wanna gaim a strong experience and a great power of making advantages, you gotta learn to live around diversity.

C’mon, it’s can be defined by a great teamwork. Do you wanna see an exemple of teamwork at a given both collaboration and perspection? Football. How could you explain to me when such a player suddenly gives a pass to other player without even look at him and his face isn’t up to the game.  Wherever position he is,  he has builting on himself the perspection covered the gaps that needed to feel whenever other player will pass through his back and then he can pass the ball to him, simply to make a goal!

Well folks, that’s all for today. Cheers! Greatings from Carlos! bye

Categories: Uncategorized