安装必须包
系统安装包 |
oracle安装包 |
redis安装与自启动配置
make MALLOC=libc make install cd utils ./install_server.sh |
nginx安装与自启动配置步骤
./configure make make install cd /lib/systemd/system/ vim nginx.service |
[Unit] Description=nginx service After=network.target
[Service] Type=forking ExecStart=/usr/local/nginx/sbin/nginx ExecReload=/usr/local/nginx/sbin/nginx -s reload ExecStop=/usr/local/nginx/sbin/nginx -s quit PrivateTmp=true
[Install] WantedBy=multi-user.target |
systemctl enable nginx |
activemq安装与自启动配置
vi /etc/init.d/activemq |
#!/bin/sh # # /etc/init.d/activemq # chkconfig: 2345 63 37 # description: activemq servlet container. # processname: activemq 5.15.12
# Source function library. #. /etc/init.d/functions # source networking configuration. #. /etc/sysconfig/network
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto export ACTIVEMQ_HOME=/software/activemq
case $1 in start) sh $ACTIVEMQ_HOME/bin/activemq start ;; stop) sh $ACTIVEMQ_HOME/bin/activemq stop ;; restart) sh $ACTIVEMQ_HOME/bin/activemq stop sleep 1 sh $ACTIVEMQ_HOME/bin/activemq start ;;
esac exit 0 |
chmod +x /etc/init.d/activemq chkconfig activemq on chkconfig --list |
在Centos安装Oracle客户端数据库
vi /etc/oraInst.loc inventory_loc=/u01/app/oraInventory inst_group=oinstall |
groupadd oinstall groupadd dba useradd -g oinstall -G dba oracle passwd oracle mkdir -p /u01/app/ chown -R oracle:oinstall /u01/app/ chmod -R 775 /u01/app/ proc su - oracle |
导入时少表Oracle 11g EXP导出,再IMP导入时,发现导入后,出现少表,有一些数据为空的表结构没有被导入,原因是于导出时,这些空表没有被导出。Oracle 11g EXP导出,再IMP导入时,发现导入后,出现少表,有一些数据为空的表结构没有被导入,原因是于导出时,这些空表没有被导出。解决办法:执行sql 语句
alter system set deferred_segment_creation=false scope=both |
本文为张军原创文章,转载无需和我联系,但请注明来自张军的军军小站,个人博客http://www.zhangjunbk.com