Category: Systems&Servers
-
‘rsync’ command source and destination explained
rsync command is super useful because it could incrementally sync files between locations without the overhead of compressing and transferring. There are heaps of tutorials about how to use it, how very few cover the point that how to sync two folders, which I believe is the most common use. I’d run rsync -avzP dir1…
-
Add permanent route for VPN connections on Windows 10
Add-VpnConnectionRoute -ConnectionName “YPC” -DestinationPrefix “10.1.1.0/24” -PassThru
-
Fix! Unable to Remove bluetooth devices/mouse/keyboard/speaker issue for Windows 10
This is the only working solution for me. Enjoy. My symptoms: – Previously working bluetooth speaker (UE BOOM 2 in my case) stops connecting – Windows 10 ‘Bluetooth and other devices’ menu shows the device as Paired – Pressing connect makes it attempt to connect but fails then it goes back to Paired – Remove…
-
wdlinux面板wdcp失效的问题
前些日子帮一个朋友恢复wdcp的数据,恢复完成之后发现站点操作全部执行失败,仔细找了一天无果。后来将wdcp的wdapache、wdphp打开错误日志,看到了一个sudo相关的错误,本来就知道应该是权限导致的问题,现在sudo的错误提示更说明了这一点。 于是乎打开sudo的配置文件/etc/sudoers,发现home是有特殊权限的,于是将home分区重新加载到别的分区,然后在wdcp系统面板中更改了新分区,问题解决。 以前一直没想明白面板用户是怎样管理别的用户的文件的,我太傻了,可以sudo嘛,当然为了安全起见,最好在/etc/sudoer里指定用户可以执行的命令。
-
日本CentOS 5升级源
VPS.net的日本服务器IP是归属是美国,故yum的fast mirror功能没法用,升级速度巨慢,于是找了个日本CentOS 5镜像,速度不错。
-
Win2003作中转VPN服务器多路由共享上网的方法
《Windows 2003 上配置 VPN + NAT共享上网》中已经介绍了如何利用windows 2003共享上网。现在的情况的,我还想上twitter, youtube等应用
-
CentOS中用dropbear替换OpenSSH
dropbear是轻量的sshd服务器,与OpenSSH相比,他更简洁,更小巧,运行起来占用的内存也更少。
-
为CentOS/Redhat/Fedora添加多个IPv6地址
为CentOS/Redhat/Fedora批量增加IPv6地址的两种方法,一种是执行命令方法,另一种是修改配置文件的方法。
-
Tunnelier使用教程
Tunnelier是Bitvise团队开发的一个ssh客户端,功能包括ssh客户端、sftp客户端、端口转发功能(tunnel)。