码迷,mamicode.com
首页 >  
搜索关键字:ubuntu root 密码忘记-恢复    ( 75167个结果
用python执行Linux命令
例1:在python中包装ls命令#!/usr/bin/envpython#pythonwapperforthelscommandimportsubprocesssubprocess.call(["ls","-l"])在Linux中执行该命令[root@pydbpython]#pythonls.py...
分类:编程语言   时间:2014-05-10 01:32:55    阅读次数:377
CentOS Linux 中文输入法安装及设置
安装:1.需要root权限,所以要用root登录,或suroot2.yum install"@ChineseSupport"3.exit4.回到桌面,system->preferences->inputmethod5.如果没有,先注销一下。6.按照提示添加输入法。7.最后 再次注销,登录即可。设置:...
分类:系统相关   时间:2014-05-09 17:44:03    阅读次数:379
Linux下oracle数据库启动和关闭操作
第一步:登陆root登陆之后切换到oracle用户上,输入su oracle第二步:连接在oracle用户下,输入sqlplus /nolog第三步:使用管理员权限输入connect /as sysdba第四步:启动/关闭服务输入startupstartup参数不带参数,启动数据库实例并打开数据库,...
分类:数据库   时间:2014-05-09 16:59:52    阅读次数:390
Ubuntu中useradd和adduser的区别
在Ubuntu中创建新用户,通常会用到两个命令:useradd和adduser,虽然作用一样,但用法却不尽相同。本文接下来便为读者带来具体的解释。AD:51CTO学院:IT精品课程在线看!在Ubuntu中创建新用户,通常会用到两个命令:useradd和adduser。虽然作用一样,但用法却不尽相同:...
分类:其他好文   时间:2014-05-09 12:23:04    阅读次数:236
ubuntu server修改时区
公司用的是ubuntu server 服务器在美国亚马逊VPS现在要修改时区执行:tzselect 或直接修改 /etc/timezone 文件,我是改成(America/Los_Angeles)然后到/usr/share/zoneinfo/下找相应的时区文件复制到/etc/localtime我的是...
分类:其他好文   时间:2014-05-09 12:09:35    阅读次数:311
关于catopen函数
关于catopen函数:参考网址:http://pubs.opengroup.org/onlinepubs/009695399/functions/catopen.html1)编辑消息文件[root@Master catlogTest]# vi msg1.euc1 Hello msg1.euc 12...
分类:其他好文   时间:2014-05-09 11:41:02    阅读次数:841
CAS 4.0.0RC 配置通过数据库认证用户登录
配置通过数据库认证用户登录打开webapp\WEB-INF目录下的deployerConfigContext.xml,替换 为 com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/db_name root 使用j...
分类:数据库   时间:2014-05-09 11:31:43    阅读次数:477
ubuntu wireshark 没有接口
There are no interfaces on which a capture can be done解决方法:Open a terminal by pressingCtrl+Alt+Tand type the following commands:sudo dpkg-reconfigure ...
分类:其他好文   时间:2014-05-08 22:18:45    阅读次数:397
Ubuntu下sudo apt-get install vim 失败的解决办法
Ubuntu下执行命令:sudo apt-get install vim 失败解决办法:更新一下,命令:sudoapt-getupdate再安装即可成功:sudo apt-get install vim
分类:其他好文   时间:2014-05-07 20:11:29    阅读次数:349
ubuntu命令行操作mysql常用操作
登陆mysql harvey@harvey-Virtual-Machine:~/ruby/mydiary$ mysql -u root -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g. 查看所有的数据...
分类:数据库   时间:2014-05-07 20:06:47    阅读次数:452
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!