码迷,mamicode.com
首页 >  
搜索关键字:etc/profile    ( 1922个结果
maven+jenkins 搭建自动化部署平台
jenkins 自动化部署 1、安装JDK 1.1、上传linux的JDK安装包到opt目录下,并解压 1.2、配置jdk环境变量vim /etc/profile 在尾部添加如下内容,添加完成后执行命令:source /etc/profile # jdk环境变量 export JAVA_HOME=/ ...
分类:其他好文   时间:2019-01-08 15:20:53    阅读次数:199
linux修改配置文件关闭终端失效问题
当前shell环境为 交互式login shell(非图形化界面环境) /etc/profile /etc/bash.bashrc ~/.profile ~/bashrc 当前环境为 交互式非login shell(图形化桌面环境) /etc/bash.bashrc ~/.bashrc ...
分类:系统相关   时间:2019-01-06 13:30:36    阅读次数:236
jenkins shell脚本自动化构建阿里云k8s上应用
#!/bin/bash source /etc/profile cd /mnt/workspace/weifeng-ui-pre/ npm i && npm run build rm -rf /mnt/workspace/weifeng-ui-pre/dockerfile/build cd /mnt... ...
分类:系统相关   时间:2019-01-06 00:32:19    阅读次数:188
CentOS 显示历史执行过的命令以及用户历史命令缓存
1、history命令用于显示历史执行过的命令 执行 history命令能显示出当前用户在本地计算机中执行过的最近 1000 条命令记录。 如果觉得 1000 不够用,还可以自定义/etc/profile 文件中的HISTSIZE 变量值。 在使用 history 命令时,如果使用-c 参数则会清空 ...
分类:其他好文   时间:2019-01-05 22:46:40    阅读次数:404
在centos上安装tomcat
下载tomcat8.5版本的tar.gz版本的。 然后上传到/usr/java里面。解压文件 tar -zxvf apache-tomcat名称 vim /etc/profile 把这这两行复制粘贴 然后 source /etc/profile 然后 /usr/java/apache-tomcat- ...
分类:其他好文   时间:2019-01-04 14:39:14    阅读次数:151
安装hadoop
1.将hadoop包放到opt的software下 hadoop-2.7.2.tar.gz 2.解压hadoop包至opt的module下 tar -zxvf hadoop-2.7.2.tar.gz -C /opt/module/ 3.配置环境变量 vim /etc/profile 4.source ...
分类:其他好文   时间:2019-01-03 16:37:49    阅读次数:167
centOS7安装jdk
在opt下新建两个文件夹:module、software 1.准备jar包 jdk-7u80-linux-x64.tar.gz 2.进行解压 tar -zxvf jdk-7u80-linux-x64.tar.gz -C /opt/module/ 3.配置环境变量 vim /etc/profile 在 ...
分类:其他好文   时间:2019-01-03 16:35:15    阅读次数:170
shell脚本判断
条件判断if格式:if条件;then内容elif条件;then内容else内容ficase格式:case变量引用inPAT1}内容;;PAT2)内容;;....*)内容;;esacshell配置文件读取顺序交互式登录:/etc/profile-->/etc/profile.d/.sh-->~/.bash_profile-->~/.bashrc-->/etc/bashrc非交
分类:系统相关   时间:2019-01-02 22:14:28    阅读次数:236
安装maven
1、下载maven http://maven.apache.org/download.cgi 2、解压maven tar -zxvf apache-maven-3.6.0 3、配置maven环境变量 vi /etc/profile 添加环境变量 export MAVEN_HOME=/usr/loca ...
分类:其他好文   时间:2019-01-02 21:39:54    阅读次数:146
ubuntu - 安装hive
粗略步骤: 详细参考:https://www.2cto.com/net/201804/735478.html 环境:ubunut jdk hadoop mysql 一、下载hive 二、解压(到指定目录) 三、配置 /etc/profile [环境变量] - 执行: source /etc/prof ...
分类:系统相关   时间:2019-01-01 11:41:57    阅读次数:234
1922条   上一页 1 ... 37 38 39 40 41 ... 193 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!