hjpp.net » 水木神風
水木神風

用户名:水木神風

注册于:2016-10-31

主题数: 135     回贴数: 45

网站:

介绍:

最后活动于 2025-09-27
创建了主题 › windwos 11 破解命令

irm https://get.activated.win | iex

«  2025-09-27
创建了主题 › 120/129文件共享配置

===========================================================================129文件服务器分别有路径

1、/home/java

如:/home/java/template_files 从2023-11-01到2025-07-25考勤数据

«  2025-07-25
回复了主题 › nfs 挂载分享

mount -t nfs 10.109.10.129:/home/newJava/template_files /home/new_template_files/template_files

«  2025-07-23
回复了主题 › nfs 挂载分享

mount -t nfs 10.109.10.129:/home/newJava /home/new_template_files

«  2025-07-23
回复了主题 › nfs 挂载分享

mount -t nfs 10.109.10.129:/home/newJava/template_files /home/new_template_files

«  2025-07-23
创建了主题 › MySQL读写分离与高可用方案(CentOS 5.6.44环境) MySQL读写分离与高可用方案(CentOS 5.6.44环境)一、架构设计方案1. 目标架构[应用层]   │   ├─ [主库] 10.109.10.122 (读写)   │   └─ [从库] 10.109.10.125 (只读)2. 技术选型

数据同步

«  2025-07-23
创建了主题 › 修改MySQL从库server_id的完整指南 修改MySQL从库server_id的完整指南一、修改前的准备工作1. 查看当前server_idSHOW VARIABLES LIKE 'server_id';2. 确认主从复制状态SHOW SLAVE STATUS\G

记录Master_Log_File和Read_Master_Log_Pos值

二、安全修改步骤1. 停止从库复制STOP SLA
«  2025-07-23
创建了主题 › CentOS 安装 MySQL 5.6.44 完整指南 CentOS 安装 MySQL 5.6.44 完整指南一、准备工作1. 卸载现有MySQL(如已安装)sudo yum remove -y mysql mysql-server sudo rm -rf /var/lib/mysql sudo rm -rf /etc/my.cnf2. 安装依赖sudo yum install -y wget&nb
«  2025-07-23
回复了主题 › es启动

关闭

ps -ef | grep elasticesearch

kill -9 pid


«  2024-02-19
创建了主题 › es启动

su es

cd /home/java8/elasticSearch/elasticsearch-8.9.0/bin

./elasticsearch -d


«  2024-01-23
创建了主题 › python3.8加密 RSA单元报错的处理

 pip install pycryptodome -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com


python3.8加密 RSA单元报错的处理

«  2024-01-23
创建了主题 › python 依赖导出导入

pip3 freeze > 20240122python.txt

pip3 install -r 20240122python.txt

«  2024-01-22
回复了主题 › centos python3.8安装

./configure

make

sudo make install


«  2024-01-22
创建了主题 › Linux面板8.0.5安装脚本

yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec

«  2024-01-22
回复了主题 › nfs 挂载分享

mount -t nfs 10.109.10.129:/home/new_template_files /home/new_template_files

«  2023-11-09
创建了主题 › uwsgi.ini 常用配置参数详解

master = true 

«  2023-11-08
创建了主题 › python3.8.3版本报错ModuleNotFoundError: No module named _ctypes

报错信息

ModuleNotFoundError: No module named '_ctypes'


原因

python3.7以上版本需要一个新的依赖包libffi-devel,centos系统环境中缺乏这个包


解决

(1)下载yum install libffi-devel -y包

yum install libffi-devel -y


(2)在python3的安装目录下重新编译:

make insta

«  2023-08-04
创建了主题 › python3.8 pip3

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py


python3 get-pip.py --force-reinstall


«  2023-08-04
创建了主题 › 卸载Centos7自带的python3.6

1.卸载python3


rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps 

2.删除所有残余文件


whereis python3 |xargs rm -frv

3.查看现有安装的python,验证是否删除干净


whereis python 


«  2023-08-04
创建了主题 › elasticSearch重启

查看elasticSearch进程

ps -ef | grep elastic

结束进程

kill -9 10965

后台执行

./elasticsearch -d



chown es:es ./elasticsearch.keystore

«  2023-07-27
创建了主题 › centos下cx_oraclel连接报错dpi1047错误唯一正解

在Oracle客户端安装完成后,使用python的cx_oracle连接数据库时,报错dpi:1047…,网上有各种各样的解答方法,诸如版本不对应等等,都无故痛痒,在尝试了多次后,确认如下步骤可以解决:

touch /etc/ld.so.conf.d/oracle-instantclient.conf

sh -c "echo /usr/lib/oracle/12.2/client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf"

ldconfig

这是将将In

«  2023-07-27
创建了主题 › nfs 挂载分享

mount -t nfs 10.109.10.123:/home/java/template_files /home/nfs

«  2021-10-25
创建了主题 › git初始化设置

git设置本地账号

git config --global user.name "godwind"

git config --global user.email "godwind@yeah.net"

生成公钥证书

ssh-keygen -t rsa

查看证书

cat ~/.ssh/id_rsa.pub

设置保存用户名密码

git config --global credential.helper store

git config --glob

«  2021-04-21
创建了主题 › git 回滚后 分支提交处理

场景描述:

分支 A merge 了分支 B,然后 master 合并了分支 A,现在回退了主分支合并的分支 A,然后在主分支上合并分之 B,提示无需合并,已在之前合并,卡在这了,现在怎么将分支 b 合并到主分支呢?



使用命令:

回退到制定提交点

git reset --hard commit_hash

重新挑选提交点

git cherry-pick <commitHash>


«  2021-04-10
创建了主题 › centos8 svn管理命令

#创建仓库

mkdir -p /var/svn/axhub

svnadmin create axhub


#查询SVN服务

ps aux | grep svn


# ps aux | grep svn root 64434 0.0 0.0 181584 1120 ? Ss 02:01 0:00 svnserve -d -r /home/svn root 64481 0.0 0.0 103256 848 pts/1 S+ 02:03 0:00 grep svn

#使用Kill

«  2021-01-22
创建了主题 › 关闭SELinux
«  2021-01-19
创建了主题 › nginx rewirte try_files

        location / {

            root   /usr/local/kunheng/kunheng-web/hongji;

try_files $uri $uri/ @router;

        &n

«  2021-01-14
创建了主题 › 安装 pip

首先检查linux有没有安装python-pip包,直接执行 yum

«  2020-12-25
创建了主题 › centos 查看大文件

du -a --max-depth=1 | sort -n

«  2020-12-25