进入apt目录,备份原来的源地址 cd /etc/apt mv ./source.list ./source.list.bak 修改源文件source.list vim source.list 更换阿里云源 deb http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main multi…
1.复制源文件备份,以防万一 我们要修改的文件是sources.list,它在目录/etc/apt/下,sources.list是包管理工具apt所用的记录软件包仓库位置的配置文件,同样类型的还有位于 同目录下sources.list.d文件下的各种.list后缀的各文件. 命令如下: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2.编辑源列表文件 命令如下: sudo vim /etc/apt/sources.list 如果报…
http://www.namhuy.net/2435/how-to-change-date-time-timezone-on-centos-6.html 查看日期(使用 -R 参数会以数字显示时区) $date 选择时区, 用当地的时区文件覆盖默认的, 这个在Ubuntu18.04下同样有效 cd /usr/share/zoneinfo/Asia/ sudo cp Shanghai /etc/localtime 修改时间 sudo date -s "20150514 18:07:00"…
阿里云Linux安装镜像源地址:http://mirrors.aliyun.com/ 第一步:备份原镜像文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 第二步:下载CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 5 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/r…
https://blog.csdn.net/zhangjiahao14/article/details/80554616 https://yq.aliyun.com/articles/704603 https://blog.csdn.net/beckeyloveyou/article/details/51352426…
1.复制备份: cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载: wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo "-bash: wget: 未找到命令"-解决办法: yum -y install wget 3.生成缓存: yum makecac…
自带的 软件包源 不好用,卡顿严重,准备替换它: 方式一:deepin linux 如何更新或者更换软件源(注意:好像不起作用) 方式二:[推荐]利用 阿里云 提供的镜像快速更换本地的 yum 源 (CentOS/Ubuntu/Deepin 等系统都被支持),点击右边的“help”,会告诉你如何替换为“阿里云源” 方式三:替换为 “中国科学技术大学”源 sudo vim /etc/apt/sources.list 把其中的 “http://packages.deepin.com”替换为“http…
CentOS7同步阿里云镜像rpm包并自建本地yum仓库 系统环境 # cat /etc/centos-release CentOS Linux release 7.6.1810 (Core) # uname -r 3.10.0-957.el7.x86_64 # ip a |awk 'NR==9{print $2}'|awk -F '/' '{print $1}' 10.0.0.100 修改yum源为阿里云源 备份系统自带的yum源 # tar -zcvf CentOS-bk.tar.gz /e…
目录导航: 1. 系统环境 2. 修改yum 源为阿里云源 3. 安装yum相关的软件 4. 根据源标识同步源到本地目录 5. 安装nginx开启目录权限保证本地机器可以直接本地yum源 6. 客户端创建repo文件 1. 系统环境  # cat /etc/centos-release CentOS Linux release (Core) # uname -r -.el7.x86_64 # ip a |awk 'NR==9{print $2}'|awk -F '/' '{print $1}'…
Ubuntu18.04下编译libx264.libx265.libfdk_aac和ffmpeg 一.编译x264库 二.编译fdk-aac库 三.编译x265库 四.编译FFmpeg源码 五.设置环境变量 六.测试ffmpeg命令行推流rtsp(H265.H264)成rtmp 七.Download 本文主要目的为了编译出能支持推流H265成rtmp的ffmpeg. 一.编译x264库 解压last_x264.tar.bz2执行以下命令 ./configure --enable-shared --…