去年曾经配置过nginx服务器,可惜的是,几个月前因故障磁盘被格式化。今天又要用到nginx服务,所以从新配置了一番,但这次就不是那么顺利了。在此,愿与大家分享一下经验。只是简单的局域网应用,并未复杂配置。 命令行安装: $sudo apt-get install nginx 如果缺少依赖包 ...
修改dnsmasq配置文件 etc dnsmasq.conf 在 etc dnsmasq.conf文件底部增加 Change this line if you want dns to get its upstream servers from somewhere other that etc resolv.conf 如果你想让dns从某个地方 而不是 etc resolv.conf 获得上游服务 ...
2015-07-29 20:07 0 4549 推荐指数:
去年曾经配置过nginx服务器,可惜的是,几个月前因故障磁盘被格式化。今天又要用到nginx服务,所以从新配置了一番,但这次就不是那么顺利了。在此,愿与大家分享一下经验。只是简单的局域网应用,并未复杂配置。 命令行安装: $sudo apt-get install nginx 如果缺少依赖包 ...
备忘用。 一,远程服务器设置: 1,在/etc/exports中添加如下配置: /home/xxx *(insecure,rw,sync,no_root_squash,anonuid=123,anongid=123) 如果insecure选项不添加的话会在后面的mount中报 ...
远程桌面连接Ubuntu14.04服务器 Ubuntu 14.04.5 Server (64-bit) [2017-02-21] 参考博文: 1.* Windows远程桌面连接Ubuntu 14.04 2.* ubuntu14.04 xfce桌面环境安装配置 3. ...
1.安装dnsmasq yum install -y dnsmasq 2.配置配置文件 vim /etc/dnsmasq.conf no-hosts resolv-file=/etc/resolv.dnsmasq.conf strict-order ...
这里记录一下,以Ubuntu 14.04为例。 1.安装samba服务器。 sudo apt-get install samba 2.修改配置文件 sudo vim /etc/samba/smb.conf 然后找到home目录共享的部分,大概是190-214行 ...
<<<<<<<<<<<<<<<<<<<<<<<<< ...
1.将另一个服务器上的文件拷贝到本地 上面命令的意思是将远程服务器/home/aaa/目录下的bbb文件拷贝到本地/ccc/ddd/文件夹下(注:如果服务器ssh的端口为22可省略-p参数;如果服务器ssh的端口不是22需要加上-p参数,后面跟上ssh的端口号) 2.将另一 ...
官网安装教程链接:https://docs.openstack.org/developer/devstack/ 我在ubuntu14.04 LTS 桌面版/服务器版都安装DevStack成功后,在这里记录下安装过程。 介绍下安装环境: VMware Workstation Pro ...