摘要:        
1.命令格式: find pathname -options [-print -exec -ok ...] 2.命令功能: 用于在文件树种查找文件,并作出相应的处理 3.命令参数: pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。 -print: fi    阅读全文
posted @ 2018-09-07 15:23
黒貓
阅读(1650)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.开启 ./nmon_x86_64_slesll C:CPU M:内存 N:网络 D:硬盘 h:帮助信息 2.生成CSV文档 ./nmon_x86_64_slesll -f -t -s 30 -c 120 -s 30 :是每30秒一次 -c 120:是采集120次 3.查看文档 用nmon_ana    阅读全文
posted @ 2018-09-07 15:22
黒貓
阅读(667)
评论(0)
推荐(0)
        
            
        
        
摘要:        
直接执行这两个命令即可: sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100 sudo update-alternatives --install /usr/bin/python python     阅读全文
posted @ 2018-09-07 15:21
黒貓
阅读(249)
评论(0)
推荐(0)
        
            
        
        
摘要:        
今天在ubuntu进行ssh安装的时候,出现如下错误。 Reading package lists... Done Building dependency tree... Done Package ssh is not available, but is referred to by another    阅读全文
posted @ 2018-09-07 15:20
黒貓
阅读(723)
评论(0)
推荐(0)
        
            
        
        
摘要:        
ubuntu安装好后,root初始密码(默认密码)不知道,需要设置。 1、先用安装时候的用户登录进入系统 2、输入:sudo passwd 按回车 3、输入新密码,重复输入密码,最后提示passwd:password updated sucessfully 此时已完成root密码的设置 4、输入:s    阅读全文
posted @ 2018-09-07 15:20
黒貓
阅读(1271)
评论(0)
推荐(0)
        
            
        
        
摘要:        
转载地址:https://blog.csdn.net/u010176014/article/details/51930877 现象描述:Ubuntu能Ping通主机,主机也能ping通虚拟机。而且,虚拟机也能上网。只是xshell不能连接。 解决方案: 一:使用管理员身份 设置防火墙。 先查看一下防    阅读全文
posted @ 2018-09-07 15:19
黒貓
阅读(651)
评论(0)
推荐(0)
        
            
        
        
摘要:        
ubuntu 安装pip # 1. 更新系统包 sudo apt-get update sudo apt-get upgrade # 2. 安装Pip sudo apt-get install python-pip # 3. 检查 pip 是否安装成功 pip -V # 1. 更新系统包 sudo     阅读全文
posted @ 2018-09-07 15:18
黒貓
阅读(219)
评论(0)
推荐(0)
        
            
        
        
摘要:        
转载地址:https://www.cnblogs.com/wangbaobao/p/7087032.html 本意向修改一个用户的密码,网上搜到的命令为如下 1 mysql> update user set password=password(“新密码”) where user=”用户名”; 1 m    阅读全文
posted @ 2018-09-07 15:17
黒貓
阅读(231)
评论(0)
推荐(0)
        
            
        
        
摘要:        
转载地址:https://blog.csdn.net/cym_lmy/article/details/78315139 ; ubuntu 16.04本身是自带python的,他本身是自带2.X和3.X,两个版本,默认的是2.X。这里记录一下如果在版本间切换以及如何把python版本切换到3.X下的方    阅读全文
posted @ 2018-09-07 15:17
黒貓
阅读(550)
评论(0)
推荐(0)
        
            
        
        
摘要:        
转载地址:https://blog.csdn.net/lgyaxx/article/details/73206487 有时候我们的程序可能需要连接到远程数据库,但是远程连接涉及到了安全性的问题,而今天要为大家讲解一下如何在Ubuntu下开放MySQL的远程连接权限。 我的服务器选择的是Linode,    阅读全文
posted @ 2018-09-07 15:16
黒貓
阅读(242)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号