文章目录
- 1. How to display the numbers of the row in ```vi```editor?
- 2. How to open a word file in linux?
- 3. Log in the cluster without passwords ?
- 4. How to install Linux system(Fedora or Ubuntu) on a MacBook Air?
- 5. 如何制作和查看PostSctipt文件
- 6. 查看CPU是几核
- 7. Chrome快速加载网页中的所有图片并保存的方法
- 8. gedit中文乱码解决方法(Ubuntu-14.04)
- 9. ibus拼音输入法混乱解决方法(Ubuntu-14.04)
- 10. WPS安装(Ubuntu-14.04)
1. How to display the numbers of the row in vi
editor?
First open a file with vi
command. Then assure you are in the command mode. Finally, input set nu
and press Enter.
2. How to open a word file in linux?
Input openoffice.org fileName
in the command window.
3. Log in the cluster without passwords ?
(单机免密码登陆)
- Input
ssh-keygen -t rsa
in the terminal of the local computer, and pressEnter
3 times; - Input
scp ~/.ssh/id_rsa.pub xxx@192.168.1.1:~/
, and then input your passwords; - Log in the cluster and
cat id_rsa.pub >> .ssh/authorized_keys
- You can log in the cluster by input
ssh xxx@192.168.1.1
without password on your local computer
(多机同时免密码登陆)
- 如果此操作影响了在集群不同主机之间的无密码登录,则可以将集群中的
id_rsa.pub
也加入authorized_keys
,
具体做法为:运用cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
命令使得集群中可以有多个免密码登录的许可。 - 如果在远程登录时出现提示
Agent admitted failure to sign using the key
,请重启电脑,或者在本地电脑
中输入ssh-add ~/.ssh/id_rsa
(后一种方法我还没有试过,因为重新启动后问题就解决了)
4. How to install Linux system(Fedora or Ubuntu) on a MacBook Air?
参考网址:http://jingyan.baidu.com/album/4853e1e565dc781908f72657.html?picindex=3
- 下载Fedora Workstation iso文件(百