发布时间:2018-07-15 11:40:43
更换了新主题,出现几个错误:Gtk-WARNING **: Theme parsing error: gtk.css:3601:22: 'none' is not a valid color name引起这个问题把border-color: none改成border-color: transparentsed -i 's/border-color: none/border-color: transparent/g' "xxx/xxx/gtk-3.0/gtk.css"如果还出现,那把background-color: none也.........【阅读全文】
发布时间:2018-02-09 16:40:28
#!/bin/bash#this script is for download file via sftp protocolUSER=xxxxPASSWORD=xxxxxxperiod=$(date -d '-3 min' '+%Y%m%d%H%M')SRCDIR1=/xxxx/xxxxxSRCDIR2=/xxxx/xxxxxSRCDIR3=/xxxx/xxxxxSRCDIR4=/xxxx/xxxxxSRCDIR5=/xxxx/xxxxxDESDIR1=/xxxx/xxxxxDESDIR2=/xxxx/xxxxxDESDIR3=/xxxx/xxxxxDES.........【阅读全文】
发布时间:2017-09-21 11:12:50
关于ambri hst agent注册失败错误,查看log:=============INFO 2017-09-21 10:52:33,435 security.py:178 - Server certificate not exists, downloadingINFO 2017-09-21 10:52:33,435 security.py:191 - Downloading server cert from https://ambari-test1.com:9440/cert/ca/ERROR 2017-09-21 10:52:33,510 ServerAPI.........【阅读全文】
发布时间:2017-09-11 16:16:45
zookeeper.service[Unit] Description=hadoopAfter=network.target [Service] Type=forkingPIDFile=/opt/zookeeper/data/zookeeper_server.pidExecStart=/bin/su - hadoop -c "/usr/local/zookeeper/bin/zkServer.sh start"ExecStop=/bin/su - hadoop -c "/usr/local/zookeeper/bin/zkServer.sh st.........【阅读全文】
发布时间:2017-09-10 11:46:49
$0 //这个程式的执行名字$n //这个程式的第n个参数值,n=1..9$* //这个程式的所有参数$# //这个程式的参数个数$$ //这个程式的PID$! //执行上一个背景指令的PID$? //执行上一个指令的返回值$@ //跟$*类似,但是可以当作数组用 。==========================$# 传给程序的参数个数,或者执行set命令设置的参数个数$.........【阅读全文】
发布时间:2017-09-10 11:45:40
因为需要经常备份网站的数据,所以了解并学习了下linux下如何通过shell来发送邮件,这里以CentOS为例,使用mail命令来进行外部邮件的发送。mail命令的语法如下:[-- sendmail-options ...]mail [-iInNv] [-u user]使用mail命令发送邮件,有如下三种方式:1、直接使用shell当编辑器hello,this is the content of ma.........【阅读全文】
发布时间:2017-09-02 18:21:07
docker的默认存储方式是稀疏文件+loop设备,这种方式官方明文不建议使用于生产环境,因为性能低下,那么devicemapper的性能是否能适用生产环境?我们来看一下:devicemapper是使用snapshot的机制来使用对镜像的服用,devicemapper并不复杂,可以使用.........【阅读全文】
发布时间:2017-08-23 09:51:33
启动HBase集群:bin/start-hbase.sh单独启动一个HMaster进程:bin/hbase-daemon.sh start master单独停止一个HMaster进程:bin/hbase-daemon.sh stop master单独启动一个HRegionServer进程:bin/hbase-daemon.sh start regionserver单独停止一个HRegionServer进程:bin/hbase-daemon.sh s.........【阅读全文】