摘要: alter user scott account unlock; 阅读全文
posted @ 2016-04-23 00:29 薛定谔的青蛙王梓 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1. 下载相关软件 apache-maven-3.3.1-bin.tar.gz protobuf-2.5.0.tar.gz hadoop-2.6.4-src.tar.gz 2.配置好jdk8环境(请看相关文章) 3. 在centos7安装相关的依赖包 4.安装maven 配置maven 输入以下内容 阅读全文
posted @ 2016-03-30 14:38 薛定谔的青蛙王梓 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 教程 http://www.tutorialspoint.com/index.htm 阅读全文
posted @ 2016-03-30 10:27 薛定谔的青蛙王梓 阅读(131) 评论(0) 推荐(0) 编辑
摘要: NAME pvresize - resize a disk or partition in use by LVM2 SYNOPSIS pvresize [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--setphysicalvolumesi 阅读全文
posted @ 2016-03-30 10:19 薛定谔的青蛙王梓 阅读(1383) 评论(0) 推荐(0) 编辑
摘要: 基本格式 :* * * * * command分 时 日 月 周 命令 第1列表示分钟1~59 每分钟用*或者 */1表示第2列表示小时1~23(0表示0点)第3列表示日期1~31第4列表示月份1~12第5列标识号星期0~6(0表示星期天)第6列要运行的命令 crontab文件的一些例子: 30 2 阅读全文
posted @ 2016-03-30 09:08 薛定谔的青蛙王梓 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1. 检查已经安装的jdk 可能的结果如下: 2. 移除已经安装的open-jdk及依赖的程序 此时所有的open-jdk和其它对open-jdk有依赖的软件都会被移除 3.到oracle下载jdk8, 如我下载的是jdk-8u65-linux-x64.rpm 在对应目录下执行安装命令: 程序默认安 阅读全文
posted @ 2016-03-28 12:03 薛定谔的青蛙王梓 阅读(3149) 评论(0) 推荐(0) 编辑
摘要: Disable SELinux CentOS 7 This blog covers the basic steps to disable SELinux on CentOS 7 first we need to see how SELinux is configured, issue the ses 阅读全文
posted @ 2016-03-28 11:33 薛定谔的青蛙王梓 阅读(380) 评论(0) 推荐(0) 编辑
摘要: The system localeare used to control the language setting of system services and the UI before the user logs in. How Do I change the default system lo 阅读全文
posted @ 2016-03-28 11:23 薛定谔的青蛙王梓 阅读(1082) 评论(0) 推荐(0) 编辑
摘要: 我们一般使用“date -s”命令来修改系统时间。比如将系统时间设定成2005年7月26日的命令如下。 #date -s 07/26/2005 将系统时间设定成下午11点12分0秒的命令如下。 #date -s 11:12:00 注意,这里说的是系统时间,是linux由操作系统维护的。 在系统启动时 阅读全文
posted @ 2016-03-24 08:37 薛定谔的青蛙王梓 阅读(6369) 评论(0) 推荐(0) 编辑
摘要: eclipse下新建maven工程,生成runnable的jar包。之前一直是手动拷贝依赖的jar包和资源文件,烦得要死。上网可劲查了一下。解决方案如下。 在pom的配置文件中做如下配置: <plugin> <groupId>org.apache.maven.plugins</groupId> <a 阅读全文
posted @ 2016-03-05 11:50 薛定谔的青蛙王梓 阅读(1655) 评论(0) 推荐(0) 编辑