
Linux
drift_away
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Liunx解压缩命令参数详解
一、Linux常用的压缩及解压缩命令如表2-5所示。常用命令简要中文说明程序所在目录gzip压缩成文件名为 .gz 的压缩文件(也可用 –d 选项变成解压)/bingunzip将 .gz 压缩文件解压(可用 gzip 加 –d 参数代替)/bin转载 2012-04-11 15:04:08 · 1572 阅读 · 0 评论 -
XX is not in the sudoers file 问题解决【转载】
原帖地址:http://blog.sina.com.cn/s/blog_4ef045ab0100j59t.html 我用的是redhat5.4,在一般用户下执行sudo命令提示llhtiger is not in the sudoers file. This incident will be reported.解决方法:一、$whereis sudoers -------找出文件原创 2012-08-28 10:36:35 · 1131 阅读 · 0 评论 -
Linux添加/删除用户和用户组(转载)
在使用linux时,经常会出现好多原先加的帐户未删除的情况,给系统运行带来隐患,因此一定要彻底删除。进入root用户,输入 cd /etc在这个目录下输入 cat passwd会出现很多用户,绝大部分是系统用户,是不能删的,一般最下面的是用户自己原先添加的帐户。这些帐户已经用 userdel 用户名这个命令删过,但是仍存在关联文件。所以原创 2012-08-28 10:41:37 · 23344 阅读 · 1 评论 -
Linux 下安装postgres 安装教程
用到的几个rpm安装文件1:postgresql-libs-8.4.13-1.el6_3.x86_64.rpm2:postgresql-8.4.13-1.el6_3.x86_64.rpm3:postgresql-server-8.4.13-1.el6_3.x86_64.rpm4:uuid-1.6.1-10.el6.x86_64.rpm5:postgresql-contrib-8原创 2014-03-06 12:35:00 · 8334 阅读 · 1 评论 -
解决Jenkins执行shell脚本时出现“sudo: no tty present and no askpass program specified”的错误
今天使用jenkins job执行调用脚本执行CD task时,出现了“sudo: no tty present and no askpass program specified”的问题,网上找了很多,但大多都没有解决我的问题。问题描述:写好shell脚本后,直接在宿主机直接使用"sudo ./product_env.sh"时,脚本可以正常执行,但是在jenkins服务器上,远程调用此机器...原创 2018-10-09 16:16:32 · 6079 阅读 · 0 评论 -
CentOS 7.4 安装JDK
以安装1.8版本为例,分别以两种方式为例安装首先我们先查看是否安装了JDK[root@zero data]# java -version-bash: java: command not found如果已经安装,可以使用下面的命令卸载,然后安装自己想要的版本# list the installed java versionyum list installed | grep j...原创 2018-11-04 16:26:50 · 224 阅读 · 0 评论 -
CentOS 7 安装 Zookeeper
CentOS版本:7.4zookeeper版本:3.4.13zookeeper主要有单机、伪集群、集群三种部署方式下载zookeeper:http://archive.apache.org/dist/zookeeper/我们可以通过以上链接下载tar包然后上传到CentOS中,也可以直接在linux系统使用如下命令下载: wget http://archive.apach...原创 2018-11-04 18:11:06 · 166 阅读 · 0 评论 -
CentOS7 yum及源码安装nginx
nginx version:nginx-1.14.0CentOS version:7.4一,安装所需环境1,gcc安装nginx是C语言开发,安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果没有 gcc 环境,则需要安装。yum install gcc-c++2,PCRE,pcre-devel安装PCRE(Perl Compatible ...原创 2018-11-05 17:09:42 · 193 阅读 · 0 评论