Ubuntu Config
来源:互联网 发布:制作动画的软件 知乎 编辑:程序博客网 时间:2024/04/27 17:03
Ubuntu Network Config
Static IP Address:
1) set IP address, gateway
sudo gedit /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.26
netmask 255.255.255.0
gateway 192.168.0.1
2) set DNS server
sudo gedit /etc/resolv.conf
# Generated by NetworkManager
domain domain
search domain
nameserver 202.106.46.151
nameserver 202.106.195.68
3) set route table (optical)
sudo gedit /etc/hosts
127.0.0.1 localhost
127.0.1.1 xqliu-desktop
10.42.10.11 monet
10.42.10.15 intranet
10.42.10.11 monet.talend.com
10.42.10.15 intranet.talend.com
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
安装ubuntu的服务配置工具:
sudo apt-get install sysv-rc-conf
使用ubuntu的服务配置工具:
sudo sysv-rc-conf
Ubuntu进入字符界面的方法:
1.cd /etc/rc3.d
2.将该目录下的gdm删除(gdm就是图形界面)
3.sudo vi /etc/inittab
4.将默认的内容 id:5:initdefault: 修改成 id:3:initdefault:
5.这样系统启动时将进入Level3,而Level3中没有配置图形界面,这样就可以进入字符界面了
Ubuntu的文件管理器:
nautilus
使用"dpkg --get-selections > pkg.list"命令来获得一个完整详尽的已装软件列表,备份/etc和/home文件夹到一个独立分区,然后就可以随时恢复你的系统了,而且超简单。
Ubuntu重启网络
sudo /etc/init.d/networking restart
Ubuntu修改ssh端口号
1, sudo vi /etc/ssh/sshd_config
修改port 22 为 port 端口号
2,sudo /etc/init.d/ssh restart
重启ssh
附 ssh连接方法
ssh username@IP -p 端口号
- Ubuntu Config
- Config the ubuntu
- vmware ubuntu ip config
- ubuntu 中的 pkg-config
- ubuntu config default java
- Ubuntu synergy server config
- ubuntu config FTP Server
- Ubuntu 之 simple config
- Ubuntu config git
- Ubuntu config for SLAM
- ubuntu maven install&config
- ubuntu vsFtp setup and config
- [Linux] ubuntu 中的pkg-config
- config cgal4.7 on ubuntu
- ubuntu server partation config example
- Config firefox after install ubuntu
- Config Caffe on Ubuntu 16.04
- ubuntu 10.0.4 config nfs server
- eclipse使用中内存溢出(缓存)的问题
- Linux系统资源限制
- 赢家通吃及其衍生
- 主键与外键的概念(今天的面试题!)
- 小儿咳嗽
- Ubuntu Config
- 运行库出现的链接问题
- 郭德纲恶心人台词大全
- Makefile的编写
- 基于MFC的OpenGL绘图
- osworkflow2.8的布署
- 邦博仕湖州店今天起正式运营!
- 在MID使用Gnome Canvas实现连续的仿射变换的问题
- 为Ubuntu 8.10安装多媒体影视工具能播放AVI