The vsftpd RPM installs the /etc/rc.d/init.d/vsftpd script, which can be accessed using the /sbin/service command.
To start the server, as root type:
/sbin/service vsftpd start
To stop the server, as root type:
/sbin/service vsftpd stop
The restart option is a shorthand way of stopping and then starting vsftpd. This is the most efficient way to make...
You can always test whether the VSFTPD process is running by using the netstat -a command, which lists all the TCP and UDP ports on which the server is listening for traffic. This example shows the expected output:
[linux@hc ~]$ netstat -a | grep ftp
tcp 0 0 *:ftp *:* LISTEN
First, install the required packages:
* net-snmp (this provides the snmp server)
* net-snmp-utils (this provides tools like snmp-walk)
To configure an SNMP server, community strings need to be defined. This is done in the following configuration file:
/etc/snmp/snmpd.conf
The version of the configuration file that comes with SNMP is quite complicated. A simpler version will suffice for the setup discussed in this article.
Before proceeding further, make a backup of...
Alternate install CD The alternate install CD allows you to perform certain specialist installations of Ubuntu. It provides for the following situations: setting up automated deployments; upgrading from older installations without network access; LVM and/or RAID partitioning; installs on systems with less than about 256MB of RAM (although note that low-memory systems may not be able to run a full desktop environment reasonably). In the event that you encounter a bug using the...
With Fedora, Redhat, Ubunbtu and Debian You can start, stop, or restart VSFTPD after booting by using these commands:
[root@bigboy tmp]# /etc/init.d/vsftpd start[root@bigboy tmp]# /etc/init.d/vsftpd stop[root@bigboy tmp]# /etc/init.d/vsftpd restart
With Redhat / Fedora you can configure VSFTPD to start at boot you can use the chkconfig command.
[root@bigboy tmp]# chkconfig vsftpd on
With Ubuntu / Debian the sysv-rc-conf command can be used like this:
root@u-bigboy:/tmp# sysv-rc-conf...
Display current active Internet connections
[root@localhost ~]# netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:199 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0...
Display open ports
[root@localhost ~]# sudo netstat -tulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:smux *:* LISTEN 10218/snmpd
tcp 0 0 *:mysql *:* ...
Display the routing table
[root@localhost ~]# route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 172.16.0.254 0.0.0.0 UG 0 0 0 eth0
[root@localhost ~]# /sbin/route Kernel IP routing table Destination Gateway...
Activate network interface eth0 with a new IP (172.168.10.50) / netmask:
$ sudo ifconfig eth0 172.168.10.50 netmask 255.255.255.0 up
Display network interface information $ ifconfig [root@localhost ~]# ifconfigeth0 Link encap:Ethernet HWaddr 00:0C:29:17:E0:2C inet addr:172.16.0.203 Bcast:172.16.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:679219 errors:0 dropped:0 overruns:0 frame:0 TX packets:262977 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 ...
|