标签类目:Debian

Debian 无缝升级Debian5至Debian6(不重装系统)

分类:Debian第一步:修改更新源为debian 6.0

# vi /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://volatile.debian.org/debian-volatile squeeze/volatile main
deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main

继续阅读 »

在Debian上安装SVN

分类:Java/jsp分类:Debian版本信息:
Debain: 5.0
Kernel: 2.6.26-1-686
Subversion: 1.5.6
Apache: 2.2.11

服务端:
1、安装

apt-get install subversion subversion-tools
apt-get install apache2 libapache2-svn

继续阅读 »

[原创]玩转Debian5——安装(LXDE桌面)

分类:Debian1. 操作系统:Debian5.04(下载:debian-504-i386-xfce+lxde-CD-1.iso)

2. 桌面环境:LXDE

在正式开始前我们先预览一下成功安装后的界面:

继续阅读 »

Debian建立CVS服务器

分类:Debian

1.apt-get install cvsd
2.cvsd-buildroot /data/cvs

这一步cvs目录不需要先手动建立,执行后/data/cvs下就有etc,bin那些目录了,这个就相当于刚才说的那个”虚拟系统”

3.mkdir /data/cvs/myrepos
cvs -d /data/cvs/myrepos init

在/data/cvs/下建立一个”代码仓库”,并初始化,这一步执行后myrepos目录下会多出来一个CVSROOT目录 继续阅读 »

Debian/Ubuntu Linux下建立python的开发环境

分类:Python1.安装python运行环境

apt-get install python

2.安装python开发环境及依赖库

apt-get install python-dev

3.安装python的网络组件

apt-get install python-clientcookie

说明:安装网络组件后才可以使用urllib2及cookie相关的库

在Debian系Linux上安装rpm档

分类:Debian  Debian系Linux不推荐使用rpm安装rpm档,需要将其转为deb档,通过dpkg安装。但是在Ubuntu Server中,将rpm转为deb的工具alien默认是不安装的,我们需要手工安装他,安装工具为apt。

  首先将apt的“源”列表/etc/apt/sources.list复制一个副本备份,然后把原来的“源”列表清空。

  挂载Ubuntu Server的CD1。 继续阅读 »

Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Etch

分类:Lvs/Ha分类:Debian分类:ApacheThis article explains how to set up a two-node load balancer in an active/passive configuration with HAProxy and heartbeat on Debian Etch. The load balancer sits between the user and two (or more) backend Apache web servers that hold the same content. Not only does the load balancer distribute the requests to the two backend Apache servers, it also checks the health of the backend servers. If one of them is down, all requests will automatically be redirected to the remaining backend server. In addition to that, the two load balancer nodes monitor each other using heartbeat, and if the master fails, the slave becomes the master, which means the users will not notice any disruption of the service. HAProxy is session-aware, which means you can use it with any web application that makes use of sessions (such as forums, shopping carts, etc.). 继续阅读 »


返回顶部