Archive

Posts Tagged ‘gentoo’

How to install and configure the pure-ftp daemon on Gentoo

October 4th, 2010 No comments

On a bash shell, as root user run the following command:

# emerge -va net-ftp/pure-ftpd

.......
.......
.......
.......
 
 
.......
.......
.......
>>> /etc/conf.d/pure-ftpd
--- /etc/init.d/
>>> /etc/init.d/pure-ftpd
 *
 * Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!
 *
 * It's *really* important to read the README provided with Pure-FTPd!
 * Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info
 * and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info.
 *
>>> net-ftp/pure-ftpd-1.0.21-r1 merged.
>>> Recording net-ftp/pure-ftpd in "world" favorites file...

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package net-ftp/pure-ftpd-1.0.21-r1:

 *
 * Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!
 *
 * It's *really* important to read the README provided with Pure-FTPd!
 * Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info
 * and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info.
 *
 * GNU info directory index is up-to-date.
 
 
As shown at the end of the output of the emerge command, don't forget to read the README provided with Pure-FTPd.
 
Now you need to configure the Pure-FTPd daemon, edit the /etc/conf.d/pure-ftpd file with your favourite editor.
Make sure that the line IS_CONFIGURED="yes" is uncommented (remove the "#" if necessary)
Make sure the server is configured as follows:
SERVER="-S 21"
 
save the /etc/conf.d/pure-ftpd file
 
Prepare the users:
# groupadd ftpgroup
# useradd -g ftpgroup -d /dev/null -s /etc ftpuser
# pure-pw useradd pippo -u ftpuser -d /home/ftpusers/pippo
 
startup the server
# /etc/init.d/pure-ftpd start
 
and add it at boot time
# rc-update add pure-ftpd default
 
That's all
gg1

Configuring the network interfaces on Gentoo

April 30th, 2010 No comments

On Gentoo the main portion of the network configuration will be done inside the configuration file /etc/conf.d/net.

For example, to configure the IP address and netmask for the eth0 interface you should add the following line to the /etc/conf.d/net file:

config_eth0 {"192.168.0.1 netmask 255.255.255.0"}

Configuring the telned daemon on Gentoo to work with root

April 23rd, 2010 No comments

Gentoo will not come with a telnetd preinstalled, if you want to login with a telnet to your Gentoo box you could follow these step (running as root user):

Statistical data collected by Statpress SEOlution (blogcraft).