yum -y install samba samba-client
cd /etc/samba/
备份smb.conf
cp smb.conf smb.conf.origin
vim smb.conf
service smb restart
smbpasswd -a root
vi /etc/samba/smbusers
root = admin xxx bbb
[global]
interfaces = lo eth0 eth1
log file = /var/log/samba/log.%m
max log size = 50
netbios name = SMBSERVER
printcap name = cups
security = USER
server string = Samba Server Version %v
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
idmap config * : backend = tdb
cups options = raw
max connections = 10
[ossdata]
admin users = root
browseable = No
comment = ossdata Directories
inherit acls = Yes
path = /ossdata/samba
read only = No
valid users = %S %D%w%S
write list = root
[printers]
browseable = No
comment = All Printers
create mask = 0600
yum -y install nfs-utils
vi /etc/idmapd.conf
# line 5: uncomment and change to your domain name
Domain = vdevops.org
vi /etc/exports
# write settings for NFS exports
/home 10.1.1.0/24(rw,no_root_squash)
systemctl start rpcbind nfs-server
systemctl enable rpcbind nfs-server
showmount -e #查看NFS共享的目录
#防火墙开启情况下,做如下配置
firewall-cmd --add-service=nfs --permanent
firewall-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.rpm
yum 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-ossfs
chmod 640 /etc/passwd-ossfs
将OSS bucket mount到指定目录。
ossfs my-bucket my-mount-point -ourl=my-oss-endpoint
示例
echo my-bucket:faint:123 > /etc/passwd-ossfs
chmod 640 /etc/passwd-ossfs
mkdir /tmp/ossfs
ossfs 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 -version
echo $JAVA_HOME
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.0.tar.gz
tar -xvf elasticsearch-6.1.0.tar.gz
cd elasticsearch-6.1.0/bin
//install x-pack
bin/elasticsearch-plugin install x-pack
cluster.name: cluster-01
node.name: node-01
path.data: /home/elk/elasticsearch-6.1.0/data
path.logs: /home/elk/elasticsearch-6.1.0/logs
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["103.29.70.96","139.162.88.149"]
discovery.zen.minimum_master_nodes: 2
./elasticsearch -d -p pidfile
tail -100f ../logs/cluster-01.log
Set the passwords for all built-in users
bin/x-pack/setup-passwords interactive
Enter 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.7
tar zxvf dubbo-2.5.7
cd dubbo-dubbo-2.5.7/
mvn -Dmaven.test.skip=true clean install
find . -name dubbo-monitor-simple*gz
mkdir ~/dubbo-monitor
mv ./dubbo-simple/dubbo-monitor-simple/target/dubbo-monitor-simple-2.5.7-assembly.tar.gz ~/dubbo-monitor
cd ~/dubbo-monitor
./dubbo-simple/dubbo-monitor-simple/target/dubbo-monitor-simple-2.5.7-assembly.tar.gz
tar zxvf dubbo-monitor-simple-2.5.7-assembly.tar.gz
cd dubbo-monitor-simple-2.5.7
#修改配置
vi conf/dubbo.properties
dubbo.registry.address=zookeeper://112.74.198.224:21888
dubbo.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 7070
help
echo status | nc -i 1 127.0.0.1 7070
#访问
http://127.0.0.1:8080
find . -name dubbo-admin*war
w
https://nchc.dl.sourceforge.net/project/pentaho/Data%20Integration/7.1/pdi-ce-7.1.0.0-12.zip
unzip pdi-ce-7.1.0.0-12.zip
启动carte web服务器
./carte.sh 127.0.0.1 8081
密码文件
修改文件编码
vi spoon.sh
# add -Dfile.encoding=UTF-8
if "%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