Manually setup Azure Point-to-Site (P2S) VPN on client computer

lesca | Azure, Tutorials | 2017-06-19
Manually setup Azure Point-to-Site (P2S) VPN on client computer
Introduction Azure point to site VPN uses SSTP (Secure Socket Tunneling Protocol) to establish VPN connection. The default port is on 443. So the prerequisite is that you have finished setup a P2S VPN on Azure: Configure a Point-to-Site connection to a VNet using the Azure portal Today, I am going to show you how to manually ... [阅读全文]
ė浏览 53 次 6没有评论 0,

Mount VHD at Windows startup with PowerShell

lesca | Troubleshoot, Tutorials, Windows | 2017-05-29
Create a scheduled task Command: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe Parameter: -ExecutionPolicy ByPass -file "C:\VHD\mountVHD.ps1" Powershell Script to mount VHD Method1: Mount-DiskImage (Recommended) This is the recommended command to mound VHD as it does not rely on the Hyper-V role. Mount-DiskIma... [阅读全文]
ė浏览 179 次 6没有评论 0, , ,

Solve without rejoining domain: The trust relationship between this workstation and the primary domain failed

lesca | Windows | 2017-05-23
Introduction You might have encountered this error message many times: “The trust relationship between this workstation and the primary domain failed”. The general solution is dis-joining and re-joining the domain. Any other ways without doing so? The answer is yes. Error message The trust relationship between thi... [阅读全文]
ė浏览 213 次 6没有评论 0, , ,

WDS PXE issue: PXE-E16: No offer received

lesca | Windows | 2016-12-25
WDS PXE issue: PXE-E16: No offer received
Issue Description: The problem server installed the follwing roles: WDS DHCP WSUS RRAS (Route and Remote Access Service) The WDS service is configured with Active Directory integrated, everything seems configured correctly. But a Hyper-V Gen2 VM client is not possible to boot with PXE. Message is "DHCP failed". If you redir... [阅读全文]
ė浏览 3,473 次 63条评论 0, , ,

Debian or Raspbian: nfs-kernel-server not starting portmapper is not running

lesca | Tutorials | 2016-05-04
Error Message Debian or Raspbian: nfs-kernel-server not starting portmapper is not running … (warning) Fix Steps Here is my first try, but it doesn’t work for me. It just reset the configs. So if you messed it up, try this first. apt-get purge rpcbind nfs-kernel-server nfs-common apt-get install ... [阅读全文]
ė浏览 11,979 次 63条评论 0, , ,

HP 服务器 UID 指示灯的作用

lesca | Tutorials, Uncategorized | 2015-09-27
The Virtual Indicators allow you to monitor, and in some cases control, the state of indicators on the host system, including the Unit Identification Light (UID). The Unit Identification Light (UID) The UID helps you identify and locate a system, especially in high-density rack environments. Additionally, the UID is used to i... [阅读全文]
ė浏览 14,736 次 6没有评论 0,

Google Chrome 绿化与个性化教程

lesca | Tutorials | 2015-05-07
由于chrome v30开始有些特性不讨人喜欢,所以很多人喜欢停留在v29,只是在保留老习惯的同时,一些新的扩展就不能使用了。但是总不能让谷歌任行其道对吧?Lesca将以v29为例,介绍如何绿化Chrome,并在v29上使用Chrome Web Store上的新版本扩展,如Proxy SwitchyOmega。下面先奉上做好的绿色版。 做好的绿色版 百度网盘下载 下载好后解压... [阅读全文]
ė浏览 26,763 次 62条评论 0, , ,

Test Peer to Peer Connection Speed with iperf3

lesca | CentOS, Tutorials, Windows | 2015-04-08
Hi! I am writing to explain how to test your network connection between your client (Windows or Linux) and another client (say, a remote server). The tool is iperf version 3. You can find some useful explanations and examples on this French site: But the version stays at 2 which does not have some amazing ne... [阅读全文]
ė浏览 21,567 次 6没有评论 0,


