标签:port ssi down linu path centos6 bsp plain network
1、本机centos6.7执行java -version提示bash: commond……
应该未安装jdk
官网下载jdk,下载rpm包:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2、在/usr下新建java 权限不够
su root
mkdir java
chmod 755 java
3、将下载好的rpm包移到java下
mv jdk-8u131-linux-i586.rpm /usr/java
4、/usr/java目录下安装
rpm -ivh jdk-8u121-linux-i586.rpm
5、java -version,提示如下,安装成功
6、配置环境变量
vim /etc/profile
shift+g到文件最后
JAVA_HOME=/java/jdk1.8.0_131
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PATH
export CLASSPATH
7、执行命令使profile生效
. /etc/profile .相当于source
8、建立软连接,连接新的java目录
ln -s /usr/java/jdk1.8.0_131/bin/java /usr/bin/java
pycharm配置
1、官网https:
//www
.jetbrains.com
/pycharm/download/download-thanks
.html?platform=linux下载pycharm
2、解压
tar -zx -f pycharm-professional-2017.1.4.tar.gz
3、启动pycharm
cd /bin
sh pycharm.sh
pycharm2017.1.4注册码,在server中输入http://elporfirio.com:1017/
标签:port ssi down linu path centos6 bsp plain network
原文地址:http://www.cnblogs.com/zzzidea/p/7107410.html