首页 文章 精选 留言 我的

精选列表

搜索[Git配置],共10000篇文章
优秀的个人博客,低调大师

配置 Lync 2010 for iPhone

Enabling Lync 2010 for iPhone, iPad, Android and Other Mobile Devices Microsoft recently announced their support to third party smartphones such as iPhone, iPad, Android, and Nokia devices. This support allows users to run IM clients on their third party mobile devices in addition to their desktop, OWA and Mac OS X clients. To allow support for devices mentioned above, you must make a few changes to your Lync 2010 environment. Microsoft introduced a new feature called Mobility Service. Extra components and configuring is required in your Lync environment to support this new service. Mobility Service is an MSI installer that needs to run on Lync 2010 FrontEnd servers and extra SAN certificate name is required. Below is a walkthrough of the installation of this new service. Microsoft introduces two new services: Mobility Service and Autodiscover Service to support these additional third party devices. This new Autodiscover service is URL based just like Exchange 2010 ) and it’s different from DNS auto discovery process in that it is introduced in RTM version of Lync 2010. Autodiscover service allows third party Lync mobile clients to autodiscover Lync servers. Autodiscover virtual directory is automatically created just like Exchange 2010. This virtual directory is created under both internal and external site but only external site should be used. Mobility service allows for push notification for iPhone and iPad clients, which do not support processes to run in the background. This is not a problem with Android devices. New virtual directory (Mcx) for Mobility service is automatically created within IIS sites (both sites, 443 and 4443). Requirements to support iPhone, iPad, Android and other devices New DNS name for autodiscover service (this need to be added to SAN Certificate also) As mentioned above, you will need to reissue certificates for TMGs and Lync FrontEnd servers to include the new autodiscover DNS name If you are using hardware loadbalncers such as F5, use cookie-based persistence. New rule on TMG or ISA to allow autodiscover service. Create internal and external autodiscover DNS records. Add these autodiscover DNS records to SAN Certificate. High Level Overview of Lync 2010 Mobility Service Installation Create Internal and External DNS records for Autodiscover service. Install Lync 2010 Nov. cumulative update. Configure IIS Ports for Mobility Service. Add SAN names for newly created DNS records on certificates used on reverse proxy (TMG or ISA) and Lync FrontEnd servers. Run Lync 2010 Mobility Service Installer. Add listener on reverse proxy (TMG) for autodiscover service. Configure Edge Server for push notifications Create Internal and External DNS records for Autodiscover service Create a new internal DNS record ( lyncdiscoverinternal.sipdomain.com ) that points to internal IP of FrontEnd Server pool. Create a new external DNS record ( lyncdiscover.sipdomain.com ) that points to external IP of reverse proxy ( TMG or ISA). Install Lync 2010 Nov cumulative update. Download update from go.microsoft.com/fwlink/?LinkID=208564. Logon to Lync Server: run Stop-CSWindowsService (this will stop all the services) run “net stop w3svc” Install the update by running LyncServerUpdateInstaller.exe run “Stop-CSWindowsService” again Run “net start w3svc” after the install. Run “Install-CSDatabase –Update –ConfiguredDatabases –SqlServerFqdn sqlservername.domain.com” (This will apply changes to the lync database) Run “Start-CsWindowsService” ( to start Lync services) Configure IIS Ports for Mobility Service Run “Set-CsWebServer –Identity fepool-1.domain.com –McxSipPrimaryListeningPort 5086” Run “Set-CsWebServer –Identity fepool-1.domain.com –McxSipExternalListeningPort 5087” Run “Enable-CsTopology” Add SAN names for newly created DNS records on certificates used on reverse proxy (TMG or ISA) and Lync FrontEnd servers. Logon to Lync FrontEnd servers and run below commands. Use built-in Lync Wizard orRequest-CsCertificate command to request the certificate. Use below commands to assign the certificate. Run “Get-CsCertificate” ( This will return the certificates that is assign to this server ) Run “Set-CSCertificate –type default,webservicesinternal,webservice***ternal –Thumbprint C3RtThumbprint” Run Lync 2010 Mobility Service Installer Download the McsStandalone.msi from Microsoft (microsoft.com/download/en/details.aspx?displaylang=en&id=28356 ) Run the installer on all FrontEnd Servers. (note: if you running IIS 7.0 instead of 7.5, you must make additional config to applicationHost.config file) Copy above MSI installer to C:\ProgramData\Microsoft\Lync Server\Deployment\cache\4.0.7577.0\setup Open Lync Management Shell and run below command Run cd "C:\Program Files\Microsoft Lync Server 2010\Deployment\" Run "Bootstrapper.exe" Add listener on reverse proxy (TMG) for autodiscover service. Open TMG Console, aka Forefront TMG Management Under ServerName > Firewall Policy > click NEW > Web Site Publishing Rule Select “Rule Action page” and select “Allow” Select “Publish a single Web site or load balance” from “Publishing Type” page. Select “Use SSL to connect to the published Web server or server farm” from Server Connection Security page. In “Internal Site name”, enter the full fqdn name of lyncfrontEnd server pool (example: lyncpool1.tinydomain.net) Enter “/*” in the path field and select “Forward the original host header” In “Public Name Details” page, Under Accept Requests for, choose “This domain name”. In “Public Name”, enter lyncdiscover.yourSIPdomain.com, under “Path” enter “/*” In “Select Web Listener” page, under “Web Listener”, choose SSL Listener with newly created certificate. In “Authentication Delegation” page, choose “No delegation, but client may authenticate directly”. In “User set” page, select “All Users”. Finally, click Finish. Now, open the properties of newly created rule and configure below settings. check “forward the original host header instead of the actual one”. For frontend pool configurations, choose “requests appear to come from the original client” In “Bridging” page, choose “Web server”, choose “Redirect requests to HTTP port” and use “8080” as the port, choose “Redirect requests to SSL port” and use “4443” as the port. Click OK, Apply the configuration and test the rule. Configure Edge Server for Push Notifications Log on to your Lync Edge server and open Lync Management Shell Run below command to add Lync Server hosting provider New-CsHostingProvider -Identity "MSLyncPush" -Enabled $True -ProxyFqdn "sipfed.online.lync.com" -VerificationLevel UseSourceVerification Run below command to setup hosting provider federation to Lync Online Push notification service. New-CsAllowedDomain -Identity "push.lync.com" Run below commands to enable Push notifications: Set-CsPushNotificationConfiguration -EnableApplePushNotificationService $True -EnableMicrosoftPushNotificationService $True Set-AccessEdgeConfiguration -AllowFederatedUsers $True Use below command test the configuration (optional) Test-CsMcxPushNotification -AccessEdgeFqdn EdgeserviceFQDN 效果如下 客户端下载地址:http://www.xapcn.com/software/lync_2010_v40_1212.html 本文转自legendfu51CTO博客,原文链接:http://blog.51cto.com/legendfu/1072254,如需转载请自行联系原作者

