准备篇 一、配置防火墙,开启80端口、3306端口 vi /etc/sysconfig/iptables#编辑防火墙配置文件 # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWA...
服务器:腾讯云主机(Centos 7.1) 项目:aspnetcore+angular2开源项目模版 该项目使用webpack 打包Angular2, 内网涉及到npm请使用tnpm 环境安装 1.安装dotnetcore 根据官方指导进行安装; 官网给出的安装引导是安装dotnet core 1.1 ,但是我们项目使用的dotnetcor...
环境说明: 系统环境: 系统: CentOS Linux release 7.2.1511 (Core) GCC版本: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) LNMP环境: Nginx版本: 1.10.2 PHP版本: PHP 7.1.0 (cli) MySQL版本: 5.7.16 php7安装路径: /usr/local/php7/ 安装扩展之前...
一、安装软件 [root@dns-server named]# yum install bind -y[root@dns-server named]# /etc/init.d/named startStarting named: [ OK ][root@dns-server named]# 二、配置name参数 [root@dns-server named]# cat /etc/named.conf //// named.conf//// Provi...
一.安装Scala Scala程序运行在java虚拟机(JVM)上,所以安装Scala之前需要先在linux系统中安装Java。由于之前已经安装了,没安装的可以到我的文章http://blog.csdn.net/xqclll/article/details/53466713去查看。 到Scala的官网上去下载相应操作系统的scala...
删除默认的源,国外的比较慢 yumcleanall rm-rf/etc/yum.repos.d/*.repo 下载阿里云的base源 wget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-7.repo 下载阿里云的epel源 wget-O/etc/yum.repos.d/epel.repohttp://mirrors.al...
本文使用docker来部署ceph, 基于CentOS 7 x64. 首先要安装docker, CentOS 7源已经包含了docker, 所以可以直接使用yum安装. # yum install -y docker 配置docker 运行时的root目录(-g 参数). [root@localhost ~]# lvs LV VG Attr LSize Pool Origin Data% Mov...
Add User to sudoersFile Filed under:Linux,ubuntu Tags:sudo,sudoers file Benaiah @ 10:17 am To give a user the ability to use the sudo command you must add them to the sudoers file. Heres how. Thanks to ubuntucat (see comment below) for the...
Introduction When you first start using a fresh Linux server, adding and removing users is one of the most basic tasks that you should know how to do. When you create a new server, you are only given therootaccount by default. While this g...
前几天在QQ群里,有一个朋友问到关于Linux中如何无损调整磁盘分区大小的问题,针对这个问题我在实际使用的过程中也曾探索过,所以比较关注如何无损的调整磁盘分区大小,而不丢失数据!在Windows中,我采用过BootStar的软件,通过该软件记录下硬盘分区的ID,就...