设为首页 收藏本站
查看: 372|回复: 0

Running SharePoint on Windows 7(转)

[复制链接]

尚未签到

发表于 2015-5-10 09:19:48 | 显示全部楼层 |阅读模式
Running SharePoint on Windows 7
原文地址:
http://weblogs.asp.net/gunnarpeipman/archive/2009/05/07/running-sharepoint-on-windows-7.aspx


  I tried to put up SharePoint development environment on Windows 7 and guess what – I succeeded. I took smaller challenge and installed WSS 3.0 SP2. Of course, you can also install SharePoint Server instead of WSS. On my machine WSS 3.0 uses SQL Server 2008 Express edition as database. For MOSS 2007 you should have SQL Server 2008 Developer edition.
  Here is the step-by-step guide to get SharePoint development environment up and running on Windows 7. I assume you have Visual Studio already installed. My laptop has 32 bit architecture, so I am not sure if WSS works also on 64 bit Windows 7 the way described below.

  • Follow the instructions given in Bamboo Team Blog entry How to install Windows SharePoint Services 3.0 SP1 on Vista x64/x86. Follow these instructions *EXACTLY* to get things work. When you insert computer name or SQL Server address then don’t use (local) or localhost – SharePoint installer cannot understand later what is going on. Use your machine name (windows7\username, windows7\SQLEXPRESS) and install goes smoothly.
  • You may have problems with SharePoint Central Administration site because some menu options are missing. In this case you must run IE in administrator privileges as described in thekid.me.uk blog entry Missing Create or Extend Web Application in Central Administration. If you still have problems you may find some help from Bamboo Nation forum thread Access Denied to extendvs.aspx.
  • Install Windows SharePoint Services SDK.
  • Install VSeWSS 1.2. There is said that VSeWSS 1.2 requires Windows Server 2003 or Windows Server 2008. Don’t get confused – you can install VSeWSS on Windows 7 without any problems.
  • Before deploying features to your fresh installation you must change permissions of SharePoint services. I found these accounts to be work without problems for services.  
    Service

    Account

    Windows SharePoint Services AdministrationLocal System
    Windows SharePoint Services SearchLocal Service
    Windows SharePoint Services TimerLocal System
    Windows SharePoint Services TracingLocal System
    Windows SharePoint Services VSS WriterLocal System

  Now your development environment is ready. You can create your test site and deploy your features to it.
  To test web part deployment I wrote simple web part that prints out testing message. If you don’t have web part to test deployment you can use my TestPart (ZIP archive with source code and deployment files). Result should be something like this.

  I suggest you to run Visual Studio as administrator so you can be sure you have enough privileges to deploy your features.
  
  




http://community.bamboosolutions.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.24.ads/Webinars.jpg














How to install Windows SharePoint Services 3.0 SP1 on Vista x64/x86





If you are a developer for SharePoint your best friend has been Virtual PC or VMWare. It’s time to introduce a new friend, Bamboo Nation's SharePointOnVista J
We have put together an installer that allows you to install WSS3.0 SP1 on Vista, both x86 and x64.  This will allow you to develop on your workstation with all the power of a non virtualized environment. You still need VPC and VMWare so don’t feel sorry.
There’s been much discussion about SharePoint being a "bad" development platform. This will remove the objection that you NEED to develop on a Server OS.  I think we all as SharePoint developers have built our “virtualization skills” to a comfortable level now so it’s time to give us a break ;)
So please download the setup helper and try it out. I really want to hear from you about problems you encountered so we can fix them.  Please leave your comments here or we can discuss in this forum. It would be nice to hear about successful installations too J
UPDATE: If you run Windows Vista Home Premium IIS only supports Basic Authentication. Therefore you MUST manually enable Basic Authentication in the IIS management console.  
UPDATE: John McBride has posted a solution for all of us that runs Vista 64 bit so we can install the new VSeWSS 1.2 with support for VS 2008. Just go here to see how to solve it. Thanks John!
You no longer need this workaround since the latest version of VSeWSS 1.3 CTP supports 64bit operating systems and we have successfully installed it on both Vista and Windows7. Look at this post for more information.
UPDATE: Jim Parshall has created a detailed video tutorial that walks you through everything you need to do to get WSS running on Vista. It's pretty big so it takes a while to download but it's well worth it. Click here to get the video. Thanks Jim!
UPDATE: If you are installing on Windows 7 RC (build 7100) you need to read this post before continuing.
If you are interested to know how we did it read this post.
Current limitations:


  • You must select the Advanced option during install.

  • If you want to run on SQLExpress, manually install it first.  Get it here.

  • You have to manually enable IIS7 with the proper options (explained).

  • Your workstation has to be part of a domain. UPDATE: This is not required.


