实验-dpkg
dpkg -l vsftpd
dpkg-query: 没有找到与 vsftpd 相匹配的软件包
wget http://ftp.de.debian.org/debian/pool/main/v/vsftpd/vsftpd_3.0.3-12_amd64.deb
dpkg -i dpkg -i vsftpd_3.0.3-12_amd64.deb
dpkg -l vsftpd
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触
|/ 错误?=(无)/须重装(R) (状态,错误:大写=故障)
||/ 名称 版本 体系结构 描述
+++-==============-============-============-===================================
ii vsftpd 3.0.3-12 amd64 lightweight, efficient FTP server w
dpkg -L vsftpd
dpkg -s vsftpd
dpkg -r vsftpd
dpkg -P vsftpd
实验-apt-get
apt-get update
apt-get upgrade
apt-cache search nginx //搜索软件包
apt-cache show nginx
apt-get install -y nginx
apt-get reinstall -y nginx
apt-get -f install nginx
apt-get remove nginx
apt-get purge nginx
实验-apt客户端配置文件
vim /etc/apt/sources.list
deb [by-hash=force] https://packages.chinauos.cn/uos eagle main contrib non -free
指示包类型 安全校验 软件源地址
实验-源码包安装
wget http://nginx.org/download/nginx-1.14.2.tar.gz
./configure --help
./configure --prefix=/usr/local/nginx --without-http_rewrite_module --without-http_gzip_module
make && make install
/usr/local/nginx/sbin/nginx
netstat -anptu |grep nginx
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 13597/nginx: master
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