优秀的个人博客,低调大师

elasticsearch 近义词-远程配置

curl -XPOST 'http://localhost:9200/sy4' -d '{ "analysis": { "analyzer":{ "mysynonym":{ "type": "custom", "tokenizer":"ik_max_word", "filter":[ "remote_synonym" ] } }, "filter":{ "remote_synonym":{ "expand": true, "ignore_case": true, "type": "dynamic_synonym", "synonyms_path" : "http://ip:port/word/getAllSynonymToTokenStream", "interval": 60 } } } }' 附上jar,网上下载的有bug 附件:http://down.51cto.com/data/2366580 本文转自whk66668888 51CTO博客,原文链接:http://blog.51cto.com/12597095/1916129

优秀的个人博客,低调大师

Elasticsearch安装配置

1. 从Elastic官网下载最新版本的Elasticsearch,目前最新版本为V2.3.3。 2. 解压 1 tar zxvfelasticsearch-2.3.2. tar .gz 3. 切换到Elasticsearch的bin目录下,启动服务。 1 2 . /elasticsearch Exception in thread "main" java.lang.RuntimeException:don'trunelasticsearchasroot. 启动时会发现Elasticsearch会报如下错误,因为Elasticsearch为安全起见不允许使用root账号启动服务。 4. 创建一个新账号 1 2 3 4 5 6 7 8 [root@Server01bin] #useraddelasticsearchuser [root@Server01bin] #passwdelasticsearchuser Changingpassword for userelasticsearchuser. Newpassword: BADPASSWORD:istoosimple Retypenewpassword: passwd :allauthenticationtokensupdatedsuccessfully. [root@Server01bin] #usermod-grootelasticsearchuser 5.重新启动服务。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [elasticsearchuser@Server01bin]$. /elasticsearch [2016-05-1916:44:41,864][WARN][bootstrap]unableto install syscallfilter:seccompunavailable:requireskernel3.5+withCONFIG_SECCOMPandCONFIG_SECCOMP_FILTERcompiled in [2016-05-1916:44:42,190][INFO][node][Genis-Vell]version[2.3.2],pid[8878],build[b9e4a6a /2016-04-21T16 :03:47Z] [2016-05-1916:44:42,191][INFO][node][Genis-Vell]initializing... [2016-05-1916:44:42,774][INFO][plugins][Genis-Vell]modules[lang-groovy,reindex,lang-expression],plugins[],sites[] [2016-05-1916:44:42,805][INFO][ env ][Genis-Vell]using[1]datapaths,mounts[[/( /dev/sda2 )]],netusable_space[486.6gb],nettotal_space[533.7gb],spins?[possibly],types[ext4] [2016-05-1916:44:42,805][INFO][ env ][Genis-Vell]heapsize[990.7mb],compressedordinaryobjectpointers[ true ] [2016-05-1916:44:42,805][WARN][ env ][Genis-Vell]max file descriptors[20480] for elasticsearchprocesslikelytoolow,considerincreasingtoatleast[65536] [2016-05-1916:44:44,758][INFO][node][Genis-Vell]initialized [2016-05-1916:44:44,758][INFO][node][Genis-Vell]starting... [2016-05-1916:44:44,858][INFO][transport][Genis-Vell]publish_address{127.0.0.1:9300},bound_addresses{127.0.0.1:9300},{[::1]:9300} [2016-05-1916:44:44,863][INFO][discovery][Genis-Vell]elasticsearch /kpitDjQNTwu8Q4D4pbWXnQ [2016-05-1916:44:47,910][INFO][cluster.service][Genis-Vell]new_master{Genis-Vell}{kpitDjQNTwu8Q4D4pbWXnQ}{127.0.0.1}{127.0.0.1:9300},reason:zen-disco- join (elected_as_master,[0]joinsreceived) [2016-05-1916:44:47,923][INFO][http][Genis-Vell]publish_address{127.0.0.1:9200},bound_addresses{127.0.0.1:9200},{[::1]:9200} [2016-05-1916:44:47,923][INFO][node][Genis-Vell]started [2016-05-1916:44:48,020][INFO][gateway][Genis-Vell]recovered[0]indicesintocluster_state 6. 服务也可以以守护进程方式运行 1 . /elasticsearch -d 还可以在启动时同时指定pid 1 . /elasticsearch -d-ppid 7. 在浏览器中访问一下,再次确认服务是完好的,但前提是修改/config/elasticsearch.yml,找到network.host在下面添加一行,然后就可以在浏览器中访问http://10.0.0.5:9200/。 1 network.host:10.0.0.5 浏览器显示内容如下: { "name":"Gargouille", "cluster_name":"elasticsearch", "version":{ "number":"2.3.2", "build_hash":"b9e4a6acad4008027e4038f6abed7f7dba346f94", "build_timestamp":"2016-04-21T16:03:47Z", "build_snapshot":false, "lucene_version":"5.5.0" }, "tagline":"YouKnow,forSearch" } 至此,Elasticsearch安装启动完毕,更详细的操作还待后文。 本文转自 genuinecx 51CTO博客,原文链接:http://blog.51cto.com/favccxx/1792655,如需转载请自行联系原作者

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册