http://www.oreillynet.com/sysadmin/blog/2006/08/scheduling_perl_scripts_outsid.html
Thursday, August 31, 2006
An alternative and clever way of scheduling tasks with perl.
http://www.oreillynet.com/sysadmin/blog/2006/08/scheduling_perl_scripts_outsid.html
Etiquetas:
Administration
Sunday, August 27, 2006
Viewing mpeg and DVD in Suse 10.1
Now i want to see mpeg in my Suse 10.1, you will not be able to see them by default, you will need to use the program "yast" to install needed packages that do not come by default.
1) Run yast as root user, and add a new source for the installation, add the pacman repository:
Link: http://en.opensuse.org/Additional_YaST_Package_Repositories
Add the pacman repository
2) Execute: yast -i kaffeine-mozilla
This will install win32 drivers to see mpeg and DVD, also Kaffeine player.
Please, write here your opinion about Suse Linux or other distros.
Saturday, August 26, 2006
Simple rotation backup with tar
#!/bin/bash
# fecha has a formated date
fecha=`date +"%d-%m-%Y"`
# Backup and gzip the directory
tar zcvf /backups/trunk-$fecha.tgz /var/www/repository
# Rotate the logs, delete older than 7 days
find /backups/ -mtime +7 -exec rm {} \;
You are invited to post your little, simple though usefull scripts.
Etiquetas:
Administration
Friday, August 18, 2006
How to disable selinux
I had to disable it manualy, this is done so:
$ setenforce 1
$ sestatus | grep -i mode
Current mode: enforcing
Mode from config file: permissive
------
Edit /etc/selinux/config and set SELINUX=disabled to make the change permanent.
Etiquetas:
Security
Subscribe to:
Posts (Atom)










