A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

本帖最后由 谷粒姐姐 于 2018-4-19 11:04 编辑

8 配置 PL/SQL Developer 远程连接 Linux Oracle  
sqlplus 如何连接远程 oracle  
图片28.png
PLSQL Developer 如何连接远程 oracle  
图片29.png
创建 bos 和 crm 账户  
-- Create the user create user bos   identified by bos; -- Grant/Revoke role privileges grant connect to bos; grant resource to bos;
-- Create the user create user crm   identified by crm; -- Grant/Revoke role privileges grant connect to crm; grant resource to crm;
启动 tomcat 运行项目 自动建表  
图片30.png
创建 admin 账户   
在数据库导入 第九章 t_menu.sql 、t_user_role_permission.sql  


                 Redis  
安装 gcc  
yum install -y gcc g++ gcc-c++ make  
2、 解压 redis  
tar zxvf redis-3.0.0.tar.gz  cd redis-3.0.0  
3、 执行 make 编译命令  
make MALLOC=libc  
4、 启动关闭 redis  启动  src/redis-server &   (添加 &执行后台启动 )
图片31.png
关闭  src/redis-cli shutdown  
5、 查看 redis 是否启动  
ps -ef |grep redis  查看进程  
   客户端连接
图片32.png
                 ActiveMQ  
解压 activeMQ  
tar -zxvf apache-activemq-5.14.0-bin.tar.gz  
2、 复制目录到/usr
mv apache-activemq-5.14.0 /usr
3、 创建链接  
图片33.png
4、 启动服务  
图片34.png
5、 查看是否启动  
         netstat -an | grep 61616           ps -ef|grep activemq
访问: http://192.168.56.101:8161/admin 用户名密码 admin/admin  
图片35.png
                 ElasticSearch  
解压缩 elasticsearch  
tar -zxvf elasticsearch-2.4.0.tar.gz   
2、 移动目录  
mv elasticsearch-2.4.0/ /usr/
3、 创建链接  
ln -s elasticsearch-2.4.0 elasticsearch mv elasticsearch-2.4.0 elasticsearch
4、 启动服务 /usr/elasticsearch/bin/elasticsearch -d (-d 参数后台启动 )
错误 :无法用 root 账户启动  
图片36.png
解决: -Des.insecure.allow.root=true  
图片37.png
5、 访问页面端口 9200  服务程序调用端口 9300  
http://192.168.56.101:9200/  无法访问  
默认只能 localhost 访问,如果外网访问,需要开启权限  config/elasticsearch.yml  
图片38.png
6、 安装 es head 插件  
进入 bin 目录 ./plugin install mobz/elasticsearch-head

重启 linux 服务器  shutdown -r now  重启 linux 后,关闭防火墙  service iptables stop  启动 elasticsearch  
图片39.png

图片40.png

7、 安装 IK 分词器  
解压缩 unzip elasticsearch-analysis-ik-2.x.zip  
l 进入 ik 分词器 target/release 目录 拷贝文件到 %es%/plugins/analysis-ik
    `cp -r ./ /usr/elasticsearch/plugins/analysis-ik/`
file:///C:\Users\user\AppData\Local\Temp\ksohtml\wpsDFD9.tmp.png
l 进入 target/release/config 目录将所有配置文件,复制 %es%/config 下
    `cp -r ./ /usr/elasticsearch/config/  
图片41.png
l 配置 elasticsearch.yml
   加入 index.analysis.analyzer.ik.type: "ik"
图片42.png
重启 elasticsearch 服务器  
图片43.png
图片44.png
bos项目笔记之chapter08_系统分析、环境搭建(5)
bos项目笔记之chapter09_系统分析、环境搭建(8)
bos项目笔记之chapter10_系统分析、环境搭建(1)

1 个回复

倒序浏览
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 加入黑马