yum -y install samba samba-client
cd /etc/samba/备份smb.confcp smb.conf smb.conf.originvim smb.confservice smb restartsmbpasswd -a rootvi /etc/samba/smbusersroot = admin xxx bbb
[global]interfaces = lo eth0 eth1log file = /var/log/samba/log.%mmax log size = 50netbios name = SMBSERVERprintcap name = cupssecurity = USERserver string = Samba Server Version %vsmb passwd file = /etc/samba/smbpasswdusername map = /etc/samba/smbusersidmap config * : backend = tdbcups options = rawmax connections = 10[ossdata]admin users = rootbrowseable = Nocomment = ossdata Directoriesinherit acls = Yespath = /ossdata/sambaread only = Novalid users = %S %D%w%Swrite list = root[printers]browseable = Nocomment = All Printerscreate mask = 0600
yum -y install nfs-utilsvi /etc/idmapd.conf# line 5: uncomment and change to your domain nameDomain = vdevops.orgvi /etc/exports# write settings for NFS exports/home 10.1.1.0/24(rw,no_root_squash)systemctl start rpcbind nfs-serversystemctl enable rpcbind nfs-servershowmount -e #查看NFS共享的目录#防火墙开启情况下,做如下配置firewall-cmd --add-service=nfs --permanentfirewall-cmd --reload
wget http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/32196/cn_zh/1527232195135/ossfs_1.80.5_centos7.0_x86_64.rpm?spm=a2c4g.11186623.2.6.WVXUpG&file=ossfs_1.80.5_centos7.0_x86_64.rpmyum localinstall ossfs_1.80.5_centos7.0_x86_64.rpm
设置bucket name 和 AccessKeyId/Secret信息,将其存放在/etc/passwd-ossfs 文件中,注意这个文件的权限必须正确设置,建议设为640。
echo my-bucket:my-access-key-id:my-access-key-secret > /etc/passwd-ossfschmod 640 /etc/passwd-ossfs
将OSS bucket mount到指定目录。
ossfs my-bucket my-mount-point -ourl=my-oss-endpoint
示例
echo my-bucket:faint:123 > /etc/passwd-ossfschmod 640 /etc/passwd-ossfsmkdir /tmp/ossfsossfs my-bucket /tmp/ossfs -ourl=http://oss-cn-hangzhou.aliyuncs.com
Download the Presto server tarball
https://repo1.maven.org/maven2/com/facebook/presto/presto-server/0.203/presto-server-0.203.tar.gz
and unpack it. The tarball will contain a single top-level directory, presto-server-0.203, which we will call the installation directory.
Create an etc directory inside the installation directory. This will hold the following configuration:
The node properties file, etc/node.properties, contains configuration specific to each node. A node is a single installed instance of Presto on a machine. This file is typically created by the deployment system when Presto is first installed. The follow
Elasticsearch requires at least Java 8
java -versionecho $JAVA_HOMEcurl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.0.tar.gztar -xvf elasticsearch-6.1.0.tar.gzcd elasticsearch-6.1.0/bin//install x-packbin/elasticsearch-plugin install x-pack
cluster.name: cluster-01node.name: node-01path.data: /home/elk/elasticsearch-6.1.0/datapath.logs: /home/elk/elasticsearch-6.1.0/logsnetwork.host: 0.0.0.0http.port: 9200discovery.zen.ping.unicast.hosts: ["103.29.70.96","139.162.88.149"]discovery.zen.minimum_master_nodes: 2
./elasticsearch -d -p pidfiletail -100f ../logs/cluster-01.log
Set the passwords for all built-in users
bin/x-pack/setup-passwords interactiveEnter password for [elastic]:Reenter password for [elastic]:Enter password for [kibana]:Reenter password for [kibana]:Enter password for [logstash_system]:Reenter password for [logsta
wget wget https://codeload.github.com/alibaba/dubbo/tar.gz/dubbo-2.5.7tar zxvf dubbo-2.5.7cd dubbo-dubbo-2.5.7/mvn -Dmaven.test.skip=true clean installfind . -name dubbo-monitor-simple*gzmkdir ~/dubbo-monitormv ./dubbo-simple/dubbo-monitor-simple/target/dubbo-monitor-simple-2.5.7-assembly.tar.gz ~/dubbo-monitorcd ~/dubbo-monitor./dubbo-simple/dubbo-monitor-simple/target/dubbo-monitor-simple-2.5.7-assembly.tar.gztar zxvf dubbo-monitor-simple-2.5.7-assembly.tar.gzcd dubbo-monitor-simple-2.5.7#修改配置vi conf/dubbo.propertiesdubbo.registry.address=zookeeper://112.74.198.224:21888dubbo.protocol.host=0.0.0.0#启动cd bin./start.sh./bin/start.sh debug#总控入口:./bin/server.sh start./bin/server.sh stop./bin/server.sh restart./bin/server.sh debug./bin/server.sh dump#命令行telnet 127.0.0.1 7070helpecho status | nc -i 1 127.0.0.1 7070#访问http://127.0.0.1:8080
find . -name dubbo-admin*warw
https://nchc.dl.sourceforge.net/project/pentaho/Data%20Integration/7.1/pdi-ce-7.1.0.0-12.zipunzip pdi-ce-7.1.0.0-12.zip
启动carte web服务器./carte.sh 127.0.0.1 8081密码文件
修改文件编码
vi spoon.sh# add -Dfile.encoding=UTF-8if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dfile.encoding=UTF-8"
pgAgent is a job scheduling agent for PostgreSQL, capable of running multi-step batch/shell and SQL tasks on complex schedules.
基于 redis-3.2.8 分支开发。增加了额外的数据结构,以支持 slot 有关的操作以及数据迁移指令。具体的修改可以参考文档 redis 的修改。
客户端连接的 Redis 代理服务, 实现了 Redis 协议。 除部分命令不支持以外(不支持的命令列表),表现的和原生的 Redis 没有区别(就像 Twemproxy)
集群管理工具,支持 codis-proxy、codis-server 的添加、删除,以及据迁移等操作。在集群状态发生改变时,codis-dashboard 维护集群下所有 codis-proxy 的状态的一致性。
集群管理的命令行工具。
可用于控制 codis-proxy、codis-dashboard 状态以及访问外部存储。
集群管理界面
为集群状态提供外部存储。
# Set Coordinat