Archive for the ‘ CentOS ’ Category

Using `cvsd’ to setup cvs pserver

April 27, 2008 by sandajian in CentOS, Development, Fedora, Network, Ubuntu

CVS was designed to use `xinetd’ to startup service. But now most Linux distributions do not install xinetd by default, and configuration of CVS is somewhat complicated. `cvsd‘ is a wrapper program for CVS in pserver mode, it can startup CVS as a standalone daemon, under a special uid/gid in a chroot jail. It is relatively easy to use cvsd and its configuration file to setup CVS repositories.

In this article, I will describe how to setup a cvs pserver step by step.

1. Installation of cvsd package

For RPM-based distributions, you may download precompiled RPMS from this site:

cvsd-1.0.14-1.i386.rpm
cvsd-1.0.14-1.src.rpm (source)

For other distributions, you may download source tarball here, compile and install it yourself.

Read the rest of this entry »

Setup of VSFTPD – another approach

April 15, 2008 by sandajian in CentOS, Fedora, Network, Ubuntu

If you are hosting several web sites, for security reason, you may want the webmasters to access their own files only. One of the good way is to give them FTP access by setup of VSFTPD virtual users and directories.

In my last article, I described how to setup VSFTPD virtual users. In this article, I will describe another approach to setup VSFTPD, it needs real users on the system.

1. Installation of VSFTPD

For Red Hat, CentOS and Fedora, you may install VSFTPD by the command

# yum install vsftpd

For Debian and Ubuntu,

# apt-get install vsftpd

Read the rest of this entry »

Setup of VSFTPD virtual users

April 5, 2008 by sandajian in CentOS, Fedora, Network, Ubuntu

If you are hosting several web sites, for security reason, you may want the webmasters to access their own files only. One of the good way is to give them FTP access by setup of VSFTPD virtual users and directories. This article describes how you can do that easily.
(See also: Setup of VSFTPD virtual users – another approach)

1. Installation of VSFTPD

For Red Hat, CentOS and Fedora, you may install VSFTPD by the command

# yum install vsftpd

For Debian and Ubuntu,

# apt-get install vsftpd

Read the rest of this entry »

Installation of CentOS on a server with a SmartRAID V controller

March 4, 2008 by sandajian in CentOS

We are going to reinstall Linux on an old server with a SmartRAID V controller. Since CentOS can be updated easily using ‘yum’, we decide to use CentOS 5.1. There are some difficulties in installation, but we can bypass them and accomplish it successfully.

The basic parameters of the old server:

  • 2 x Intel(R) Xeon(TM) CPU 2.40GHz
  • 4G Memory
  • Adaptec (formerly DPT) SmartRAID V Controller
  • 6x 36704 MB SCSI disks
  • Intel Corporation 82545EM Gigabit Ethernet Controller
  • ATAPI 52X CD-ROM drive

The main points of installation are described below:

Read the rest of this entry »