文章列表
虚拟机
192.168.64.170
root hadoop
关闭防火墙
systemctl stop firewalld.service
---------------------------安装jdk---------------------------
cd /home
mkdir software
cd /home/software
tar -xvf jdk-8u181-linux-x64.tar.gz
配置环境变量
vim /etc/profile
#set java env
JAVA_HOME=/home/software/jdk1.8.0_181
PATH=$JAVA_HO ...
虚拟机
192.168.64.215
安装jdk
cd /home
mkdir software
cd /home/software
tar -xvf jdk-8u181-linux-x64.tar.gz
配置环境变量
vim /etc/profile
#set java env
JAVA_HOME=/home/software/jdk1.8.0_181
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME PATH CLASSPATH
...
dsCentOS-empty虚拟机
用户名:root
密码:root
ip:192.168.176.137
查看本机linux虚拟机ip地址
ifconfig
192.168.176.131
//安装jdk
cd /home
mkdir software
cd /home/software
tar -xvf jdk-8u161-linux-x64.tar.gz
//配置环境变量
vim /etc/profile
#set java env
JAVA_HOME=/home/software/jdk1.8.0_161
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=. ...
- 2018-04-23 21:18
- 浏览 694
- 评论(0)
dsCentOS-empty虚拟机为桥接网络模式
用户名 root
密码 root
ifconfig 查看本机ip 192.168.5.129
关闭防火墙端口
service iptables stop
//启动mysql服务
service mysql start
使用有密码的命令进入mysql
mysql -uroot -proot
//导入库
source /home/software/mysql/crm.sql;
//删除webapps下所有文件
cd /home/software/tomcat7/webapps
rm -rf /home/software/tomcat7/w ...
package md5;
import java.io.IOException;
import java.security.MessageDigest;
class MD5State {
int state[];
int count[];
byte buffer[];
public MD5State() {
buffer = new byte[64];
count = new int[2];
state = new int[4];
state[0] = 0x67452301;
state[1] = 0xefcdab89;
state[2] = 0x98ba ...