Tag: — tepezcuintle @ 16:27

SELinux can sometimes get
in your way. For example, I have had typical services, such as Apache, appear
to start up correctly, but remain inaccessible from the outside world because
I forgot to allow the apache user rights to open that port or maybe my distro
forgot about it. Before you turn off SELinux make sure you know why
you are turning it off and the security concerns you might be opening yourself
up to.
Continua”How to turn off SE Linux”
Tag: — tepezcuintle @ 16:05

why awk?
awk is small, fast, and simple, unlike, say, perl. awk also has a
clean comprehensible C-like input language, unlike, say, perl. And
while it can’t do everything you can do in perl, it can do most things
that are actually text processing, and it’s much easier to work with.
Continua”Simple Awk Tutorial”
Tag: — tepezcuintle @ 21:07

found here
DJG’s Sudo Guide
Created on January 1st, 2000.
sudo is a package which will allow priveleged users to run commands as other
users. This is sort of like assigning users to different groups to give them
special permissions to files. However, this can allow users acccess to
specific commands on specific machines, making it a more effective and more
organized way of giving special priveleges to users.
First, you’ll have to get the sudo package.
Continua”Configure the Sudo Command”
Tag: — tepezcuintle @ 20:25
Introduction
Bash features a lot of built-in checks and comparisons, coming in quite handy in many situations. You’ve probably seen if statements like the following before:
if [ $foo -ge 3 ]; then
The condition in this example is essentially a command. It may sound strange, but
surrounding a comparison with square brackets is the same as using the
built-in test command, like this:
Continua”Conditions in bash scripting ( if statements )”
Tag: — tepezcuintle @ 23:31
I was running my old mail server with sendmail, cubemail, dovecot IMAP and had a separate web calendar to store events. I recently bought a new machine where I am running a bunch of virtual machines and I setup one of the virtual machines as my zimbra server.
I got the server up and running but gmail and yahoo would not accept my email since it came from a home ip address. On my old server I was relaying my mail using my ISP. I remember I had to use smtp-auth with my provider but the instructions that worked with sendmail do no apply to Zimbra.
I also followed some instruction for postfix but they didn’t work either so I found this guide on the zimbra wiki. I followed it and everything worked fine :)
I am saving it here if I should ever migrate the server or for future reference.
Continua”Zimbra smtp relay through smart host smtp-auth”
Tag: — tepezcuintle @ 21:03

NFS Crash course
I wrote up a quick guide to setting up NFS awhile back but never published it. It is not exactly a nice and clean format but it is exactly what you need to be reading if you want a quick way to setup NFS between two servers. For the purpose of the guide I have added directions for the APF firewall, obviously anything else will work fine.
Continua”Quick dirty guide to NFS”
Tag: — tepezcuintle @ 21:31

Original Article by etienne
Ok so I’ve finished my new Rails application and it’s now time to deploy, which has turned out to be somewhat more challenging than I thought. I’m deploying to a dedicated host running SuSe 9.3.
Installation check list:
1. Ruby
2. RubyGems
3. Rails
4. Mongrel + Mongrel Cluster
5. Nginx
6. Subversion
7. Capistrano
Continua”Rails Deployment and Installation - Nginx + Mongrel Cluster + Subversion + Capistrano”
Tag: — tepezcuintle @ 19:08

We would like to thank Perishable Press for allowing Penguinlinux to repost this great article about htaccess.
The people at Perishable Press have a good tutorial the black magic behind htaccess configuration.
Please visit http://perishablepress.com/ for more tutorials, and great articles.
Link to original Article
Continua”Perishable Press Stupid htaccess tricks.”
Tag: — tepezcuintle @ 21:42
I found a post on webhosting talk with a question on how to rename strange files that have spaces and weird characters.
for example files like this
Movie_46_(Dark sector brutal59).flv
Movie_46_(Dark sector brutal59).wmv
as you can see there are weird characters like ( ) and spaces.
so here is a quick way to rename those files.
Here is an example i ran on my machine to see it works.
Continua”How to rename weird files with spaces and strange characters”
Tag: — tepezcuintle @ 22:14
Interviewing people for our Job Openings I like to ask them a basic question - if you have a server with 16GB of RAM which will be dedicated for MySQL with large Innodb database using typical Web workload what settings you would adjust and interestingly enough most people fail to come up with anything reasonable. So I decided to publish the answer I would like to hear extending it with basics of Hardware OS And Application optimization.
I call this Innodb Performance Optimization Basics so these are general guidelines which work well for wide range of applications, though the optimal settings of course depend on the workload.
Continua”Innodb Performance Optimization Basics”