欢迎光临IT网Linux学习频道

当前位置: > CentOS > CentOS教程 >
  • [CentOS教程] CentOS 与 Ubuntu:哪个更适合做服务器? 日期:2017-01-24 02:34:49 点击:169 好评:0

    已经决定买一台虚拟服务器,但还不能决定使用哪个 Linux 发行版?我们都经历过这种困扰。对于 Linux 发行版来说,要在这么多的发行版和种种 支派 flavors 中选择一个,那简直能让人崩溃。不过,对于服务器而言,有两个主流的 Linux 发行版,那就是 CentOS 和...

  • [CentOS教程] centos7安装nginx的两种方法 日期:2017-01-22 13:59:16 点击:119 好评:0

    centos7安装nginx 第一种方式:通过yum安装 直接通过 yum install nginx 肯定是不行的,因为yum没有nginx,所以首先把 nginx 的源加入 yum 中。 运行下面的命令: 1.将nginx放到yum repro库中[root@localhost ~]# rpm -ivh http://nginx.org/packages/centos/7...

  • [CentOS教程] centos7安装redis3.2.5集群 日期:2017-01-22 13:58:22 点击:74 好评:0

    centos7安装redis3.2.5集群 本文是在虚拟机centos7系统上安装redis3.2.5集群 redis集群简介 redis集群在启动的时候就自动在多个节点间分好片。同时提供了分片之间的可用性:当一部分redis节点故障或网络中断,集群也能继续工作。但是,当大面积的节点故障或...

  • [CentOS教程] CentOS卸载系统的OpenJDK 日期:2017-01-22 13:56:20 点击:188 好评:0

    安装好的CentOS会自带OpenJdk,用命令Java-version ,会有下面的信息: java version 1.6.0 OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode) 最好还是先卸载掉openjdk,在安装sun公司的jdk. 先查看 rp...

  • [CentOS教程] centos7编译安装samba共享服务 日期:2017-01-17 20:51:53 点击:170 好评:0

    1、系统和软件版本 [root@localhost~]#cat/etc/redhat-releaseCentOSLinuxrelease7.2.1511(Core)[root@localhost~]#lssamba-4.5.2samba-4.5.2.tar.gz 2、安装gcc编译器及samba依赖包 [root@localhost~]#yum-yinstallgccperlpython-develgnutls-devellibacl-d...

  • [CentOS教程] CentOS7搭建SAMBA服务器实现与WIN10匿名共享文件 日期:2017-01-17 20:51:23 点击:68 好评:0

    1、安装SAMBA yum -y install samba samba-client samba-common 2、修改文件打开数 vi /etc/security/ limits.conf最后添加 * soft nofile 65535 * hard nofile 65535(需重启机器) 3、配置SAMBA cp /etc/samba/smb.conf /etc/samba/ smb.conf.bak #备份 vi...

  • [CentOS教程] centos7 Samba配置 linux 和windows 互相共享访问 日期:2017-01-17 20:50:42 点击:61 好评:0

    samba主要用于共享给windows,NFS主要用于linux之间(个人观点) Samba需要的软件: samba:主要提供了SMB服务所需的各种服务程序(smbd,nmbd)的文件档。 samba-client:提供了Linux作为Samba客户端时,所需的工作指令。 Samba-common:提供的是服务端和客...

  • [CentOS教程] centos 7 安装音频视频解码器 日期:2017-01-16 23:16:03 点击:163 好评:0

    centos 7 安装音频视频解码器 1、安装额外的软件源epel和nux-dextop rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm rpm -Uvh http://ftp.sjtu.edu.cn/fedora/epel//RPM-GPG-KEY-EPEL-7 2、安装所需的...

  • [CentOS教程] Centos7 安装MPlayer过程详解 日期:2017-01-16 22:55:34 点击:135 好评:0

    使用自带的totem基本上都无法播放视频,各种格式都不支持,令人无语。想到了MPlayer,为了看片,决定编译安装,过程真的是折腾。如图是自带的Totem播放提示,安装了解码还是无法播放,反正要找其他播放器了,也没兴趣去管他是什么原因。 需要用到的东西在MPla...

  • [CentOS教程] centos7安装ffmpeg教程 日期:2017-01-16 22:55:05 点击:64 好评:0

    安装EPEL Release,因为安装需要使用其他的repo源,所以需要EPEL支持: yum install -y epel-release #如果出现缺少Code提示,可以: sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 #安装完成之后,可以查看是否安装成功 yum repolist 安装Nux-Dexto...

  • [CentOS教程] Linux GDB 程序调试工具使用详解 日期:2017-01-16 21:39:53 点击:175 好评:0

    GDB概述 GDB是GNU开源组织发布的一个强大的UNIX下的程序调试工具。或许,各位比较喜欢那种图形界面方式的,像VC、BCB等IDE的调试,但如果你是在UNIX平台下做软件,你会发现GDB这个调试工具有比VC、BCB的图形化调试器更强大的功能。所谓寸有所长,尺有所短就...

  • [CentOS教程] centos7.2安装dcos 日期:2017-01-15 14:18:19 点击:108 好评:0

    1. 前言 对于容器编排系统,前段时间主要研究kubernetes,现在实验室要用dcos,所以在实验室集群上搭建了该系统,dcos版本为1.8.6。 使用的系统为centos7.2,机器使用情况如下表所示,实验室集群没有联外网。 机器ip 作用 10.107.18.35 单独一台boot节点 10....

  • [CentOS教程] centos7中安装rabbitmq 日期:2017-01-15 14:05:57 点击:52 好评:0

    由于rabbitmq是erlang语言编写的,所以首先需要在centos中安装erlang,参考:http://fedoraproject.org/wiki/EPEL/FAQ#howtouse。 rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpmyum install erlang 然后在安...

  • [CentOS教程] CentOS 6.6使用 luci/ricci 安装配置 RHCS 集群 日期:2017-01-09 21:41:28 点击:70 好评:0

    1.配置RHCS集群的前提: 时间同步 名称解析,这里使用修改/etc/hosts文件 配置好yum源,CentOS 6的默认的就行 关闭防火墙(或者开放集群所需通信端口),和selinux, 关闭NetworkManager服务 2. RHCS所需要的主要软件包为cman和rgmanager cman:是集群基础信...

  • [CentOS教程] Centos7.2使用中文man 日期:2017-01-09 21:39:33 点击:173 好评:0

    首先修改系统配置文件/etc/locale.conf(低版本对应文件为/etc/sysconfig/i18n)内容为 LANG=zh_CN.UTF-8 保存退出,重启linux。 点击下载中文man源码包(链接如果失效可以下载附件文件) 把解压出来的manpages-zh-1.5.2.tar.bz2上传到服务器上。 解压: gz...

  • [CentOS教程] centos 7 systemd 与docker的冲突 日期:2017-01-04 00:44:15 点击:61 好评:0

    在centos 7 上安装Docker的时候出现了错误: (也就是这个问题经常是出现在centos 7系统上面,应该是版本的问题和docker上面我们使用centos冲突,就是本地上的不是最新的,而拉下来的)是最新的, 经常出现的cu错误如下显示: Transactioncheckerror:file/usr/l...

  • [CentOS教程] centos上面安装最新版本的git2.11版本 日期:2016-12-31 20:33:49 点击:161 好评:0

    步骤如下: 1、下载编译工具 yum groupinstall Development Tools 2、下载依赖包 yum install zlib-devel perl-ExtUtils-MakeMaker asciidoc xmlto openssl-devel 3、下载 Git 最新版本的源代码 wget http://www.codemonkey.org.uk/projects/git-snapshots/gi...

  • [CentOS教程] CentOS 7安装 NTFS-3G 驱动 日期:2016-12-29 23:13:09 点击:159 好评:0

    NTFS-3G,一个很小但非常有用的 NTFS 驱动,在大部分类 UNIX 发行版上都可用。它对于挂载和访问 Windows NTFS 文件系统很有用。尽管也有其它可用的替代品,比如 Tuxera,但 NTFS-3G 是使用最广泛的。 下面简单介绍下在CentOS 7安装 NTFS-3G 驱动的过程。 # y...

  • [CentOS教程] Installing Axel on CentOS 6 日期:2016-12-28 16:33:01 点击:148 好评:0

    Hello, Is WGET slow for you ? Did you tried increasing TCP Buffer and still not having the results you expect for downloads ? Do you need resume and multi connection functionality ? The solution is Axel In Windows we have many download man...

  • [CentOS教程] CentOS Redmine 安装 日期:2016-12-28 16:22:30 点击:55 好评:0

    版本历史: [V0.9.2.20120102][更新,适用于redmine 1.3.0] [V0.9.1.20111021][初始化安装,基于redmine 1.2.2] 准备工作: 系统基础: 操作系统: CentOS 5.7,更新至 20120102。 由于yum安装的ruby 是 1.8.5版本,但是 redmine 需要的 ruby 版本是 1.8.6...

  • [CentOS教程] CentOS中设置系统级代理 日期:2016-12-28 16:20:48 点击:134 好评:0

    YUM代理设置 编辑/etc/yum.conf,在最后加入 # Proxy proxy=http://username:password@proxy_ip:port/ 也可以使用proxy_username和proxy_password来配置代理的用户名和密码 这样的配置完成后,所有的用户在使用yum时,都会使用代理,可以说是全局代理。 如果...

  • [CentOS教程] centos nginx 环境下 搭建 letsencrypt 日期:2016-12-28 03:20:58 点击:146 好评:0

    wgethttps://dl.eff.org/certbot-auto chmod a+x certbot-auto mv certbot-auto /usr/bin/ 防火墙开启443端口 nginx反向代理的每一个server下,加 location ^~ / . well -known /acme -challenge / { default_type text/plain ; root /usr/share/nginx/html;...

  • [CentOS教程] Centos下替换yum源为阿里云源 日期:2016-12-28 03:17:19 点击:62 好评:0

    阿里云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/CentO...

  • [CentOS教程] centos6.8安装启用EPEL 日期:2016-12-28 03:16:55 点击:184 好评:0

    EPEL(企业版 Linux 附加软件包)是一个由特别兴趣小组创建、维护并管理,针对红帽企业版Linux(RHEL)及其衍生发行版(比如 CentOS、Scientific Linux、Oracle Enterprise Linux)提供高质量附加软件包。EPEL 的软件包通常不会与企业版 Linux 官方源中的软件包...

  • [CentOS教程] centos 6.5 gcc g++ 升级至 4.8+ 日期:2016-12-27 14:53:23 点击:150 好评:0

    wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo # yum install devtoolset-2-gcc-4.8.2 devtoolset-2-gcc-c++-4.8.2 # /opt/rh/devtoolset-2/root/usr/bin/gcc --version yum install devtoolset-2-gcc-...

  • [CentOS教程] centos6 部署c++11 日期:2016-12-27 14:52:36 点击:108 好评:0

    折腾了一个上午,如果用我之前的办法安装不成功的,请尝试此方法 yum install policycoreutils-Python 下载以下四个文件,然后用rpm -ivf安装 http://pan.baidu.com/s/1dEbDg57 之前的链接 http://blog.csdn.NET/hificamera/article/details/49992319 sudo yu...

  • [CentOS教程] centos 安装 protobuf 日期:2016-12-27 14:48:22 点击:129 好评:0

    今天在一台新的服务器(centos)上安装protobuf protobuf在github上的源码:https://github.com/google/protobuf clone地址:https://github.com/google/protobuf.Git 下载后,网上都说让你./configure,实际上现在的版本好像暂时没这个文件,我们需要自己打...

  • [CentOS教程] centos 安装google protobuf 日期:2016-12-27 14:47:42 点击:56 好评:0

    http://abloz.com author:ablozhou date:2012.3.29 环境 cat /etc/redhat-release CentOS release 5.5 (Final) 下载 wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2 tar -jxvf protobuf-2.4.1.tar.bz2 编译安装 [zhouhh@Hadoop48 ~]$ cd...

  • 首页
  • 上一页
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 下一页
  • 末页
  • 942628
栏目列表
推荐内容