Debian environment settings-Linux Release Technology-Debian information. The following is a detailed description. Set the environment for the newly installed Debian:
1) Modify/etc/apt/sources. list to set the mirror source.
# [Packages] ---------------------------------
Deb http://ftp.tw.debian.org/debian/ etch main contrib non-free
Deb-src http://ftp.tw.debian.org/debian/ etch main contrib non-free
# [Security Update] ------------------------
Deb http://security.debian.org/etch/updates main contrib non-free
Deb-src http://security.debian.org/etch/updates main contrib non-free
2) install the sudo suite and change the/etc/sudoers permission.
# User privilege specification
Root ALL = (ALL) ALL
User ALL = (ALL) ALL
3) install openssh-server and change/etc/ssh/sshd_config
# What ports we listen for (change the default port)
Port 5566
# Authentication (remote root login prohibited)
PermitRootLogin no
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.