lesca | SQL, Tutorials | 2015-04-01
上一节中我们介绍了如何在CentOS 7上配置MySQL的主从复制模式,今天Lesca将介绍如何备份和还原MySQL的从服务器,平台仍然是CentOS 7。 使用mysqldump进行备份和还原 使用mysqldump进行备份 mysqladmin stop-slave -uroot -p mysqldump --all-databases > fulldb.dump mysqladmin start-slave -uroot -p tar -czf /tmp/dbdump.tar.gz ./fulldb.dump... [阅读全文]
ė浏览 27,785 次 6没有评论 0

在CentOS 7上配置MySQL的主从复制模式 (Master-Slave Replication)

lesca | SQL, Tutorials | 2015-03-31
MySQL的主从复制广泛用于数据库备份、故障转移、数据分析等场合。 MySQL主从复制基于主服务器在二进制日志中跟踪所有对数据库的更改(更新、删除等等)。因此,要进行复制,必须在主服务器上启用二进制日志。从服务器从主服务器接收已经记录到其二进制日志的更新,当一个从服务器连接主服务器时,主服务器从日志中读取最后一次成功更新的位置,从服务器... [阅读全文]
ė浏览 26,528 次 6没有评论 0

FreeRadius3 of CentOS7: [sql] = notfound

lesca | CentOS, Troubleshoot | 2015-03-04
Problem (0) sql : expand: "%{User-Name}" -> 'demo' (0) sql : SQL-User-Name set to 'demo' rlm_sql (sql): Reserved connection (4) (0) sql : expand: "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id" -> 'SELECT id, username, attribute, value, op FROM radchec... [阅读全文]
ė浏览 18,789 次 6没有评论 0,

How to configure your proxy client

lesca | Tutorials, VPN | 2015-02-17
How to configure your proxy client
You can use a proxy server to access the complete web features as usual. HTTP Proxy Server: Port: 3128 Internet Explorer If you are using IE, you should go to Internet Options -> Connections -> Dial-up and Private Network settings, find the dial connection and click the Settings button. From there, you will find ... [阅读全文]
ė浏览 24,654 次 6没有评论 0


lesca | CentOS, Tutorials | 2015-02-07
简介 DNSmasq是一个小巧且方便地用于配置DNS和DHCP的工具,适用于小型网络,提供了DNS功能和可选择的DHCP功能。通过其DNS缓存的功能,可以大大提高公共网络中的域名解析速度,从而提升网站访问速度。 squid代理服务提供了WEB页面缓存的功能,也可以帮助用户加速网站的访问,还能进行必要的行为管控(如禁止访问某些网站、过滤网页中的某些内容等)。本... [阅读全文]
ė浏览 30,608 次 6没有评论 0, , ,

CentOS 7 安装wordpress 权限问题

lesca | CentOS | 2014-12-23
CentOS 7 安装wordpress 权限问题
如果你的wordpress安装目录是wordpress,则通过默认向导配置会出现权限不足的情况: Sorry, but I can’t write the wp-config.php file. You can create the wp-config.php manually and paste the following text into it. 或者 抱歉,但是向导在您的文件系统中没有足够的权限写入wp-config.php文件。 这时候,首先考虑wordpress文件夹的所属... [阅读全文]
ė浏览 30,425 次 63条评论 0,


lesca | life, Math | 2014-11-04
今天是2014年11月4日,访问本站速度异常,MTR检测后发现,有两个节点丢包在90%左右,分别是202.97.27.14和202.97.33.134。这两个节点分别是江苏电信骨干和上海电信骨干。 # mtr -n --report Start: Tue Nov 4 12:54:01 2014 HOST: localhost.localdomain Loss% Snt Last Avg Best Wrst StDev 1.|-- ... [阅读全文]
ė浏览 23,468 次 6没有评论 0