#安装openssh-server
apt-get update
apt-get install openssh-server
# 安装vim
apt-get install vim
#修改 sshd_config 允许root登录
vim /etc/ssh/sshd_config
PermitRootLogin yes
# 启动ssh
service ssh start
安装多个源
apt-get install software-properties-common
add-apt-repository ppa:ondrej/php
移除不要的php版本
apt-get purge php8.1-*
apt-get update
apt-get install php7.4
a2enmod php7.4
service apache2 restart
标签:http,get,php7.4,apt,vim,ssh,install,ubuntu From: https://www.cnblogs.com/hui413027075/p/17614741.html