一、检查vsftpd是否安装 rpm -qa | grep vsftpd 二、安装 yum install vsftpd -y 三、配置 vim /etc/vsftpd/vsftpd.conf 修改下面的配置,修改前: #chroot_local_user=YES #chroot_list_enable=YES #chroot_list_file=/etc/vsftpd/chroot_list 修改后: #chroot_loc
(一) 安装环境 VMware® Workstation 12 Pro,安装到物理机的话还需要做个U盘启动盘 (二) 下载 https://www.centos.org/download/
下载CentOS-7 地址:http://mirrors.tuna.tsinghua.edu.cn/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal
1、安装bind服务(DNS服务器) >yum -y install bind* 2、查看所有服务,设置开机运行named服务 //查看所有服务 >systemctl li
这里简单的说一下它:一般公司里做项目很少用互联网上的,代码仓库,也不开源,但要协作开发这样GitLab这样的软件就出来了,具体就自己去查吧.
实际上是yum 安装的最新版kernel-devel 和本机kernel版本不一致而已。 升级一下kernel:
最近在学习 Jenkins,需要使用到 gitlab,所以记录下gitlab安装过程。
1、安装svn: >yum -y install subversion //svn默认安装目录:/bin/svnserve 2、查看svn版本 >svnserve --ver
一、修改配置文件 vim /etc/sysconfig/network-scripts/ifcfg-ens33 将 ONBOOT=no 修改为 ONBOOT=yes 修改完后按Esc,输入命令:wq,回车! 二、重启网络服务 systemctl restart network.service 三、测试网络 ping www.sindsun.com 四、成功 版权声明: 此文为本站源创文章[或由本站编辑从网络整理改编],
下载地址 https://dev.mysql.com/downloads/mysql/5.7.html#downloads
一、配置静态IP >vim /etc/sysconfig/network-scripts/ifcfg-ens33 将 BOOTPROTO=dhcp 改为 BOOTPROTO=stat
status base/7/x86_64 CentOS 12973 extras/7/x86_64 CentOS 371 updates/7/x86_64 CentOS 10019 extras/7/x86_64 CentOS 371 updates/7/x86_64 CentOS
0enabled=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo [centos-sclo-sclo-testing]name=CentOS =0enabled=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo [centos-sclo-sclo-source]name=CentOS 1enabled=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo [centos-sclo-sclo-debuginfo]name=CentOS Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more# information [centos-sclo-rh]name=CentOS 1enabled=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo [centos-sclo-rh-debuginfo]name=CentOS
base/7/x86_64 CentOS-7 - Base - mirrors.aliyun.com enabled: 10,072epel/x86_64 extras/7/x86_64 CentOS-7 - Extras - mirrors.aliyun.com enabled: 515! updates/7/x86_64 CentOS-7 - Updates - mirrors.aliyun.com enabled: 5,0534. 6.5 MB/s | 17 MB 00:02 CentOS disabledextras CentOS
对于仓库部分 将/etc/yum.repos.d/目录下的CentOS-Base.repo全部修改为以下内容 vi /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS /$basearch/ gpgcheck=1 gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 [updates] name=CentOS updates/$basearch/ gpgcheck=1 gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 [extras] name=CentOS
. # cat centos-7.tar | docker import - kongxx/centos-7 1 2 3 4 5 6 查看镜像 $ sudo docker images REPOSITORY TAG IMAGE ID CREATED SIZE kongxx/centos-7 8c8f006aac6b About a minute ago 167 MB ... 1 2 3 4 运行容器 $ sudo docker run -i -t kongxx/centos
介绍 欢迎来到 CentOS-7 的首个发行版本。CentOS 是一个企业级的 Linux 发行版本,它源于 Red Hat1免费公开的源代码。 从 CentOS-6 到 CentOS-7 首次提供了获支持的升级路径。此路径只支持从最新版的 CentOS-6(至截稿时是 6.5)升级至最新版的 CentOS-7。 降级功能 没有,因为这是 CentOS-7 的首个发行版本 7. 已知问题 上游的已知问题清单已收录在此处。 见CentOS-7 常见问题集 #2. 安装程序需要最少 406MB 内存才能运行。在拥有少于 406MB 的系统上,安装程序会异常终止。C7 的最低内存要求是 512MB。 源代码 所有 CentOS-7 的源代码均收录在 git.centos.org。
. # # [base] name=CentOS-7 - Base - 163.com #mirrorlist=http://mirrorlist.centos.org/? gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7 #released updates [updates] name=CentOS mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7 #additional packages that may be useful [extras] name=CentOS com disabled extras/x86_64 CentOS enabled: 448 updates/x86_64 CentOS
mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com repo id repo name status base/7/x86_64 CentOS mirrors.aliyun.com 9,363 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,135 extras/7/x86_64 CentOS Newton Repository 1,675 openstack-newton/7/x86_64 OpenStack Newton Repository 1,486 updates/7/x86_64 CentOS
repo id repo name status base/7/x86_64 CentOS epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,912 extras/7/x86_64 CentOS -7 - Extras 371 updates/7/x86_64 CentOS-7 - Updates