upgrade in ubuntu
use "apt-get update" to update the list of software in ubuntu serveruse "apt-get upgrade" to upgrade the software of ubuntu server
use "apt-get dist-upgrade"to upgrade the version of dist version
use "do-release-upgrade" to upgrade the version of ubuntu
dpkt command
use "dpkg -l xxx" to check whether package xxx install or notuse "dpkg -L xxx" to check the files include in package xxx
use "dpkg -S /path/to/file" to check which package provide the file in the system, e.g
cisco@ciscoserver:~$ dpkg -S /bin/ls
coreutils: /bin/ls
use "dpkg -C" to find out the packages which are not install yet
use "dpkg-reconfigure xxx" to reconfigure xxx
configure network
name server :vim /etc/resolv.conf
ip, netmask, network, gateway :vim /etc/network/interfaces
本文详细介绍了在Ubuntu服务器中使用多种命令进行软件更新、升级和包管理的操作,包括使用`apt-get update`刷新软件列表,`apt-get upgrade`和`apt-get dist-upgrade`进行软件升级,以及如何通过`dpkg`命令检查和配置软件包。
394

被折叠的 条评论
为什么被折叠?



