跳至主要内容

博文

解决连接TFS上Git的验证错误

用VS死活无法同步TFS上的Git代码,一直报网络错误。一怒之下想着就用客户端工具把代码先同步了再说,结果用Git客户端一合并代码用Windows Live Id却一再报身份验证错误,确认用户名和密码都是正确的。 解决方法: 1.在Web登录TFS账户,点击你的账户名,选择“My Profile”. 2.选择“CREDIENTIALS”,点击下面的“Enable alternate credentials”,输入可选账号与密码,点击确认。 3.重新用Git GUI登录同步代码,一切工作正常。

解决Visual Studio 2012的TF31003错误

重装系统和Visual Studio 2012后,打开以前托管在Team Fundation Service的Git中的代码,结果死活在Visual Studio中连接不上服务器,报以下TF31003的错误: TF31003: Either you have not entered the necessary credentials or your user account does not have permission to connect to the Team Foundation Server at https://***.visualstudio.com/. Ask your server administrator to add the appropriate permissions to your account. 不断的登录再登出还是没法解决问题。 解决方法: 折腾了老半天,才发现是IE的cookie导致的,也许是平时用多个不同outlook.com的ID登录过导致吧。在IE中按 Ctrl + Shift + Delete ,打开窗口,点击删除。 然后再到Visual Studio 2012连接服务器,终于重新出来登录界面。

在Ubuntu 13.10上安装Wordpress

1.安装配置LAMP Server 进入root用户模式        sudo –s –H 安装MySql       apt-get install mysql-server mysql-client 安装Apache      apt-get install apache2 安装PHP支持       apt-get install php5 libapache2-mod-php5 创建info.php文件,确认PHP文件能够正常解析       vi /var/www/info.php            <?php                phpinfo();             ?>           /etc/init.d/apache2 restart       http://localhost/info.php 2. 安装并配置Wordpress 安装Wordpress       apt-get install wordpress 创建web要目录与wordpress的软链接       ln –s /usr/share/wordpress  /var/www 解压并安装wordpress数据库       gzip -d /usr/share/doc/wordpress/examples/setup-mysql.gz       bash /usr/share/doc/wordpress/examples/setup-mysql -n w...

[转]为Ubuntu Server安装gnome图形桌面环境

From: http://blog.creke.net/696.html ubuntu server版默认都没有图形桌面(GUI),但是可以安装,以下共有两种安装方法。 一、安装全部Gnome桌面环境 Ubuntu系列桌面实际上有几种桌面应用程序,包括Ubuntu-desktop、Kubunut-desktop和Xubuntu-desktop。本文就以Ubuntu-desktop为例进行介绍,此方法操作最简单,但不建议在服务器上使用此方法,因为安装桌面相关软件太多。 sudo apt-get update sudo apt-get install ubuntu-desktop 二、自定义安装 1.安装x-windows的基础(必须): sudo apt-get install x-window-system-core 2.安装gnome基础(必须): sudo apt-get install gnome-core 3.安装中文显示(建议安装): sudo apt-get install language-pack-gnome-zh  #让gnome面板、菜单显示中文 sudo apt-get install language-pack-gnome-zh-base sudo apt-get install language-pack-zh             #中文语言包 sudo apt-get install language-pack-zh-base sudo apt-get install language-support-zh        #中文语言支持 sudo apt-get install scim        #scim中文输入法平台 4.安装登录管理器(一般不选): sudo apt-get install gdm 说明: gdm(gnome display manager)即gnome图形界面显示管理器,还有kdm/xdm等,它将使您可以在启动时直接进入GUI桌面环境,而勿需通过 startx 来启动GUI。 5.安装新利得软件管理器(可...

Oracle ADF Mobile学习笔记 0:先给自己下套

从ADF Mobile发布第一版时就想写一个入门的课程,期间由于杂事繁多,就把这个计划搁置了。端午节假期刚好没外出,宅在家里把半年来欠下的债一个个的还,帮朋友写完一个跳票N久的程序后,想着ADF Mobile也出了第二版,加上官方都出了完善的视频向导,再写向导好象有画蛇添足之嫌。不过本着还自己心愿的态度,就算拾人牙慧,做Oracle官网的搬运工也要把简单的教程写出来。 计划写5篇的向导文章,大纲分列如下: 1. ADF Mobile开发环境的安装及配置; 2. 第一个ADF Mobile程序; 3.ADF Mobile微博客户端的实现(主要演示如何用ADF Mobile调用开放平台的接口,还没决定是用新浪微博还是腾讯微博); 4.WebCenter Content的ADF Mobile客户端实现; 5.WebCenter Portal的ADF Mobile客户端实现; 先挖个坑,给自己下套,希望能有时间把这一系列文章写完。

Installing RHEL EPEL Repo on Centos 5.x or 6.x

习惯了用yum来安装东西,试了下这篇文章提到的做法workable,再做一次搬运工。 原文出处: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x Authored by: Rackspace Support How to install RHEL EPEL repository on Centos 5.x or 6.x The following article will describe how to configure a CentOS 5.x-based or Centos 6.x-based system to use Fedora Epel repos and third party remi package repos. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL. Install the extra repositories The first step requires downloading some RPM files that contain the additional YUM repository definitions. The instructions below point to the 64-bit versions that work with our Cloud Server instances. Centos 5.x wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm sudo rpm -Uvh remi-release-5*.rpm epel...