[root@centos-master pv]# kubectl get pv NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE datadir-zk-010Gi RWX Recycle Available slow 25s datadir-zk-110Gi RWX Recycle Available slow 25s datadir-zk-210Gi RWX Recycle Available slow 25s
fastdfs_tracker中就可以看到启动后新生成的data和logs目录,tracker服务的端口也应当被正常监听,最后再通过netstat命令查看一下端口监听情况: al 确认tracker正常启动后可以将tracker设置为开机启动,打开/etc/rc.d/rc.local并在其中加入以下配置: service fdfs_trackerd start
# group settings for group #1 # since v1.14 # when support multi-group on this storage server, uncomment following section [group1] group_name=group1 storage_server_port=23000 store_path_count=1 store_path0=/home/hjlc/app/fastdfs/fastdfs_storage_data
>CREATE DATABASE sonarqube SET utf8 COLLATE utf8_general_ci; > CREATE USER 'sonar’@'%' IDENTIFIED BY 'password'; > GRANT all privileges ON sonarqube.* TO sonar’@‘%' IDENTIFIED BY 'password'; > flush privileges;
nginx-1.12.0]# make upgrade usr/local/nginx/sbin/nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful kill -USR2 `cat /usr/local/nginx/logs/nginx.pid` sleep 1 test -f /usr/local/nginx/logs/nginx.pid.oldbin kill -QUIT `cat /usr/local/nginx/logs/nginx.pid.oldbin`
验证
1 2 3 4 5 6
nginx-1.12.0]#/usr/local/nginx/sbin/nginx -V nginx version: Microsoft-IIS/1.12.0 built by gcc 4.4.720120313 (Red Hat 4.4.7-18) (GCC) built with OpenSSL 1.0.2m 2 Nov 2017 TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx --conf-path=/etc/nginx/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_realip_module --with-http_v2_module --with-openssl=../openssl-1.0.2m