安装GNOME图形环境 yum groupinstall "GNOME Desktop"
这个网站写的非常详细,比较实用,建议细看。
这个是中科大老师整理的技术文档,非常实用。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user:myusername #tag | |
例如: | |
user:wangxianhe #torque | |
参考资料: | |
https://stackoverflow.com/questions/2082723/how-do-you-manage-your-gists-on-github |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
操作比较简单,不详细说了,参考下面命令: | |
HOME=/home/wxh #对应用户账号家目录,此处以/home/wxh为例 | |
ssh-keygen -t dsa -N "" -f "$HOME/.ssh/id_dsa" | |
cp -r $HOME/.ssh/id_dsa.pub $HOME/.ssh/authorized_keys | |
echo "StrictHostKeyChecking no" >> $HOME/.ssh/config | |
chmod 600 $HOME/.ssh/config | |
chmod 600 $HOME/.ssh/authorized_keys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nfs服务端 | |
## 1、安装软件包 | |
yum -y install nfs-utils | |
## 2、启动服务 | |
systemctl start rpcbind | |
systemctl start nfs | |
systemctl enable rpcbind | |
systemctl enable nfs | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
刚安装的CentOS7自带的yum源不好使,需要换。 | |
# 修改默认yum源为网易的mirrors.163.com | |
1、首先备份系统自带yum源配置文件。 | |
[root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup | |
2、下载163的yum源配置文件到/etc/yum.repos.d/ | |
[root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS7-Base-163.repo | |
3、运行yum makecache生成缓存,然后就可以使用了。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
参考资料: | |
https://dcamero.azurewebsites.net/shadowsocksr.html#linux |