`
liunancun
  • 浏览: 33947 次
社区版块
存档分类
最新评论
文章列表
通过docker-compose.yml文件安装 gitlab: image: 'gitlab/gitlab-ce:latest' container_name: gitlab restart: always hostname: '192.168.99.182' environment: GITLAB_OMNIBUS_CONFIG: | external_url 'http://192.168.99.182' gitlab_rails['smtp_enable'] = true gitlab_rails['smtp ...
前端部分 ================================================================================================================== 修改src/permission.js文件 //需要设置令牌 import { getToken, setToken } from '@/utils/auth' //获取令牌参数 const token = to.query.token if (token) { //前端存储令牌 store.commit('user/SET_TOKEN', token) se ...
拉取镜像 docker pull redis 运行镜像 docker run -d --name redis -p 6379:6379 redis redis-server --requirepass "bessky123" docker-compose.yml redis:   image: redis   container_name: redis   command: redis-server --requirepass "bessky123"   ports:     - "6379:6379"
拉取镜像 docker pull nacos/nacos-server 运行镜像 docker run -d --name nacos -p 8848:8848 -e MODE=standalone nacos/nacos-server docker run -d --name nacos -p 28848:8848 -v /home/nacos/data:/home/nacos/data -e MODE=standalone nacos/nacos-server 登录系统 http://192.168.99.230:8848/nacos nacos/nacos 自己构建Docker镜像安 ...
拉取镜像 docker pull wurstmeister/kafka 运行镜像 docker run -d --name kafka -p 9092:9092 -e KAFKA_ZOOKEEPER_CONNECT=192.168.99.230:2181 -e KAFKA_ADVERTISED_HOST_NAME=192.168.99.230 wurstmeister/kafka 进入容器 docker exec -it c22b71f707b0 /bin/bash 测试命令 cd /opt/kafka/bin ./kafka-topics.sh --list --zookeeper 19 ...
拉取镜像 docker pull zookeeper 运行镜像 docker run -d -p 2181:2181 --name=zookeeper zookeeper 集群配置 mkdir -p /home/zk vi docker-compose.yml version: '3.1' services:   zk1:     image: zookeeper     container_name: zk1     environment:       ZOO_MAX_CLIENT_CNXNS: 200       ZOO_MY_ID: 1       ZOO_SERVERS: serv ...
下载 curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose 授权 chmod +x /usr/local/bin/docker-compose 链接 ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose 测试 docker-compose --version 参考 https:/ ...
安装Docker 参考https://www.runoob.com/docker/centos-docker-install.html 开机启动 systemctl start docker systemctl enable docker 安装Docker Compose curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/do ...
下载Nginx软件包 wget http://nginx.org/download/nginx-1.17.3.tar.gz 解压Nginx软件包 tar -zxvf nginx-1.17.3.tar.gz 切换到Nginx目录 cd nginx-1.17.3 安装Nginx依赖包 yum install -y pcre pcre-devel zlib zlib-devel openssl openssl-devel gcc gcc-c++ 安装Nginx到系统 ./configure --with-http_dav_module make make install 修改Nginx的配置 ...
yum install -y pcre pcre-devel yum install -y zlib zlib-devel yum install -y openssl openssl-devel wget http://nginx.org/download/nginx-1.15.8.tar.gz tar -zxvf nginx-1.15.8.tar.gz cd nginx-1.15.8 ./configure make make install /usr/local/nginx/sbin/nginx -V cd /usr/local/nginx/conf vi nginx.conf cd /u ...
新建sftp用户: useradd -s /sbin/nologin sftp 设置sftp密码: passwd sftp 修改/etc/ssh/sshd_config文件: #Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp internal-sftp 重启sshd服务: service sshd restart
<dependencies> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-webapp-tomcat</artifactId> <version>5.3.9</version> <type>war</type> </dependency> </dependencies> <build> <plugins> & ...
cd /opt wget http://apache.website-solution.net/kafka/2.1.1/kafka_2.12-2.1.1.tgz tar -zxvf kafka_2.12-2.1.1.tgz cd kafka_2.12-2.1.1/bin ./kafka-server-start.sh ../config/server.properties 后台启动 ./kafka-server-start.sh -daemon ../config/server.properties 修改配置文件 server.properties listeners=PLAINTEXT:// ...
cd /opt wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.6.1.tar.gz tar -zxvf elasticsearch-6.6.1.tar.gz useradd elasticsearch chown -R elasticsearch:elasticsearch /opt/elasticsearch-6.6.1 su elasticsearch /opt/elasticsearch-6.6.1/bin/elasticsearch vi /opt/elasticsearch-6.6.1 ...
wget http://download.redis.io/redis-stable.tar.gz tar -zxvf redis-stable.tar.gz cd redis-stable make make install vi redis.conf 修改#bind 127.0.0.1 修改protected-mode no redis-server redis-cli shutdown redis-server redis.conf 后台启动 redis-server & 设置密码 redis-cli -p 6379 config set requirepass 123 编译 ...
Global site tag (gtag.js) - Google Analytics