1 JDK 1.8 must installed first 2 Get Zookeeper package wget https://archive.apache.org/dist/zookeeper/zookeeper-3.4.9/zookeeper-3.4.9.tar.gz 3 Ucompress the package to /opt/zookeeper 4 Create Zookeeper service account useradd -m zookeeper #add below…
ZooKeeper Installation Install ZooKeeper packages # -jre-headless # sudo apt-get install zookeeper zookeeperd If you need a cluster, configure the Conf file, otherwise ignore it. Configure ZooKeeper Common Configuration Edit the /etc/zookeeper/conf/z…
仅限于CentOS 5 configure: error: No curses/termcap library found 网上有的说法是: --with-named-curses-libs=/usr/lib/libncursesw.so.5 其实是不对的,虽然能解决configure的错误,但是make的时候会提示错误,正确的做法应该是 yum -y install ncurses-devel debian: apt-get install libncurses5-dev configure:…
一. 数据库软件安装 参照官方手册 1.安装rpm包 注这里的yum直接用163的yum yum -y install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio li…
PostgreSQL can be installed using RPMs (binary) or SRPMs (source) managed by YUM. This is available for the following Linux distributions (both 32- and 64-bit platforms; for the current release and prior release or two): Fedora Red Hat Enterprise Lin…
thispassage is referenced, appreciated. ZooKeeper installation: Download from this site Install java-sdk-v1.6 Configure the zoo.cfg following the zoo.template.cfg in conf/  add the parameters according to the link and the first site stated. (except t…
环境: 一台CentOS虚拟机上部署六个节点,创建3个master,3个slave节点 1.下载并解压 cd /root wget http://download.redis.io/releases/redis-3.2.4.tar.gz tar -zxvf redis-3.2.4.tar.gz 2.编译并安装 cd redis-3.2.4 make && make install 3.将 redis-trib.rb 复制到 /usr/local/bin 目录下 cd src cp redi…
参考:https://www.tecmint.com/centos-7-installation/ =================================================== centos安装时的分区最少有一个根分区(/),存放系统文件及程序一个swap分区,相当于window的虚拟内存,一般是物理内存的1.5倍(<8G时):如果物理内存大于8G,swap分区配置8-16G即可,太大无用/boot分区,引导分区,存放系统引导文件,如linux内核:所有文件大小一般只有…
1,准备: A:三台linxu服务器: 10.112.29.177 10.112.29.172 10.112.29.174 命令 hostname 得到每台机器的 hostname vm-10-112-29-177 vm-10-112-29-172 vm-10-112-29-174 分别创建 /opt/zookeeper/server1/data /opt/zookeeper/server1/dataLog /opt/zookeeper/server2/data /opt/zookeeper/s…
#!/bin/bash## CentOS 7.x # SSH configuresshd_port=22 # Disable SElinuxprintf "Disable SElinux..."setenforce 0 &> /dev/nullsed -i "/^SELINUX=/s/.*/SELINUX=disabled/g" /etc/selinux/configprintf "\033[32;1m%20s\033[0m\n"…