![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
润砾成珠
这个作者很懒,什么都没留下…
展开
-
Linux 固定IP
修改IP永久生效按以下方法vi /etc/sysconfig/network-scripts/ifcfg-eth0(eth0,第一块网卡,如果是第二块则为eth1)按如下修改ipDEVICE=eth0(如果是第二块刚为eth1)BOOTPROTO=staticIPADDR=192.168.0.11(改成要设置的IP)NETMASK=255.255.255.0 (子网掩码)GATEWA原创 2013-08-12 15:00:58 · 547 阅读 · 0 评论 -
no acceptable C compiler found in $PATH
http://www.ccvita.com/257.html http://www.ccvita.com/258.html按这篇文章安装memcached 有点错误no acceptable C compiler found in $PATHyum -y install gcc 就可以解决原创 2013-08-16 09:54:26 · 675 阅读 · 0 评论 -
linux小记
1./etc/sudoers最后一行your_user_name ALL=(ALL)NOPASSWD: ALL 2. /etc/hostname 主机名 ubuntu/etc/sysconfig/network centos3.更新源/etc/apt/sources.listapt-get update原创 2013-10-29 17:18:44 · 475 阅读 · 0 评论 -
Ubuntu只显示桌面
$sudo vim /etc/xrdp/startwm.sh在 . /etc/X11/Xsession 一行前面插入一行:echo "gnome-session --session=ubuntu-2d" > .xsession然后保存退出。$sudo service xrdp restart然后再连接上去,一切OK. 现在连上去桌面显示是Un原创 2014-02-26 16:54:00 · 1091 阅读 · 0 评论