VimFIX:
Fix the premise that you go to UBUNTU can be networked, or can only be uninstalled, not installed
1.sudo Apt-get Remove Vim-common
2.sudo Apt-get Install Vim
telnet:Opentelnet:
1. First install the necessary telnet
in the terminal input command: sudo apt-get install xinetd telnetd
2. Configuration
1 ) sudo vi/etc/inetd.conf and add the following line
Telnet Stream TCP nowait telnetd/usr/sbin/tcpd/usr/sbin/in.telnetd
2 ) Input sudo vi/etc/xinetd.conf and add content:
# Simple configuration file for xinetd
#
#Some defaults, and include/etc/xinetd.d/
Defaults
{
#Please Note that you need a log_type line to being able to use log_on_success
#and log_on_failure. The default is the following:
#log_type = SYSLOG Daemon Info
instances =
log_type = SYSLOG Authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = +
}
includedir/etc/xinetd.d
3 ) sudo vi/etc/xinetd.d/telnet and add the following content:
# Default:on
#description: The Telnet server serves Telnet sessions; it uses \
#unencrypted Username/password pairs for authentication.
Service Telnet
{
disable = no
flags = Reuse
socket_type = Stream
wait = no
user = root
Server = /usr/sbin/in.telnetd
log_on_failure + = USERID
}
4 ) Restart the network service sudo/etc/init.d/xinetd Restart
5 ) can be logged on on another client ttelnet the server
Closetelnet:
1.ctrl +] Enter
2.quit Exit
UbuntuUpdate Source:
sudo cp/etc/apt/sources.list/etc/apt/sources.list.backup
sudo gedit/etc/apt/sources.list
Copy the following source to the sources.list can be
Deb Http://mirrors.163.com/ubuntu/precisemain Universe restricted multiverse
DEB-SRC http://mirrors.163.com/ubuntu/precise main Universe restricted multiverse
Deb Http://mirrors.163.com/ubuntu/precise-security Universe main Multiverse restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise-security Universe main Multiverse restricted
Deb Http://mirrors.163.com/ubuntu/precise-updatesuniverse main Multiverse restricted
Deb Http://mirrors.163.com/ubuntu/precise-proposed Universe main Multiverse restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise-proposed Universe main Multiverse restricted
Deb Http://mirrors.163.com/ubuntu/precise-backports Universe main Multiverse restricted
DEB-SRC Http://mirrors.163.com/ubuntu/precise-backports Universe main Multiverse restricted
DEB-SRC Http://mirrors.163.com/ubuntu/precise-updates Universe main Multiverse restricted