码迷,mamicode.com
首页 >  
搜索关键字:kernel root debian centos    ( 84501个结果
centos7系统通过crontab定时向pg数据库执行命令
1.设置环境变量 # echo 'PATH=/opt/opsmgr/web/components/postgresql96linux64.1/bin/:$PATH' >> /etc/profile # echo 'export PGPASSWORD=ytcmUUNq' >> /etc/profile ...
分类:数据库   时间:2021-05-24 08:13:18    阅读次数:0
Centos 配置交换空间
运行命令free -h,若swap那一行都是0的话表明没有交换空间。dd if=/dev/zero of=/var/swap bs=1024 count=2048000if 表示infile,of表示outfile,bs=1024代表增加的模块大小,count=2048000代表2048000个模块 ...
分类:其他好文   时间:2021-05-24 07:51:25    阅读次数:0
数据库基本命令行
数据库基本命令行 mysql -uroot -p123456 -- 连接数据库 update mysql .user set authentication_string=password('123456')where user='root' and Host = 'localhost'; -- 修改 ...
分类:数据库   时间:2021-05-24 07:46:41    阅读次数:0
k8s pod 如何删除
在k8s 里面如果直接删除pod,, 是起不到作用的,因为删除的pod 还是被继续拉起来。 看下面的例子,我们把 deployment-ngx-8ff559dc9-5v5f7 这个pod 通过kubectl delete pod 的方式删除掉 [root@k8s-master ~]# kubectl ...
分类:其他好文   时间:2021-05-24 07:41:06    阅读次数:0
k8s pod如何重启
在使用 docker 的过程中,我们可以使用docker restart {container_id}来重启容器,但是在 kubernetes 中并没有重启命令(没有 kubectl restart {podname}),有时候我们的 Pod 出现 Bug意外终止,导致我们需要重启 Pod ,却没有 ...
分类:其他好文   时间:2021-05-24 07:38:57    阅读次数:0
mysql8 更改root密码(windows)
1.停止服务 net stop mysql; 2.控制台输入 mysqld --console --shared-memory --skip-grant-tables 3.重新打开一个窗口,进入bin目录下,执行mysql,回车 4.密码置空 update user set authenticati ...
分类:数据库   时间:2021-05-24 07:35:02    阅读次数:0
今日排错---harbor无法登陆failed with status: 502 Bad Gateway
现象 [root@ln0-181 src]# docker login harbor.spos.lab Authenticating with existing credentials... Login did not succeed, error: Error response from daem ...
分类:其他好文   时间:2021-05-24 07:34:00    阅读次数:0
十六、Ansible自动化与http服务器搭建
##1.使用ansible的playbook实现自动化安装httpd 配置ansible主机文件 [root@localhost ~]# vim /etc/ansible/hosts [websrvs] 10.50.100.8 配置ansible与管理端的ssh连接 [root@localhost ...
分类:Web程序   时间:2021-05-24 07:09:02    阅读次数:0
CentOS7防火墙配置
firewall的操作 1.firewalld的基本使用 启动: systemctl start firewalld查状态:systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld在开 ...
分类:其他好文   时间:2021-05-24 06:54:27    阅读次数:0
给驱动添加sysfs设备模型(基于中断的按键程序)
linux kernel version:4.4.38 硬件平台:exynos4412-tiny4412 参考链接:https://www.cnblogs.com/ethandlwang/p/14759735.html 基于上一篇按键点灯程序,我给设备驱动添加了sysfs设备模型,demo级程序 添 ...
分类:其他好文   时间:2021-05-24 06:51:38    阅读次数:0
84501条   上一页 1 ... 33 34 35 36 37 ... 8451 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!