最新动态

今日:0  |  文章:1154
汇集全站版块最新文章
admin
小绿叶技术博客 Lv2 超级管理员

mysql 忘记root密码破解root密码破解所有用户密码,shell脚本

#!/bin/bash# mysql 破解重置root密码read -p "Hello, welcome to continuous integration eisc.cn mysql 同时破解远程和localhost数据库密码请输入用户名:" setuserread -p "请自定义密码:" setpasswdmycnf="/etc/my.cnf"NR=`cat -n $mycnf | grep "\[mysqld\]" | awk -F" " '{print $1}'` ; echo $NR 
 
linux   666   2021-07-26
admin
小绿叶技术博客 Lv2 超级管理员

centos 安装mysql8.0 并修改root密码,创建用户,附加权限,解决密码不符合当前策略要求

yum localinstall https://repo.mysql.com//mysql80-community-release-el7-1.noarch.rpm -y# yum localinstall是用来安装本地rpm包的命令,首先rpm包要先下载到本地,然后在本地目录执行yum localinstall *.rpmyum install mysql-community-server -y# 安装mysql8grep 'temporary password' /var/log/mysqld.lo
 
linux   655   2021-07-26
admin
小绿叶技术博客 Lv2 超级管理员

yum install -y mysql 报错,mariadb 冲突,卸载 yum remove -y mariadb

Repository epel is listed more than once in the configuration上次元数据过期检查:0:03:08 前,执行于 2021年07月24日 星期六 20时18分05秒。错误: 问题: problem with installed package mariadb-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64  - package mariadb-3:10.3.28-1.module_el
 
linux   569   2021-07-24
admin
小绿叶技术博客 Lv2 超级管理员

shell批量修改文件参数,采用数组方式对应修改

#!/bin/bash#脚本开发:小绿叶数据博客#脚本自动替换参数setcs=("error_reporting =""display_errors =""date.timezone =""post_max_size =""upload_max_filesize =")upsetcs=("error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE;""display_errors = On;""date.timez
 
疑难   1245   2021-07-24
admin
小绿叶技术博客 Lv2 超级管理员

curl 域名 Connection was reset

 curl eisc.cn 出现 Connection was resetnslookup eisc        # 查看解析记录查看您域名 eisc.cn 通过cname解析到:work.eisc.cn1. 网站访问规则: 域名和主机需要同时双方互相绑定才能访问。域名通过串接方式解析到主机后,主机或服务器 依然需要绑定 2. 访问 work.eisc.cn 时出现 403没有文件或者没有权限而被禁止访问。请到主机里面上传网站程序
 
linux   595   2021-07-24
admin
小绿叶技术博客 Lv2 超级管理员

centos yum 安装lnmp

#!/bin/bash# echo ulimit -n 65535 >>/etc/profile ; source /etc/profile ; ulimit -n        # 获取更大的ulimit值; 并查看值sed -i "s/SELINUX=.*/SELINUX=disabled/g" /etc/selinux/config             
 
linux   569   2021-07-24
admin
小绿叶技术博客 Lv2 超级管理员

通过linux PE 进入操作系统系统,无法修改破解root密码,文件被上锁

无法修改破解root密码linux_pe挂载后进入系统,或者开机启动时按e修改mount /dev/vda1 /mnt      # 挂载系统盘chroot /mnt                       # 进入系统passwd root                &
 
linux   566   2021-07-23
admin
小绿叶技术博客 Lv2 超级管理员

python time.localtime()函数打包成EXE以后 在服务器上 无法运行

python time.localtime()函数打包成EXE以后 在服务器上 无法运行。在win10上可以 sever操作系统不行 2008 2012都不行解决方案:由于win常用桌面系统打包后的软件可能包含其它低端系统不支持的语言,程序不能向下兼容,但是可以向上兼容。通过在服务器等低版本上打包,然后再高配系统运行。
 
windows   837   2021-07-23
admin
小绿叶技术博客 Lv2 超级管理员

linux 内存溢出取消进程

1. Centos8 开机后显示 Activate the web console with: systemctl enable --now cockpit.sockehttps://www.baidu.com/link?url=fONIYGoPf2YJjdhZM5SZsMwjI7FSxPRqmLyhUlY1S6hvabo4FfNzZlFPl5XBkOCdgDMDhh4vqx_o2VjcPjxd9a&wd=&eqid=d886bf14000180e20000000560fa67502. 内
 
linux   560   2021-07-23
admin
小绿叶技术博客 Lv2 超级管理员

Centos8 开机后显示 Activate the web console with: systemctl enable --now cockpit.socke

在“设置”下“共享”中看到“屏幕共享”后,就启动了。重启后只能进入命令行界面,提示信息是:Activate the web console with: systemctl enable --now cockpit.socke 搜索后启动Cockpit:Cockpit介绍自己是一个Web端的系统管理工具,只用鼠标点点就能管理系统,事实上也确实如此,我实际使用来说,启动Cockpit服务之后,只需要鼠标点点点就能完成系统很多基础操作,比如查看系统信息,启动/停止服务,新增或者更改账户,系统更新,We
 
linux   627   2021-07-23
头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息