Archive for the ‘ Ubuntu ’ 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 »

Method to solve `Downloading bookmarks …’ problem

March 15, 2008 by sandajian in Fedora, Firefox, Google, Ubuntu

I am migrating to `Google bookmarks’, but the button on Google Toolbar always says `Downloading bookmarks …’. But in Windows, Google Toolbar in Firefox can import, download, add bookmarks normally. What’s different in Linux?

After googling for some time, I realize that it is due to lack of the library `libstdc++.so.5′. This is one of the old versions of C++ libraries, most of current Linux distributions do not install this library by default. The method to solve ‘Downloading bookmarks’ problem is:

1. Install the package that contains libstdc++.so.5. For Fedora 8:

# yum install compat-libstdc++-33

For Ubuntu:

# sudo apt-get install libstdc++5

For other distributions, you should install the corresponding packages.

2. Exit Firefox, restart Firefox, re-install Google Toolbar. This is very important, or else the problem will not be solved!

3. Restart Firefox. Now you can see all your bookmarks in your Google toolbar!