首页 » Archive by category 'Tutorials'

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 ... [阅读全文]

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... [阅读全文]

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) rpcbind.target 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 ... [阅读全文]

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... [阅读全文]
ė 6Comments Off on HP 服务器 UID 指示灯的作用 0,

Google Chrome 绿化与个性化教程

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

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: https://iperf.fr/ But the version stays at 2 which does not have some amazing ne... [阅读全文]
ė 6Comments Off on Test Peer to Peer Connection Speed with iperf3 0,

备份与还原MySQL从服务器

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... [阅读全文]
ė 6Comments Off on 备份与还原MySQL从服务器 0

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

lesca | SQL, Tutorials | 2015-03-31
MySQL的主从复制广泛用于数据库备份、故障转移、数据分析等场合。 MySQL主从复制基于主服务器在二进制日志中跟踪所有对数据库的更改(更新、删除等等)。因此,要进行复制,必须在主服务器上启用二进制日志。从服务器从主服务器接收已经记录到其二进制日志的更新,当一个从服务器连接主服务器时,主服务器从日志中读取最后一次成功更新的位置,从服务器... [阅读全文]
ė 6Comments Off on 在CentOS 7上配置MySQL的主从复制模式 (Master-Slave Replication) 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: 10.10.10.1 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 ... [阅读全文]
ė 6Comments Off on How to configure your proxy client 0

加速WEB访问:使用DNSmasq与squid代理并过滤广告

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

坑爹!iOS8不支持LEAP了!

lesca | Tutorials | 2014-10-25
故事背景 这两天研究了下Cisco无线AP的Local Radius Server功能。本来是思路很清楚的事情,可是配好后发现我的iphone怎么也连不上去! 后来调查了一下,才发现iOS8竟然不支持LEAP了[4]!!折腾了两天~~ 还是把主要步骤写下吧~~ 配置命令 VLAN SZH2_Mobile1(config)#interface Dot11Radio 0.1 SZH2_Mobile1(config-subif)#encapsulation dot1Q 1 nat... [阅读全文]
ė 6Comments Off on 坑爹!iOS8不支持LEAP了! 0

vSphere Client: Ports redirect with portproxy on Windows 7 (端口转发)

lesca | Tutorials | 2014-08-17
vSphere Client: Ports redirect with portproxy on Windows 7 (端口转发)
【本文面向全球访客,故以英语撰写,请国内访客见谅】 As China ISP blocks http port(80), my vSphere client often reconnects due to connection timeout. Modifying VpxClient.exe.config won’t solve this issue, so if there could be a DNAT locally on windows 7, it may solve my problem! It’s very easy to set up DNAT on linu... [阅读全文]
ė 6Comments Off on vSphere Client: Ports redirect with portproxy on Windows 7 (端口转发) 0, ,

Tutorial: AirPrint on Windows

lesca | Tutorials | 2014-08-09
Tutorial: AirPrint on Windows
Install AirPrint Service 安装AirPrint服务 Note: Please install iTunes first. 注意: 请先安装iTunes Download AirPrint.zip from here: http://pan.baidu.com/s/1nt1LnLn 下载AirPrint.zip: http://pan.baidu.com/s/1nt1LnLn Unzip AirPrint.zip, copy the folder to c:\Program Files (x86) or somewhere else. 解压到c:\Program Files (x86)... [阅读全文]
ė 6Comments Off on Tutorial: AirPrint on Windows 0, ,

OpenWRT: 如何编译gevent (compile gevent for OpenWRT)

lesca | Tutorials | 2014-03-01
最近折腾了一下OpenWRT实现GoAgent翻墙的办法,但是事实证明,GoAgent在OpenWRT里表现的非常差劲,于是转用WallProxy。WallProxy是GoAgent的前辈,有一段时间貌似停止维护了,从WallProxy那里fork了一下就产生了GoAgent。 在路由器里运行无论GoAgent也好,WallProxy也罢,没有gevent的帮忙,就会大量消耗CPU的资源。为此,编译能够使用的gevent库显得非... [阅读全文]

OpenWRT: 扩容trx格式固件的刷机包大小 (for brcm47xx)

lesca | OpenWRT, Tutorials | 2014-03-01
OpenWRT默认的trx刷机包大小为8MB,由于路由器FLASH芯片已改16MB,为了能生成更大的刷机文件,需要修改源码完成。 修改方法比较简单: 找到文件 tools/firmware-utils/src/trx.c 找到该行: #define TRX_MAX_LEN 0x7c0000 将这行修改成: #define TRX_MAX_LEN 0xfc0000 具体如何找到的我就不多说了,大体思路是更具错误消息定位生成trx... [阅读全文]
ė 6Comments Off on OpenWRT: 扩容trx格式固件的刷机包大小 (for brcm47xx) 0, ,
Ɣ回顶部