debian 版本升级

Step # 1: Make a Backup

Step # 2: Apply all etch updates

# apt-get update # aptitude safe-upgrade

# reboot

Step # 3: Update /etc/apt/sources.list

Step # 4: Upgrade Debian to from 4.0 to 5.0

# aptitude update

# apt-get install apt aptitude #

# aptitude safe-upgrade # aptitude install

# aptitude full-upgrade

Step # 5: Verify your system

# uname -a

# cat /etc/debian_version

# egrep -i 'err|warn' /var/log/dmesg

#egrep-i'err|warn'/var/log/messages

#tail-f/var/log/dmesg

# tail -f /path/to/other/apps/log

# <a target="_blank" href="https://www.ancii.com/link/v1/PqV8Nsee3OG58TOqUWfjnudYmiRDVHAKMhhp5LuQO-42UJUzu--aHjAKFHzPv9QG0xrIXodqUE6Y9fQPyScXNsIjybXN_Jywfdc2qy-SKweVoFEAVvHHlwHc47VEUJcG/" rel="nofollow" title="netstat -tulpn">netstat -tulpn</a> # <a target="_blank" href="https://www.ancii.com/link/v1/PqV8Nsee3OG58TOqUWfjnudYmiRDVHAKMhhp5LuQO-42UJUzu--aHjAKFHzPv9QG0xrIXodqUE6Y9fQPyScXNsIjybXN_Jywfdc2qy-SKweVoFEAVvHHlwHc47VEUJcG/" rel="nofollow" title="rcconf">rcconf</a>

# iptables -L -n

#ip6tables-L-n

相关推荐