![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CentOS
dijk
这个作者很懒,什么都没留下…
展开
-
Redis Cluster - 外网访问redis集群 - create-cluster脚本
Versionredis 6.0.6Shell scriptcd /redis-6.0.6/utils/create-clustervi create-cluster#!/bin/bash# SettingsBIN_PATH="../../src/"#CLUSTER_HOST=127.0.0.1CLUSTER_HOST=YOUR_REMOTE_IPPORT=30000TIMEOUT=2000NODES=6REPLICAS=1#PROTECTED_MODE=yesPROTE原创 2020-10-09 14:26:37 · 731 阅读 · 1 评论 -
CentOS: install git
CentOS install git// install gityum –y install git原创 2018-12-17 00:03:14 · 162 阅读 · 0 评论 -
CentOS: install jdk1.8
CentOS: install jdk1.8DownloadDecompress# mkdir /usr/local/java/// Decompress to '/usr/local/java/' directory# tar -zxvf jdk-8u151-linux-x64.tar.gz -C /usr/local/java/Environment variable# ...原创 2018-11-21 08:33:05 · 204 阅读 · 0 评论 -
VirtualBox: CentOS7.5 install VBoxLinuxAdditions
VirtualBox: CentOS7.5 install VBoxLinuxAdditions# yum install gcc# yum install gcc-c++// 版本要根据具体情况# yum install kernel-devel-3.10.0-862.el7.x86_64# reboot// 在桌面上打开增强功能包光盘,将VBoxLinuxAdditions....原创 2018-11-21 08:08:31 · 246 阅读 · 0 评论 -
Problem: xxx is not in the sudoers file. This incident will be reported
ProblemThere is a problem when user dijk execute command below:$ sudo usermod -aG vboxsf dijkor$ sudo gpasswd -a dijk vboxsfProblem: “dijk is not in the sudoers file. This incident will be rep...原创 2018-11-15 23:44:36 · 249 阅读 · 0 评论 -
Problem: MySQL: -bash: mysql: command not found
ProblemProblem: MySQL: -bash: mysql: command not foundOn CentOS, MySQL works fine, but can not use “mysql” command in terminal, and says “-bash: mysql: command not found”.Solution# cd /usr/local/...原创 2018-11-15 22:54:51 · 167 阅读 · 0 评论 -
Problem: WARN bitronix.tm.Configuration - cannot get this JVM unique ID. Make sure it is configured
Problem[main] WARN bitronix.tm.Configuration - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!)...原创 2018-11-15 22:22:18 · 704 阅读 · 0 评论 -
CentOS: Command: 删除多余内核
CentOS 删除多余内核# 查看当前系统中的kernel# rpm -qa | grep kernel# 删除不需要的kernel[kernel devel...]# yum remove kernel-...# 安装需要的内核# yum install kernel-......原创 2018-11-15 22:00:23 · 177 阅读 · 0 评论 -
CentOS: 查看ip地址
CentOS: 查看ip地址# ip addror# ifconfig原创 2018-11-13 00:09:44 · 267 阅读 · 0 评论 -
CentOS: 解压命令tar
CentOS: 解压命令tar# 将poems.tar.gz 解压到 /home/book/tar -zxvf poems.tar.gz -C /home/book/原创 2018-11-12 23:48:31 · 621 阅读 · 0 评论 -
VirtualBox: CentOS设置共享文件夹
VirtualBox: CentOS设置共享文件夹主机选择一个文件夹作为共享文件夹,如:VboxShare虚拟机新建一个文件夹作为共享文件夹,如:/home/share挂载映射mount -t vboxsf VboxShare /home/share# 查看[如果成功则可以看到本机的文件]cd /home/sharels开机自动挂载vi ~/.bashr...原创 2018-11-12 23:38:43 · 509 阅读 · 0 评论 -
VirtualBox: Centos安装增强功能包VBoxLinuxAdditions
VirtualBox: Centos安装增强功能包VBoxLinuxAdditions预安装环境yum updateyum install gccyum install gcc-c++yum install makeyum install kernel-headersyum install kernel-develoryum updateyum groupinstall "D...原创 2018-11-12 23:20:36 · 362 阅读 · 0 评论