随笔分类 -  linux日记

该文被密码保护。
posted @ 2016-02-26 10:38 聊聊IT那些事 阅读(4) 评论(0) 推荐(0)
摘要:<mvc:resources mapping="/javascript/**" location="/static_resources/javascript/"/> <mvc:resources mapping="/styles/**" location="/static_resources/css 阅读全文
posted @ 2016-02-03 17:44 聊聊IT那些事 阅读(470) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-02-01 18:28 聊聊IT那些事 阅读(5) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-02-01 12:52 聊聊IT那些事 阅读(2) 评论(0) 推荐(0)
摘要:1.启动脚本:/home/jboss/jboss-eap-6.2/bin/standalone.sh -Djboss.bind.address.management=192.168.0.62 -Djboss.bind.address=192.168.0.62 1>>/home/jboss/logs/... 阅读全文
posted @ 2016-01-22 22:33 聊聊IT那些事 阅读(348) 评论(0) 推荐(0)
摘要:1.查找java相关得列表 yum -y list java*2.在线安装yum -y install java-1.6.0-openjdk*3.查看安装目录 ls -l /usr/lib/jvm/4. 让系统上的所用户使用java(openjdk) ,则要进行下面的操作:[root@dabu.in... 阅读全文
posted @ 2016-01-22 22:16 聊聊IT那些事 阅读(235) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-01-22 12:35 聊聊IT那些事 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-01-22 12:34 聊聊IT那些事 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-01-19 21:42 聊聊IT那些事 阅读(7) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-01-17 13:53 聊聊IT那些事 阅读(10) 评论(0) 推荐(0)
摘要:1.卸载掉原mysql rpm -qa | grep mysql // 这个命令就会查看该操作系统上是否已经安装了mysql数据库 有的话,我们就通过 rpm -e 命令 或者 rpm -e --nodeps 命令来卸载掉 rpm -e mysql // 普通删除模式 rpm -e xxx.rpm 阅读全文
posted @ 2016-01-16 19:24 聊聊IT那些事 阅读(235) 评论(0) 推荐(0)
摘要:此文包含脚本服务请求,字符串截取,文件读写内容,打印内容换行。#!/bin/bashretMsg="";while read LINEdo echo "this is text: $LINE"; retMsg=`/usr/bin/curl -o test3.log -w %{http_code}"\... 阅读全文
posted @ 2016-01-11 15:05 聊聊IT那些事 阅读(240) 评论(0) 推荐(0)
摘要:配置步骤:1 . vi /etc/init.d/nginx2. chkconfig --level nginx 2345 on --重点--------------------以下为nginx配置文件------------------#! /bin/sh# Default-Start: 2 3 4... 阅读全文
posted @ 2016-01-10 11:22 聊聊IT那些事 阅读(233) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-01-10 11:21 聊聊IT那些事 阅读(5) 评论(0) 推荐(0)
摘要:1.Redhat之所以会出现这个错误是因为没有注册RHN,我们只需要更新一下yum的源就可以了。使用命令cd /etc/yum.repos.d/ 进入yum的配置目录。2.在终端中输入wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo ... 阅读全文
posted @ 2016-01-10 11:20 聊聊IT那些事 阅读(219) 评论(0) 推荐(0)
摘要:SELECT object_name, machine, s.sid, s.serial# FROM gv$locked_object l, dba_objects o, gv$session s WHERE l.object_id = o.object_id AND l.session_id = ... 阅读全文
posted @ 2015-10-10 13:08 聊聊IT那些事 阅读(152) 评论(0) 推荐(0)
摘要:root用户http://blog.chinaunix.net/uid-23354495-id-1740679.html1.启动交互式 fdisk fdisk /dev/sdb2.显示现有分区表 p3.创建数据分区 +100G4. p 选择为主分区 5. v 命令验证分区设置 6. w 保存分区表7... 阅读全文
posted @ 2015-10-10 13:08 聊聊IT那些事 阅读(158) 评论(0) 推荐(0)
摘要:在此说一下关于启动和关闭防火墙的命令:1) 重启后生效开启: chkconfig iptables on关闭: chkconfig iptables off2) 即时生效,重启后失效开启: service iptables start关闭: service iptables stop 阅读全文
posted @ 2015-10-10 13:07 聊聊IT那些事 阅读(743) 评论(0) 推荐(0)
摘要:修改 /sbin/iptables -I INPUT -p tcp --dport 8081 -j ACCEPT保存 /etc/rc.d/init.d/iptables save 重启 /etc/rc.d/init.d/iptables restart查看端口状态 /etc/init.d/iptab... 阅读全文
posted @ 2015-10-10 13:06 聊聊IT那些事 阅读(211) 评论(0) 推荐(0)
摘要:1.解压:unzip xinhuayb.war.zip -d /home/jboss/jboss-eap-5.1/jboss-as/server/default/deploy/2.压缩:zip -r xxx.zip /home/jboss/bak/xxx.war //把/home/jboss/bak... 阅读全文
posted @ 2015-10-10 13:05 聊聊IT那些事 阅读(171) 评论(0) 推荐(0)