http://rpm.pbone.net/index.php3/stat/4/idpl/12891638/dir//com/cgit-0.8.2.1-1.el5.kb.i386.rpm.html
cd /srv/www/html/lighttpd
ln -s /usr/share/cgit git-media/
| Summary: Redis advanced key-value store | |
| Name: redis | |
| Version: 1.2.1 | |
| Release: 1 | |
| License: BSD-style | |
| Group: System Environment/Daemons | |
| URL: http://code.google.com/p/redis/ | |
| Source: http://redis.googlecode.com/files/redis-%{version}.tar.gz | |
| BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
| schema | |
| CREATE TABLE autorun_agent ( | |
| id INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY, | |
| agent_id VARCHAR(64) NOT NULL, | |
| on_pre_run_exec VARCHAR(255) NOT NULL DEFAULT '', | |
| on_post_run_exec VARCHAR(255) NOT NULL DEFAULT '', | |
| on_fail_run_exec VARCHAR(255) NOT NULL DEFAULT '', | |
| last_modified TIMESTAMP, | |
| UNIQUE KEY (agent_id) |
| from django.db.models.query import QuerySet | |
| from django.db.models import Manager | |
| from django.contrib.contenttypes.models import ContentType | |
| from django.contrib.contenttypes.generic import GenericForeignKey | |
| class GFKManager(Manager): | |
| """ | |
| A manager that returns a GFKQuerySet instead of a regular QuerySet. | |
| """ |
| #!/usr/bin/perl | |
| # $Id: safetynet,v 1.10 2001/01/19 17:42:02 syntec Exp $ | |
| # Author : Evan Borgstrom ($Author: syntec $) at unixpimps.org | |
| # Created : 2000/10/13 | |
| # Purpose : Keep things running without complicated init scripts. | |
| # Modified: $Date: 2001/01/19 17:42:02 $ | |
| ################################################################## |
| #!/usr/bin/perl -w | |
| use strict; | |
| use warnings; | |
| use File::Spec; | |
| use Getopt::Long; | |
| use Data::Dumper; | |
| use YAML qw/Dump LoadFile/; | |
| use POSIX qw(setsid :sys_wait_h); | |
| use Term::ANSIColor qw/:constants/; | |
| $Term::ANSIColor::AUTORESET = 1; |
| #!/bin/bash | |
| # | |
| # /etc/init.d/subversion | |
| # | |
| # Starts the Subversion Daemon | |
| # | |
| # chkconfig: 2345 90 10 | |
| # description: Subversion Daemon | |
| abstract (1.0.0) | |
| actionmailer (3.0.7) | |
| actionpack (3.0.7) | |
| activemodel (3.0.7) | |
| activerecord (3.0.7) | |
| activeresource (3.0.7) | |
| activesupport (3.0.7) | |
| acts_as_commentable (3.0.1) | |
| annotate (2.4.0) | |
| archive-tar-minitar (0.5.2) |
| create a script like this | |
| ( mkdir /usr/local/scripts ) | |
| /usr/local/scripts/generate_vmbr20.sh | |
| modprobe -o dummy0 dummy1 | |
| ifconfig dummy0 up | |
| brctl addbr vmbr20 | |
| brctl addif vmbr20 dummy0 | |
| ifconfig vmbr20 up |