随笔分类 -  Linux

摘要:整个地球都知道rdesktop,有了它,我们可以从Solaris或者Linux使用Windows,当然Windows要开启Windows Terminal Service。虽然也有基于GTK+的tsclient做配置,我还是倾向直接使用命令行,不仅因为自己习惯使用console命令窗口,而且命令行可 阅读全文
posted @ 2016-03-04 14:56 Earic 编辑
摘要:1、先确认是否已安装ssh服务: [root@localhost ~]# rpm -qa | grep openssh-server openssh-server-5.3p1-19.fc12.i686 (这行表示已安装) 若未安装ssh服务,可输入: #yum(或apt-get) install openssh-server 进行安装 2、修改配置文件 #vi /etc/ssh/sshd... 阅读全文
posted @ 2016-03-02 16:12 Earic 编辑
摘要:You need to install redhat-rpm-config which is required by some of the qt switches, probably: sudo dnf install redhat-rpm-config 阅读全文
posted @ 2016-03-02 13:43 Earic 编辑
摘要:CentOS系统安装之后并不能立即投入生产环境使用,往往需要先经过我们运维人员的优化才行。在此讲解几点关于Linux系统安装后的基础优化操作。注意:本次优化都是基于CentOS(5.8/6.7)。下面我就为大家简单讲解几点关于Linux系统安装后的基础优化操作。注意:本次优化都是基于CentOS(5... 阅读全文
posted @ 2016-01-15 11:22 Earic 编辑
摘要:topas 阅读全文
posted @ 2015-06-11 15:43 Earic 编辑
摘要:不少网友反映在VMWare虚拟机下安装Ubuntu系统后无法安装VMware Tools,这里给出一个简单方法,只需要几步即可解决。 第一步:进入系统后,点击虚拟机上的安装vmware tools,回到桌面回看到一个vmware tools的cdrom图标。 第二步:打开它,复制“vmwaretoo 阅读全文
posted @ 2015-04-25 14:44 Earic 编辑
摘要:设置ip/etc/network/interfaces# This file describes the network interfaces available on your system# and how to activate them. For more information, see ... 阅读全文
posted @ 2015-03-25 17:48 Earic 编辑
摘要:1.先确认是否为openjdk:参考 2. 修改/etc/profile文件 如果你的计算机仅仅作为开发使用时推荐使用这种方法,因为所有用户的shell都有权使用这些环境变量,可能会给系统带来安全性问题。 ·用文本编辑器打开/etc/profile ·在profile文件末尾加入: export J 阅读全文
posted @ 2015-01-27 16:36 Earic 编辑
摘要:如果设置不当,GRUB 2 可能会加载失败,随后进入启动提示符中。要解决此问题,按如下步骤执行:1. 列出 GRUB 2 识别的驱动器:grub2> ls2. 对于一个含有三个分区的 dos 分区表/dev/sda,输出看起来类似于:(hd0) (hd0,msdos3) (hd0,msdos2) (... 阅读全文
posted @ 2014-11-21 11:23 Earic 编辑
摘要:# yum install os-prober# grub2-mkconfig -o /boot/grub2/grub.cfg 阅读全文
posted @ 2014-11-21 11:20 Earic 编辑
摘要:配置yum:编辑/etc/yum.conf添加下列一行:proxy=http://domain/user:passwd@:80:代理服务器的IP 地址注意:代理地址必须以http开头 阅读全文
posted @ 2014-11-21 11:10 Earic 编辑
只有注册用户登录后才能阅读该文。
posted @ 2014-11-16 22:27 Earic 编辑
摘要:1.清除缓存目录(/var/cache/yum)下的软件包命令:yum clean packages2.清除缓存目录(/var/cache/yum)下的 headers命令:yum clean headers3.清除缓存目录(/var/cache/yum)下旧的 headers命令:yum clea... 阅读全文
posted @ 2014-11-16 15:45 Earic 编辑
摘要:Steps to install Google Chrome on Fedora 21A. Create google-chrome.repo fileUse this command to create google-chrome.repo file under /etc/yum.repos.ds... 阅读全文
posted @ 2014-11-16 10:50 Earic 编辑
摘要:#修复ifconfig1、查看 /sbin/ifconfig是否存在 echo $PATH2、查看ifconfig命令是否存在ls /sbin |grep ifconfig如果ifconfig命令存在,查看环境变量设置 #echo $PATH 如果环境变量中没有包含ifconfig命令的路径 临时修 阅读全文
posted @ 2014-10-29 10:35 Earic 编辑
摘要:3、 为单用户引导加上密码 在“/etc/lilo.conf”文件中加入三个参数:time-out,restricted,password。这三个参数可以使你的系统在启动lilo时就要求密码验证。a): 编辑lilo.conf文件(vi /etc/lilo.conf),假如或改变这三个参数:boo... 阅读全文
posted @ 2014-09-03 23:16 Earic 编辑
摘要:1.下载ubuntu的镜像文件:下载地址:http://www.ubuntu.com/download2.下载easybcd软件:点击下载:http://pan.baidu.com/s/1euaEa3.打开刚刚下载的easybcd软件,依次点击“添加新条目”,“NeoGrub”,“安装”后,会激活“... 阅读全文
posted @ 2014-09-03 18:25 Earic 编辑
摘要:对于刚刚接触Linux的人来说,一定会给Linux下一大堆各式各样的文件名给搞晕。别个不说,单单就压缩文件为例,我们知道在Windows下最常见的压缩文件就只有两种,一是,zip,另一个是.rap。可是Linux就不同了,它有.gz、.tar.gz、tgz、bz2、.Z、.tar等众多的压缩文件名, 阅读全文
posted @ 2014-09-03 18:18 Earic 编辑
摘要:个人一般sysctl -p 或sysctl -a比较多使用 sysctl配置与显示在/proc/sys目录中的内核参数.可以用sysctl来设置或重新设置联网功能,如IP转发、IP碎片去除以及源路由检查等。用户只需要编辑/etc/sysctl.conf文件,即可手工或自动执行由sysctl控制的功能... 阅读全文
posted @ 2013-12-16 13:24 Earic 编辑