搜索""的结果
openvpn connect v1.16 for android 安卓版本openvpnopenvpn 下载地址
linuxSVN版本库及同步文件到WEB目录 一 安装与配置SVN1.安装subversioncentos: yum install subversionubuntu: apt-get install subversion 2.建立版本库,本例中我们的版本库建立在/var/svn,假设该版本库目录为:foocd /varmkdir svnsvnadmin create foo 3.配置版本库刚才建立的版本库,需要配置认证方式,用户名和密码,权限配置这三个文件,分别对应/var/svn/foo/conf下的svnserve.conf,passwd和authz这三个文件。svnserve.conf(去掉注释)anon-access = noneauth-access = writepassword-db = passwdauthz-db = authz.confrealm = 填写登录时提示的认证域名称 passwd文件添加相应用户名和密码:user1 = password1user2 = password2如果要使用通用的用户名密码和权限认证,指定password-db和authz-db路径到相应passwd和authz.conf文件位置即可 authz文件添加相应用户名到组并分配库权限:[groups]foo_user = user1,user2 (多个用户以逗号分隔)[/]@foo_user = rw* = 其中*=意味着匿名用户没有权限,引用组名时要加上@符号 4.启动和使用配置成功以后,启动svn版本库服务svnserve -d -r /var/svn获取版本库...
Linux下SVN部署/安全及权限配置,实现web同步更新内容目录:1.SVN版本库目录说明2.SVN服务配置文件:svnserve.conf3. 详细权限配置文件authz:本文包含以下内容:SVN服务器安装SVN权限管理SVN使用SASL加密SVN上传时同步其它目录 需求在WEB线上版本管理的基础上,能够在代码上传之后,立刻通过WEB访问,查看修改效果;同时,保证数据的安全性; SVN安装 SVN服务器有2种运行方式:独立服务器和借助apache运行。svnserve和apache相比是轻量级的,也比较简单,svnserve包含在subversion里面,所以只要安装了subversion就相当于安装了一个小型的svn服务器。它使用自己的一套协议通信。例如访问apache时使用 http:// 前缀,而svnserve使用 svn:// 前缀.这里介绍的是通过独立服务器方式运行,优点是简单小巧。如果是支持较大规模的开发,还是推荐使用apache服务器方式;这里使用svnserver安装; 1.首先为SVN单独创建一个用户,这样可以使用操作系统的安全特性; 2.将svnadmin这个用户加入到sudu组; 3.安装: sudo apt-get install subversion4.创建测试目录: mkdir /home/svnadmin/test5.创建版本库: svnadmin create /home/svnadmin/test4. 导入项目例如现在有个...
ubuntu下安装l2tp进行vpn拨号 Connecting to a L2TP/IPSec VPN from Ubuntu desktop In my previous post, “Secure IPsec/L2TP VPN for on the road android devices” I have written on how to set up an IPsec/L2TP VPN server and connect to it from any android device. I was really impressed how simple it was to configure a secure VPN tunnel with IPSEC, so I decided to go a bit further and try to use the same tunnel with Ubuntu Desktop. Unfortunately the IPsec/L2TP client side isn’t well supported under Linux, this is maybe beacuse everyone is using OpenVpn. At the end I stumbled into Werner Jaeger launchpad page, where I found aGUI to manage IPsec/L2TP connection from Ubuntu Desktop, the connection set up is very straightforward and without glitches. Along with a simple PSK configuration, the GUI allow to use certificate for authentication and more advanced L2TP options as redial- timeout and attempts and of course all important PPP options.A more extended guide can be found...
centos默认使用UTC时区,中国用户需要修改成自己的时区,这篇文章主要介绍了centos更改时区的方法,需要的朋友可以参考下对于中国用户,如果centos默认使用UTC时区,那时间相差八个小时,其实可以通过简单的设置,变为中国时区,这时候机器上的时间和本地手表上的时间就是一致的。执行如下命令:cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime就可以了,如果没有看到/Asia/Shanghai文件,手动执行以下 tzselect ,按照提示选择即可。完毕![root@oracle ~]# timedatectl Local time: 五 2015-11-06 16:32:18 CST Universal time: 五 2015-11-06 08:32:18 UTC RTC time: 五 2015-11-06 08:32:23 Timezone: Asia/Shanghai (CST, +0800) NTP enabled: yesNTP synchronized: yes RTC in local TZ: yes DST active: n/aWarning: The RTC is configured to maintain time in the local timezone. This mode is not fully supporte...
用tzselect和tzconfig可以设置时区。于是,先用tzselect试了下,结果提示什么root@ubuntu:etc# tzselect /usr/bin/tzselect: line 171: /etc/iso3166.tab: No such file or directory/usr/bin/tzselect: time zone files are not set up correctly在网上找了下资料没什么头绪,又试了下tzconfig,结果又提示WARNING: the tzconfig command is deprecated, please use: dpkg-reconfigure tzdataCentos 系统可以使用yum reinstall tzdata 重新安装软件包。最后用dpkg-reconfigure tzdata才成功了,接下来再配置好/etc/ntp.conf才算结束。 #server 0.ubuntu.pool.ntp.org #server 1.ubuntu.pool.ntp.org #server 2.ubuntu.pool.ntp.org #server 3.ubuntu.pool.ntp.org server ntp.sjtu.edu.cn
经常copy大文件,由于服务器、路由等网络的不确定性,老是出现remote server not responding.于是查了下资料,发现rsync这个工具支持断点续传功能,这里介绍一下。 rsync也分服务器端和客户端,使用man查看帮助信息,我们发现rsync有六种不同的工作模式: Local: rsync [OPTION...] SRC... [DEST] Access via remote shell: Pull: rsync [OPTION...] [USER@]HOST:SRC... [DEST] Push: rsync [OPTION...] SRC... [USER@]HOST:DEST Access via rsync daemon: Pull: rsync [OPTION...] [USER@]HOST::SRC... [DEST] rsync [OPTION...] rsync://[USER...
最新评论