Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Collation of common commands in Debian LINUX

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "the arrangement of common commands in Debian LINUX". Friends who are interested may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "Debian LINUX common commands collation" bar!

IP address setting: / etc/network/interface

/ / dynamic DHCP acquisition

# activate the system activation device

# Loop Loopback address

Auto lo

Iface lo inet loopback

# activate the system activation device

# eth0 of Nic is set to DHCP type

Auto eth0

Iface eth0 inet dhcp

/ / static Static is obtained

# activate the system activation device

# Loop Loopback address

Auto lo

Iface lo inet loopback

# activate the system activation device

# eth0 of Nic is set to Static type

Auto eth0

Iface eth0 inet static

# specify IP address, subnet mask, broadcast, gateway

Address 192.168.0.1

Netmask 255.255.255.0

Network 192.168.0.0

Broadcast 192.168.0.255

Gateway 192.168.0.1

# specify DNS server address

Dns-nameservers 202.103.0.117

Dns-search somedomain.org

=

DNS server settings: / etc/resolv.conf

/ / must be set. Otherwise, no URL can be accessed.

Nameserver 202.103.0.117

Nameserver 211.95.193.97

=

Apt-get command:

Apt-setup sets the Apt source, which can be selected as a list or manually imported.

Apt-get update system software package update

Apt-get upgrade updates all software packages and automatically upgrades to the latest

Apt-get dist-upgrade updates software packages and resolves software dependencies

Apt-cache search keyword finds the specified package information

Apt-cache show package_name displays the information of the specified package in detail

Apt-get install installs the specified package

Apt-get remove removes the specified package

=

Common commands:

Base-config configuration basic system

Apt-get install zhcon installs Zhcon Chinese character support package

Zhcon runs Zhcon UC-DOS Chinese system

Apt-get remove netatalk removes unnecessary Appletalk

Apt-get remove exim4 deletes MTA. Increase start-up speed

Vi / etc/zhcon.conf configure Zhcon Settings

Vi / etc/apt/source.list configure Apt source address

At this point, I believe you have a deeper understanding of "Debian LINUX common command arrangement", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report