Here’s how you install it.
First download the installation helper and the correct version of WSS with SP1.
Windows SharePoint Services 3.0 with Service Pack 1
Windows SharePoint Services 3.0 x64 with Service Pack 1
Go here to download our Setup Helper file
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.desktop.jpg
Now run the setup helper (WssVista.msi).
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/wssvistainstall_5F00_01_5F00_thumb.png
You will see an UAC prompt select Continue to proceed with the installation.  
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.vista02.jpg

http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.wssvistacomplete.jpg
Once the install has completed you will find the SetupLauncher.exe in the install location you selected. If you didn’t change the default option you will see it under the directory ..\Program Files\WssOnVista\Setup

http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.location.jpg
Configuring IIS7
Before we go any further we need to make sure IIS7 is installed with all required options .
Go to Control Panel and click Programs.
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.iis.step1.jpg
Under Program and Features click Turn Windows features on or off.
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.iis.turnon.jpg
  
  Under Windows Features select Web Management Tools and World Wide Web Services. Enable at least the following options and choose OK.
  
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.iis.features.jpg
  
  Wait until Windows has configured all options.
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.iis.progress.jpg
  Installing Windows SharePoint Services 3.0 SP1 on Vista.
After completing the above steps it’s time for the interesting part. Locate SetupLauncher.exe and start it. You will once again see an UAC prompt, select Continue.
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/wssvistainstall_5F00_8_5F00_thumb.png
After the SetupLauncher run, select the WSS installation file Sharepoint.exe, or the MOSS installation file, and click OK.  First, the package will be extracted.
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.Extract.jpg
After the files have been extracted the WSS setup program will be started.
The current version only supports the advanced installation option so select that one.
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.Advanced.jpg
  
  Select Web Front End when asked about Server Type. The database will be created later.
  (If you are installing MOSS select the option which installs all services on the Web Front End)
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.serverType.jpg
  Sit back and relax while SharePoint is being installed, you are running Vista remember ;)
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.progress.jpg
  Hopefully you will see the following screen at the end of the installation. If you would get an error during the installation step try to run a Repair.
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.22/wss.Installed.jpg
  Leave the checkbox checked and click Close to run the Configuration Wizard.
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/wssvistainstall_5F00_10_5F00_thumb.png
  At the second screen select the option to create a new server farm.
  http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/wssvistainstall_5F00_12_5F00_thumb.png
  Specify your database server (e.g. MYLAPTOP\SQLEXPRESS) and account information.
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/config_5F00_thumb.png
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/image_5F00_thumb_5F00_6.png http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/wssvistainstall_5F00_16_5F00_thumb.png
  Let the Configuration Wizard do it's work.
  
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/image_5F00_thumb_5F00_10.png
And you should end up with this screen, congratulations!
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/image46.png
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/image_5F00_thumb_5F00_9.png
The final result is WSS running on Vista, Enjoy!
  
/Jonas
Note: Remember that this is a "beta" product tool from Bamboo.  Do not use it for any production work, as well as the usual "backup your system before install this program".  Obviously, running WSS v3 or MOSS on Vista is not a supported environment by MS.  
UPDATE: Additional discussions and solutions on instalation issues can be found in this forum.
UPDATE:  If you run Vista Home Premium you have to enable Basic Authentication in IIS, if you don't you will only see a blank page.
Here's how to do it:
Open up IIS management console and Enable Basic Authentication. You have to do this for ALL Web Applications you are creating.
http://community.bamboosolutions.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bambooteamblog/Vista.Home.EnableBasic_5F00_thumb.jpg

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-65388-1-1.html 上篇帖子: Windows Phone 7 不温不火学习之《Expression Blend 创建渐变效果和创建Storyboard动画》 下篇帖子: Windows Phone 7(WP7)开发 MD5计算
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表