linux部署安装maven私有库1、先安装好jdk2、下载sonatypeNexus下载地址:http://pan.baidu.com/s/1dFJv5wl3、在linux根目录下创建文件夹#mkdirnexus4、将安装包上传至linux系统上上传至nexus文件夹内#cd/nexus5、解压Nexus#tarzxvfnexus-2.14.2-01-bundle.tar.gz6、会解压出2个..
分类:
系统服务 时间:
2017-01-10 00:10:27
收藏:
0 评论:
0 赞:
0 阅读:
444
第二周博客--文件管理及Bash特性Linux上的文件管理类命令都有哪些,其常用的使用方法及其相关示例演示。ls:显示目录内容常用命令选项-a:列出目录下所有文件-l:显示详细信息-i:显示inode信息-h:显示文件大小-d:按目录显示-t:按时间排序-r:反序排列使用示例:touch:创建..
分类:
其他 时间:
2017-01-10 00:10:17
收藏:
0 评论:
0 赞:
0 阅读:
267
一、LAMP搭建前的准备LAMP是四套软件的缩写,分别指的是L-Linux,A-Apache,M-Mysql,P-php,利用这四套软件搭建的web的运行环境。搭建前需要需要下载好软件#cd/home/softapache:http://mirrors.cnnic.cn/apache/httpd/httpd-2.2.31.tar.gzmysql:32位:http://mirrors.sohu.com..
分类:
其他 时间:
2017-01-10 00:09:52
收藏:
0 评论:
0 赞:
0 阅读:
249
生产上要做灾备系统的应急切换演练,灾备端是由OGG搭建的。由于生产库都比较大10多T,不想演练后重新初始化灾备库,生产库版本为10.2.0.4,于是想到10g的新特性flashbackdatabase。演练开始前记录一个还原点,演练结束后闪回到这个还原点,重新同步ogg即可。测试闪加数据库。一..
分类:
数据库技术 时间:
2017-01-10 00:09:23
收藏:
0 评论:
0 赞:
0 阅读:
263
importeasygui
easygui.msgbox(‘thisprogramconvertsfahrenheittocelsius‘)
t=easygui.enterbox(‘typetheTtemperatureinfahrenheit:‘)
f=float(t)
c=(f-32)*5.0/9
easygui.msgbox(‘thisis‘+str(c)+‘degreescelsius.‘)
分类:
编程语言 时间:
2017-01-10 00:09:06
收藏:
0 评论:
0 赞:
0 阅读:
220
ImportsSystem.Speech.Synthesis
ImportsSpeechLib
PublicClassForm1
PublicSubNew()
‘此调用是Windows窗体设计器所必需的。
InitializeComponent()
‘在InitializeComponent()调用之后添加任何初始化。
EndSub
‘分别用两种方法实现
DimssAsSpeechSynthesizer‘定义一个语音引..
分类:
Web开发 时间:
2017-01-10 00:08:41
收藏:
0 评论:
0 赞:
0 阅读:
297
1.创建用户审计文件存放目录和审计日志文件;touch/var/log/Command_history.log2.将日志文件所有者赋予一个最低权限的用户;chownnobody.nobody/var/log/Command_history.log3.给该日志文件赋予所有人的写权限;chmod002/var/log/Command_history.log4.设置文件权限,使所有用..
分类:
系统服务 时间:
2017-01-10 00:08:08
收藏:
0 评论:
0 赞:
0 阅读:
466
首先分别说说三者是什么:①jsp中application:application对象也是在服务器启动就生成一个,服务器关闭,其才释放。保证了用户在不同的页面间浏览可以获取共享的公共信息。②EL表达式中applicationScope${applicationScope.bizCodes[category]}"------------EL表达式jsp中因为..
分类:
移动平台 时间:
2017-01-10 00:07:56
收藏:
0 评论:
0 赞:
0 阅读:
299
importeasygui
easygui.msgbox(‘thisprogramconvertsfahrenheittocelsius‘)
t=easygui.enterbox(‘typetheTtemperatureinfahrenheit:‘)
f=float(t)c=(f-32)*5.0/9
#‘\n‘是换行
easygui.msgbox(‘thisis‘+str(c)+‘\n‘+‘degreescelsius.‘)
分类:
编程语言 时间:
2017-01-10 00:07:40
收藏:
0 评论:
0 赞:
0 阅读:
225
这学期主要讲Linux系统管理,内容分为六章:了解并安装Linux系统,文件和目录管理,用户、组和权限管理,磁盘与文件系统管理,系统软件包管理,系统进程和服务管理。期末考试要求每个学生在自己的笔记本电脑里新建虚拟机,安装rhel6系统,并设为桥接模式,然后按照考题要求进行..
分类:
系统服务 时间:
2017-01-10 00:07:24
收藏:
0 评论:
0 赞:
0 阅读:
425
jquery获取inputtyperadiochecked的元素.find(‘input:radio:checked‘);.find("input[type=‘radio‘]:checked");.find("input[name=‘radio‘]:checked");.find("input[@name=‘radio‘][checked]");.find("input[name=‘radio‘]").filter(‘:checked‘);
分类:
其他 时间:
2017-01-10 00:07:12
收藏:
0 评论:
0 赞:
0 阅读:
264
[root@host~]#whichping/bin/ping[root@host~]#rpm-qf/bin/pingiputils-20071127-17.el6_4.2.x86_64先用which查看命令的绝对路径,在用rpm-qf绝对路径即可查看命令对应的安装包
分类:
其他 时间:
2017-01-10 00:06:59
收藏:
0 评论:
0 赞:
0 阅读:
411
[root@old_boyscripts]#catjudgehost.sh#!/bin/bashecho"pleaseinputipaddress:"readip[-n"`grep"$ip"/etc/hosts`"]&&\#注意前面的过滤条件结尾带有空格。echo"Thehostnameis:`grep"$ip"/etc/hosts|awk‘{print$2}‘`"||\echo"Theipisinvalid"[-n"ddd"]&&echo1||..
分类:
其他 时间:
2017-01-10 00:06:44
收藏:
0 评论:
0 赞:
0 阅读:
339
fs模块是文件操作的封装,它提供了文件的读娶写入、更名、删除、遍历目录、链接等Unix文件系统操作。与其他模块不同的是,fs模块中所有的操作都提供了同步和异步两个版本,比如读取文件内容的函数有异步的fs.readFile()和同步的fs.readFileSync().Node.js导入文件系统模块的语..
分类:
Web开发 时间:
2017-01-10 00:06:15
收藏:
0 评论:
0 赞:
0 阅读:
447
------同步源----------发起端---------192.168.1.1192.168.1.2关闭iptables:iptables-F/etc/init.d/iptablessave1:确定备份源[root@localhost~]#mkdir/www[root@localhost~]#touch/www/source{1..100}.html[root@localhost~]#rpm-qa|greprsync[root@localhost~]#提示没有可以..
分类:
其他 时间:
2017-01-10 00:05:38
收藏:
0 评论:
0 赞:
0 阅读:
370
外网访问测试机。Windows机器使用SSH反向隧道。服务端使用反向代理win下安装openssh-win并设置环境变量打开cmdC:\Users\Administrator>ssh-p22-R1999:localhost:8080-b0.0.0.0root@8.8.8.8-R1999远程机器的端口-b外网段监听,不加是127.0.0.1监听8080本机端口这样外网访问8...
分类:
其他 时间:
2017-01-10 00:05:23
收藏:
0 评论:
0 赞:
0 阅读:
788
num1=float(raw_input("enterthenumber1:"))
num2=float(raw_input("enterthenumber2:"))
ifnum1<num2:
printnum1,"islessthan",num2
ifnum1>num2:
printnum1,"isgreaterthan",num2
ifnum1==num2:
printnum1,"isequalto",num2
ifnum1!=num2:
printnum1,"isnotequalto",..
分类:
编程语言 时间:
2017-01-10 00:05:08
收藏:
0 评论:
0 赞:
0 阅读:
253
Zabbix的模板库大全:https://share.zabbix.comhttps://monitoringartist.github.io/zabbix-searcher/
分类:
其他 时间:
2017-01-10 00:04:58
收藏:
0 评论:
0 赞:
0 阅读:
265
answer=int(raw_input("enterthenumber1:"))
ifanswer>=10:
print"yougotatleast10!"
elifanswer>=5:
print"yougotatleast5!"
elifanswer>=3:
print"yougotatleast3!"#当第一个if结果为假,则进行另一次判断(elif=否则如果)
分类:
编程语言 时间:
2017-01-10 00:04:32
收藏:
0 评论:
0 赞:
0 阅读:
245
一实验环境:1准备两台liunx主机,在各自的/etc/hosts/里面添加两行内容192.168.141.131master(主机名)192.168.141.132slave(主机名)每个服务器上面有两块网卡,其中eth1作为两台机器间的心跳线,eth0用作普通的通信用(我这里用一块网卡做实验)2把两台主机的iptables和se..
分类:
其他 时间:
2017-01-10 00:04:20
收藏:
0 评论:
0 赞:
0 阅读:
307