Linux启动vi编辑器时提示E325: ATTENTION怎么办?

当打开Vi编辑器时出现以下的提示时不要着急 E325: ATTENTION Found a swap file by the name “/etc/.profile.swp” owned by: root dated: Wed Jul 14 10:01:10 2010 file name: /etc/profile modified: YES user name: root host name: zhaoyang-laptop process ID: 1934 While opening file “/etc/profile” dated: Thu Apr 29 20:18:30 2010 (1) Another program may be editing the same file. If this is the ca...

Linux安装PyCharm时提示cannot start PyCharm错误怎么办?

Error: cannot start PyCharm No JDK found to run PyCharm. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.解决方法: 进入jdk目录, cd 。。/。。/jdk1.7.0_60/ 执行 export JAVA_HOME= 。。/。。/jdk1.7.0_60/(按各自电脑的jdk目录设置) 然后重新安装pycharm即可。 上面就是Linux安装PyCharm提示错误的解决方法,如果你在安装的过程中出现了错误提示,...

修改linux下命令提示行路径长度

为您提供默认的路径提示为完整的路径,这样一行就很长了,可能会占全部的宽度,看着很不爽!就像下面这样jack@ubuntu:~/trunk-newild_dir/target-mips_34kc_uClibc-0.9.33.2nux-ar71xx_genericnux-3.10.17/net/netfilter/commercials$基本占用终端80%的宽度,如果能改成只显示最后一个文件夹的名字就好了!修改方法:vim ~/.bashrc搜索PS156 if [ "$color_prompt" = yes ]; then 57 PS1=${debian_chroot:+($debian_chroot)}[#0...

Linux安装yum时提示ERROR:dbus错误如何解决?

问题: 使用yum install somexx -y的时候,执行到 Installed products updated.报如下错误: ERROR:dbus.proxies:Introspect error on :1.261:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout ...

电脑公司解答win7系统虚拟机安装linux提示network error的修复办法

win7系统虚拟机安装linux提示network error问题,如果我们遇到了win7系统虚拟机安装linux提示network error的问题,要怎么处理win7系统虚拟机安装linux提示network error呢?我们只用1、检查网卡设置,重启之后依旧提示上述问题,关闭虚拟机设置。找到编辑虚拟机配置,把设置的网卡移除重新添加(同时注意网卡方式推荐用桥接); 2、物理网卡检查,找到我的电脑计算机管理---设备管理器里面。看看网卡配置,和其他配置里面是不是有...

修改Linux密码提示it is based on a dictionary word怎么办?

用passwd修改用户密码,常常提示“BAD PASSWORD: it is based on a dictionary word”。实际上linux要求的密码验证机制是在/etc/login.defs中规定最小密码字符数;同时还要受到/etc/pam.d/passwd的限定。 如果是在root用户下怎么设置都可以,可以不受验证机制的约束,即便出来“BAD PASSWORD: it is based on a dictionary word”也可以修改成功。 但是普通用户修改自己的密码,如果不符合密码验证机制的话就修改不成功,会有各种...

Linux终端提示符路径长度的修改方法

基本上Linux系统下默认的路径提示为完整的路径,虽然是完整的路径但是真的很长,看上去很不方便,是指有时候可能会占全部的宽度,看上去让人眼花缭乱,就像下面的例子: linuxidc@Ubuntu:~/trunk-new/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.10.17/net/netfilter/commercials$ 基本占用终端80%的宽度,如果能改成只显示最后一个文件夹的名字就好了! 修改方法: 代码如下: vim ~/.bashrc 搜索...

去掉linux警告音-嘟嘟声-错误提示音关闭的办法

【可以通过下面的命令关掉它。】 【 rmmod pcspkr】 【 如果你想重新打开它,可以使用下面的方法。】 【 modprobe pcspkr】 【 当然,上面的方法只是临时起效,重新启动后beep依旧,彻底关掉beep的方法如下:】 【 如果用的是bash作shell,在~/.bashrc的最后添加 】 【 setterm -blength 0】 【 xset -b】 【 在 console 下: setterm -blength 0】 【 在 X-win 的 terminal 下: xset -b】 【本文来自为您提供如需...

Linux下TWiki安装LDAP时提示错误怎么办?

TWiki中安装LDAP出现报错,如下: [Mon Dec 15 09:40:17 2014] [error] [client 172.17.60.125] [Mon Dec 15 09:40:17 2014] view: defined(%hash) is deprecated at /var/www/twiki/lib/CPAN/lib//Locale/Maketext/Lexicon.pm line 286., referer: https://172.17.200.51/twiki/bin/configure?t=1418607599 [Mon Dec 15 09:40:17 2014] [error] [client 172.17.60.125] [Mon Dec 15 09:40:17 2014] view: ...

Linux下使用xfs时提示没有磁盘空间的情况该如何处理

日前,同事反馈一个问题:在一个大分区(24T)中使用xfs文件系统,用来做历史文件备份,突然提示没有磁盘空间错误,先检查下: 代码如下: [root@imysql ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/sdb1 xfs 19T 16T 2.4T 88% /backup《/p》 《p》[root@imysql ~]# df -hi Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sdb1 9.3G 3.4M 9.3G 1% /backup 可以看到,不管是物理空间,还是inode,...