===========================================================================129文件服务器分别有路径
1、/home/java
如:/home/java/template_files 从2023-11-01到2025-07-25考勤数据
mount -t nfs 10.109.10.129:/home/newJava/template_files /home/new_template_files/template_files
mount -t nfs 10.109.10.129:/home/newJava /home/new_template_files
mount -t nfs 10.109.10.129:/home/newJava/template_files /home/new_template_files
数据同步
记录Master_Log_File和Read_Master_Log_Pos值
二、安全修改步骤1. 停止从库复制STOP SLApip install pycryptodome -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
python3.8加密 RSA单元报错的处理
yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
mount -t nfs 10.109.10.129:/home/new_template_files /home/new_template_files
master = true
报错信息
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
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py --force-reinstall
1.卸载python3
rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps
2.删除所有残余文件
whereis python3 |xargs rm -frv
3.查看现有安装的python,验证是否删除干净
whereis python
查看elasticSearch进程
ps -ef | grep elastic
结束进程
kill -9 10965
后台执行
./elasticsearch -d
chown es:es ./elasticsearch.keystore
在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
mount -t nfs 10.109.10.123:/home/java/template_files /home/nfs
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
场景描述:
分支 A merge 了分支 B,然后 master 合并了分支 A,现在回退了主分支合并的分支 A,然后在主分支上合并分之 B,提示无需合并,已在之前合并,卡在这了,现在怎么将分支 b 合并到主分支呢?
使用命令:
回退到制定提交点
git reset --hard commit_hash重新挑选提交点
git cherry-pick <commitHash>#创建仓库
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
location / {
root /usr/local/kunheng/kunheng-web/hongji;
try_files $uri $uri/ @router;
&n
首先检查linux有没有安装python-pip包,直接执行 yum
du -a --max-depth=1 | sort -n
irm https://get.activated.win | iex