
centOS7
lzq123_1
这个作者很懒,什么都没留下…
展开
-
Linux节点之间互相拷贝文件或目录报错
[root@node4 lzq]# scp * master:/home/work/software/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@原创 2014-10-24 09:37:58 · 1993 阅读 · 0 评论 -
Linux 安装 mysql5.7.7-64位
1 创建mysql用户和用户组,并下载MySQL5.7.7版本#######新建mysql用户和mysql组[root@typecodes ~]# groupadd -r mysql && useradd -r -g mysql -s /bin/false -M mysql [root@typecodes ~]# wget -c http://git.typecodes.com/lib原创 2015-12-07 14:54:30 · 1229 阅读 · 0 评论 -
Linux 命令 返回值
Linux 命令行,执行程序后的返回值在 Linux 下,不管你是启动一个桌面程序也好,还是在控制台下运行命令,所有的程序在结束时,都会返回一个数字值,这个值叫做返回值,或者称为错误号 ( Error Number )。$ ls *.pngDiagram1.png eqn.png peazip.pngeqn4.png转载 2015-12-02 12:06:23 · 1219 阅读 · 0 评论 -
CentOS6.5,7.0编译安装Nginx1.6.0+MySQL5.6.19+PHP5.5.14
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动2、安装i转载 2015-06-04 11:20:57 · 938 阅读 · 0 评论 -
mysql配置目录错误:在安装mysql 5.6.19 时执行cmake命令是出现CMake Error: The source directory does not appear to contai
在安装mysql 5.5.xx 时执行cmake命令是出现CMake Error: The source directory does not appear to contain CMakeLists.txt.的错误,刚开始以为是cmake版本有问题,到最后才发现是当前目录错了。在执行cmake时没有切换到mysql的源码目录导致了这个错误,切换到mysql的源码目录重新执行cmake命令原创 2015-06-02 16:52:58 · 24551 阅读 · 0 评论 -
centOS6.3自启动nginx,php,hadoop
蓝色部分为文件的内容,橙色部分为新加的启动项目[root@master bin]# cat /etc/rc.d/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in her原创 2014-11-21 17:16:03 · 1076 阅读 · 0 评论 -
shell变量一些技巧
假设我们定义了一个变量为:file=/dir1/dir2/dir3/my.file.txt可以用${ }分别替换得到不同的值:${file#*/}:删掉第一个 / 及其左边的字符串:dir1/dir2/dir3/my.file.txt${file##*/}:删掉最后一个 / 及其左边的字符串:my.file.txt${file#*.}:删掉第一个 . 及其左边的字符串:原创 2014-10-31 16:31:08 · 796 阅读 · 0 评论 -
centOS7问题,因此发布最新版centOS6.6
虽然 RHEL/CentOS 7 已经发布一段时间了,但是 6 系列仍然在继续更新和维护。昨日,该系列跟随其上游版本,2014年10月28日CentOS官网发布了其最新更新版本 CentOS 6.6。由于 RHEL/CentOS 7 带来了很多大幅变化,包括 systemd 之类,其是非功过不好评价,将来的是非功过也需要时间来证明,但是,目前使用 RHEL/CentOS 6 的生产环境迁移到原创 2014-10-31 16:12:50 · 2692 阅读 · 0 评论 -
php通过shell调用Hadoop的方法
1.php代码(index.php) body{background-color:red} --> --> --><?phpheader('Content-type: text/html; charset=UTF8');#phpinfo();$jiaoben = $_GET['jiaoben'];echo "执行Hadoop的log信息:";$ret= syst原创 2014-10-28 16:44:40 · 2469 阅读 · 0 评论 -
centOS7 cmake安装
1. http://www.cmake.org/cmake/resources/software.html原创 2014-09-30 15:57:05 · 2115 阅读 · 0 评论 -
关于 windows和Linux互传文件的问题
1. windows下载下来的,2进制安装包*.tar.gz文件原创 2014-09-30 17:14:10 · 680 阅读 · 0 评论 -
64位centOS6.3部署mysql-5.6.19+nginx1.6.0+php5.5.14
1.系统约定软件源代码包存放位置:/usr/local/src源码包编译安装位置:/usr/local/软件名字2.安装编译工具及库文件(使用yum命令安装)yum install -y apr* autoconf automake bison bzip2 bzip2* cloog-ppl compat* cpp curl curl-devel fo原创 2014-10-24 11:10:03 · 1421 阅读 · 0 评论 -
64位centOS6.3安装yum时系统报错,centOS6.3到centOS7原理相同办法解决
使用yum命令时,系统提示:Loaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/run/yum.pid: another copy is running as pid 11824.Another app is currently holding the yum lock; waiti原创 2014-10-24 09:43:25 · 2063 阅读 · 0 评论 -
centOS7.2.1511 bit64位 浏览器不能上网
当时安装的Linux版本信息:[root@localhost lzq]# lsb_release -aLSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-原创 2016-04-29 10:05:10 · 1287 阅读 · 0 评论