less 工具也是对文件或其它输出进行分页显示的工具,应该说是linux正统查看文件内容的工具,功能极其强大。less 的用法比起 more 更加的有弹性。在 more 的时候,我们并没有办法向前面翻, 只能往后面看,但若使用了 less 时,就可以使用 [pageup] [pagedown] 等按 ...
分类:
系统相关 时间:
2016-11-02 17:31:28
阅读次数:
328
准备搭建网关的服务器环境介绍: OS:Centos7.1 网络:一块网卡,能够上网(能够连接到更外层网络),IP为192.168.7.54 内存、CPU随意 以下命令的作用依次是: 开启ip_forward功能; 将ip_ forward功能加入系统参数,以备重启之后仍然起作用; 转发192.168 ...
分类:
其他好文 时间:
2016-11-02 09:57:11
阅读次数:
285
Given an array of numbers, verify whether it is the correct preorder traversal sequence of a binary search tree. You may assume each number in the seq ...
分类:
其他好文 时间:
2016-11-02 07:52:48
阅读次数:
236
在使用Git之前,必须安装它,并做一些基本配置的变化。下面是步骤在Ubuntu和CentOS Linux安装 Git 客户端。 Git客户端安装 如果使用的是GNU/ Linux 发行版Debian基本apt-get命令就可以搞定一切。 [ubuntu ~]$ sudo apt-get instal ...
分类:
其他好文 时间:
2016-11-02 01:01:48
阅读次数:
285
#配置步骤 1.首先下载解压。 (此处我解压到了我电脑的“E:\software\MySql”这个位置,下文以这个目录举例); 2.我的电脑右键属性,找到环境变量配置,配置环境变量,将mysql.exe所在目录(一般为解压目录后的bin目录,此处我的目录为E:\software\MySql\bin) ...
分类:
数据库 时间:
2016-11-02 00:21:37
阅读次数:
202
在Linux上安装mysql数据库,我们可以去其官网上下载mysql数据库的rpm包,http://dev.mysql.com/downloads/mysql/5.6.html#downloads,大家可以根据自己的操作系统去下载对应的数据库文件。 在这里我是通过yum来进行mysql数据库的安装的 ...
分类:
数据库 时间:
2016-11-01 23:53:36
阅读次数:
229
Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution sti ...
分类:
编程语言 时间:
2016-11-01 23:51:52
阅读次数:
272
mysql_install_db datadir=/var/lib/mysqlALTER USER ‘root‘@‘localhost’ identified by '123456'show databases; //查看mysql-server有那些数据库create user 'aa01'@'1 ...
分类:
数据库 时间:
2016-11-01 23:48:31
阅读次数:
231
前言:公司要求搭建一台SVN代码版本管理服务器,用于管理所有代码资产; 项目架构图 1、环境安装 [root@host_centos ~]#yum –y install subversion mod_dav_svn [root@host_centos ~]#cat /etc/services |gr ...
分类:
其他好文 时间:
2016-11-01 21:18:10
阅读次数:
223
一、下载相关软件 1.python http://python.org/getit/ 2.setuptools http://pypi.python.org/pypi/setuptools 3.pip https://pypi.python.org/pypi/pip 二、安装与验证 1.安装pyth ...
分类:
编程语言 时间:
2016-11-01 19:04:41
阅读次数:
335