Who's Online
4 visitors online now
0 guests, 4 bots, 0 members
Support my Sponsor
  • An error has occurred, which probably means the feed is down. Try again later.

If you have SharePoint 2010, you need to know SharePoint build and plan upgrade to SharePoint 2013 as Microsoft support will end soon

Hi Friends,

I hope you are aware but incase if you don’t know, Microsoft does not provide complete support if you dont have your SharePoint 2010 build higher then SP1 (14.0.6029.1000).

After 13th October 2015, SharePoint 2010 main stream support will end, so you need to plan upgrade of your SharePoint to 2013.

The support of SharePoint 2010 versions between RTM(14.0.4762.1000) and SP1 (14.0.6029.1000) is ended as you can double check in the following link:

http://support.microsoft.com/lifecycle/?p1=14944

Support for Service pack 1 was stopped on 14th October 2014. That is because the SP1 was released 4 year ago and ,as you may know, the Office Business Group Service Pack policy states “When a new service pack is released, Microsoft will provide 12 months of support for the previous service pack”. More info in the following link:

http://support.microsoft.com/lifecycle/#tab2

Then, the new support cases opened regarding issues between RTM and SP1 versions will be treated as “limited support”. That means that you will face the following limitations:

  1. Limited break/fix support incidents will be provided through Microsoft Customer Service and Support; and through Microsoft’s managed support offerings (such as Premier Support).
  2. There will be no option to engage Microsoft’s product development resources, and technical workarounds may be limited or not possible.
  3. If the support incident requires escalation to development for further guidance, requires a hotfix, or requires a security update, customers will be asked to upgrade to a supported service pack.

As far as I know soon SharePoint SP2 will be the minimum requirement to get support from Microsoft.

Hope this will help you.

“Webmin” installation on Linux syste

Hello Everyone,

Today we are installing “webmin”

Being as a windows administrator working on Linux system it’s quite difficult to understand black screen. so you can do most of your work using webmin, it’s PHP based GUI application so can configure your linux system, can take system backup, manage your postfix server & do more.

“What is webmin”

Webmin is a web-based system configuration tool for Unix-like systems, although recent versions can also be installed and run on Windows.[4] With it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps, such as the Apache HTTP Server, PHP or MySQL.[5][6]

Webmin is largely based on Perl, running as its own process and web server. It defaults to TCP port 10000 for communicating, and can be configured to use SSL if OpenSSL is installed with additional required Perl Modules.

It is built around modules, which have an interface to the configuration files and the Webmin server. This makes it easy to add new functionality. Due to Webmin’s modular design, it is possible for anyone who is interested to write plugins for desktop configuration.

Webmin also allows for controlling many machines through a single interface, or seamless login on other webmin hosts on the same subnet or LAN.

Webmin interface

webmin

Let’s start webmin installation

I already install one centos 6.4 OS

First command should be

Yum install update

For debian & ubuntu

Apt-get install update

Webmin RPM available on http://www.webmin.com

Or you can download it using wget command

You have to install wget

Yum install wget

cd /opt

wget http://www.webmin.com/jcameron-key.asc

[root@mail opt]# wget http://www.webmin.com/jcameron-key.asc

–2015-04-18 13:11:06– http://www.webmin.com/jcameron-key.asc

Resolving www.webmin.com… 216.34.181.97

Connecting to www.webmin.com|216.34.181.97|:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: 1320 (1.3K) [text/plain]

Saving to: “jcameron-key.asc”

 

100%[======================================>] 1,320       –.-K/s   in 0s

 

2015-04-18 13:11:11 (177 MB/s) – “jcameron-key.asc” saved [1320/1320]

 

wget http://www.webmin.com/download/rpm/webmin-current.rpm

[root@mail opt]# wget http://www.webmin.com/download/rpm/webmin-current.rpm

–2015-04-18 13:13:24– http://www.webmin.com/download/rpm/webmin-current.rpm

Resolving www.webmin.com… 216.34.181.97

Connecting to www.webmin.com|216.34.181.97|:80… connected.

HTTP request sent, awaiting response… 302 Found

Location: http://prdownloads.sourceforge.net/webadmin/webmin-1.740-1.noarch.rpm [following]

–2015-04-18 13:13:30– http://prdownloads.sourceforge.net/webadmin/webmin-1.740-1.noarch.rpm

Resolving prdownloads.sourceforge.net… 216.34.181.59

Connecting to prdownloads.sourceforge.net|216.34.181.59|:80… connected.

HTTP request sent, awaiting response… 301 Moved Permanently

Location: http://downloads.sourceforge.net/project/webadmin/webmin/1.740/webmin-1.740-1.noarch.rpm [following                                                                                        ]

–2015-04-18 13:13:36– http://downloads.sourceforge.net/project/webadmin/webmin/1.740/webmin-1.740-1.noarch                                                                                       .rpm

Resolving downloads.sourceforge.net… 216.34.181.59

Connecting to downloads.sourceforge.net|216.34.181.59|:80… connected.

HTTP request sent, awaiting response… 302 Found

Location: http://softlayer-sng.dl.sourceforge.net/project/webadmin/webmin/1.740/webmin-1.740-1.noarch.rpm [fo                                                                                       llowing]

–2015-04-18 13:13:41– http://softlayer-sng.dl.sourceforge.net/project/webadmin/webmin/1.740/webmin-1.740-1                                                                                      .noarch.rpm

Resolving softlayer-sng.dl.sourceforge.net… 216.12.198.152

Connecting to softlayer-sng.dl.sourceforge.net|216.12.198.152|:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: 25030571 (24M) [application/octet-stream]

Saving to: “webmin-current.rpm”

 

100%[===========================================================================================================================================================>] 25,030,571 23.0K/s   in 9m 41s

 

2015-04-18 13:23:28 (42.1 KB/s) – “webmin-current.rpm” saved [25030571/2503057

 

Import PGP key

 

rpm –import jcameron-key.asc

[root@mail opt]# rpm –import jcameron-key.asc

 

 

now install webmin

yum install webmin-current.rpm

 

[root@mail opt]# yum install webmin-current.rpm

Loaded plugins: fastestmirror

Setting up Install Process

Examining webmin-current.rpm: webmin-1.740-1.noarch

Marking webmin-current.rpm to be installed

Loading mirror speeds from cached hostfile

* base: centosmirror.go4hosting.in

* extras: centosmirror.go4hosting.in

* updates: centosmirror.go4hosting.in

ox-backend                                                                                                                                                                  | 1.3 kB     00:00

ox-frontend                                                                                                                                                                  | 1.3 kB     00:00

ox-usm                                                                                                                                                                      | 1.3 kB     00:00

Resolving Dependencies

–> Running transaction check

—> Package webmin.noarch 0:1.740-1 will be installed

–> Processing Dependency: /usr/bin/perl for package: webmin-1.740-1.noarch

–> Processing Dependency: /usr/bin/perl for package: webmin-1.740-1.noarch

–> Running transaction check

—> Package perl.x86_64 4:5.10.1-136.el6_6.1 will be installed

–> Processing Dependency: perl-libs = 4:5.10.1-136.el6_6.1 for package: 4:perl-5.10.1-136.el6_6.1.x86_64

–> Processing Dependency: perl-libs for package: 4:perl-5.10.1-136.el6_6.1.x86_64

–> Processing Dependency: perl(version) for package: 4:perl-5.10.1-136.el6_6.1.x86_64

–> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-136.el6_6.1.x86_64

–> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-136.el6_6.1.x86_64

–> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.10.1-136.el6_6.1.x86_64

–> Running transaction check

—> Package perl-Module-Pluggable.x86_64 1:3.90-136.el6_6.1 will be installed

—> Package perl-Pod-Simple.x86_64 1:3.13-136.el6_6.1 will be installed

–> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.13-136.el6_6.1.x86_64

—> Package perl-libs.x86_64 4:5.10.1-136.el6_6.1 will be installed

—> Package perl-version.x86_64 3:0.77-136.el6_6.1 will be installed

–> Running transaction check

—> Package perl-Pod-Escapes.x86_64 1:1.04-136.el6_6.1 will be installed

–> Finished Dependency Resolution

 

Dependencies Resolved

 

=====================================================================================================================================================================================================

Package                                            Arch                                 Version                                             Repository                                     Size

=====================================================================================================================================================================================================

Installing:

webmin                                               noarch                               1.740-1                                            /webmin-current                                 64 M

Installing for dependencies:

perl                                                 x86_64                               4:5.10.1-136.el6_6.1                               updates                                        10 M

perl-Module-Pluggable                               x86_64                               1:3.90-136.el6_6.1                                 updates                                         40 k

perl-Pod-Escapes                                     x86_64                               1:1.04-136.el6_6.1                                 updates                                         32 k

perl-Pod-Simple                                     x86_64                               1:3.13-136.el6_6.1                                 updates                                       212 k

perl-libs                                           x86_64                               4:5.10.1-136.el6_6.1                              updates                                       578 k

perl-version                                         x86_64                               3:0.77-136.el6_6.1                                 updates                                        51 k

 

Transaction Summary

=====================================================================================================================================================================================================

Install       7 Package(s)

 

Total size: 76 M

Total download size: 11 M

Installed size: 100 M

Is this ok [y/N]: y

Downloading Packages:

http://centosmirror.go4hosting.in/centos/6.6/updates/x86_64/Packages/perl-5.10.1-136.el6_6.1.x86_64.rpm: [Errno 12] Timeout on http://centosmirror.go4hosting.in/centos/6.6/updates/x86_64/Packages/perl-5.10.1-136.el6_6.1.x86_64.rpm: (28, ‘Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds’)

Trying other mirror.

(1/6): perl-5.10.1-136.el6_6.1.x86_64.rpm                                                                                                                                    | 10 MB     00:03

(2/6): perl-Module-Pluggable-3.90-136.el6_6.1.x86_64.rpm                                                                                                                      | 40 kB     00:00

(3/6): perl-Pod-Escapes-1.04-136.el6_6.1.x86_64.rpm                                                                                                                           | 32 kB   00:00

(4/6): perl-Pod-Simple-3.13-136.el6_6.1.x86_64.rpm                                                                                                                           | 212 kB     00:00

(5/6): perl-libs-5.10.1-136.el6_6.1.x86_64.rpm                                                                                                                              | 578 kB     00:01

(6/6): perl-version-0.77-136.el6_6.1.x86_64.rpm                                                                                                                              | 51 kB     00:00

—————————————————————————————————————————————————————————————————–

Total                                                                                                                                                                 16 kB/s | 11 MB     11:46

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : 1:perl-Pod-Escapes-1.04-136.el6_6.1.x86_64                                                                                                                                       1/7

Installing : 1:perl-Module-Pluggable-3.90-136.el6_6.1.x86_64                                                                                                                                   2/7

Installing : 4:perl-libs-5.10.1-136.el6_6.1.x86_64                                                                                                                                            3/7

Installing : 1:perl-Pod-Simple-3.13-136.el6_6.1.x86_64                                                                                                                                        4/7

Installing : 3:perl-version-0.77-136.el6_6.1.x86_64                                                                                                                                          5/7

Installing : 4:perl-5.10.1-136.el6_6.1.x86_64                                                                                                                                                 6/7

Installing : webmin-1.740-1.noarch                                                                                                                                                            7/7

Operating system is CentOS Linux

Webmin install complete. You can now login to http://mail.local:10000/

as root with your root password.

Verifying : 3:perl-version-0.77-136.el6_6.1.x86_64                                                                                                                                           1/7

Verifying : 1:perl-Pod-Simple-3.13-136.el6_6.1.x86_64                                                                                                                                         2/7

Verifying : 1:perl-Module-Pluggable-3.90-136.el6_6.1.x86_64                                                                                                                                  3/7

Verifying : 4:perl-5.10.1-136.el6_6.1.x86_64                                                                                                                                                  4/7

Verifying : 4:perl-libs-5.10.1-136.el6_6.1.x86_64                                                                                                                                             5/7

Verifying : webmin-1.740-1.noarch                                                                                                                                                             6/7

Verifying : 1:perl-Pod-Escapes-1.04-136.el6_6.1.x86_64                                                                                                                                      7/7

 

Installed:

webmin.noarch 0:1.740-1

 

Dependency Installed:

perl.x86_64 4:5.10.1-136.el6_6.1           perl-Module-Pluggable.x86_64 1:3.90-136.el6_6.1       perl-Pod-Escapes.x86_64 1:1.04-136.el6_6.1       perl-Pod-Simple.x86_64 1:3.13-136.el6_6.1

perl-libs.x86_64 4:5.10.1-136.el6_6.1       perl-version.x86_64 3:0.77-136.el6_6.1

 

Complete!

[root@mail opt]#

 

 

Webmin default port is 10000, we need to open this port in IPTABLE

 

[root@mail opt]# vi /etc/sysconfig/iptables

# Firewall configuration written by system-config-firewall

# Manual customization of this file is not recommended.

*filter

:INPUT ACCEPT [0:0]

:FORWARD ACCEPT [0:0]

:OUTPUT ACCEPT [0:0]

-A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT

-A INPUT -p icmp -j ACCEPT

-A INPUT -i lo -j ACCEPT

-A INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT

-A INPUT -m state –state NEW -m tcp -p tcp –dport 10000 -j ACCEPT

-A INPUT -j REJECT –reject-with icmp-host-prohibited

-A FORWARD -j REJECT –reject-with icmp-host-prohibited

COMMIT

 

Save & exit

 

Restart the iptable service

 

[root@mail opt]# /etc/init.d/iptables restart

iptables: Setting chains to policy ACCEPT: filter         [ OK ]

iptables: Flushing firewall rules:                         [ OK ]

iptables: Unloading modules:                               [ OK ]

iptables: Applying firewall rules:                         [ OK ]

 

 

Restart the webmin service

 

[root@mail opt]# /etc/init.d/webmin restart

Stopping Webmin server in /usr/libexec/webmin

Starting Webmin server in /usr/libexec/webmin

Pre-loaded WebminCore

 

Now you can access it using

http://ip:10000 or http://FQDN:10000

 login

You can see the modules below even you can add more modules using same console

 

modules

It’s Done

 

–Sachin

 

 

 

ASP .NET MVC Life Cycle

Hello Everyone,

In this blog we will discuss life cycle for ASP.NET MVC. Before starting with MVC, it’s a very important to know that how does your request process.

mvclifecycle

In above figure I tried to show how MVC application process. Your browser sends and receive request in form of HTTP Request and HTTP Response respectively. Routing is a process in which it analyzes the request and invokes an Action of the appropriate Controller. Action calls appropriate method of the model.The Model communicates with the data source (e.g. database or API). Once the Model completes its operation it returns data to the Controller which then loads the appropriate View. The View executes presentation logic using the supplied data. In the end, an HTTP response is returned to the browser.This is just a quick view of MVC life-cycle.

Let’s see details view of MVC life cycle.

This is performed by following steps.

  • Receive first request for the application: An MVC application contains only one Route Table. The Route Table maps particular URLs to particular controllers. Check below code of Global.asax: Routes objects are add to  RouteTable object when application  starts first.The Application_Start() method is invokes only once when the very first page is requested.
    public class MvcApplication : System.Web.HttpApplication
    {
    public static void RegisterGlobalFilters(GlobalFilterCollection filters)
    {
    filters.Add(new HandleErrorAttribute());
    }

    public static void RegisterRoutes(RouteCollection routes)
    {
    routes.IgnoreRoute(“{resource}.axd/{*pathInfo}”);
    routes.MapRoute(
    “Default”, // Route name
    “{controller}/{action}/{id}”, // URL with parameters
    new { controller = “Home”, action = “Index”, id = UrlParameter.Optional } // Parameter defaults
    );
    }

    protected void Application_Start()
    {
    AreaRegistration.RegisterAllAreas();
    RegisterGlobalFilters(GlobalFilters.Filters);
    RegisterRoutes(RouteTable.Routes);
    }
    }
  • Perform routing : When we make a request in MVC, UrlRoutingModule reads these request to create a RequestContext object.When requested URL found in RouteTable, the Routing engine forwards the request to the corresponding IRouteHandler for that request. The default one calls the MvcHandler. The routing engine returns a 404 HTTP status code against that request if the URL patterns is not found in the Route Table.
  • Create MVC request handler: MVC handler implements IHttpHandler interface and further process the request by using ProcessRequest method.When ProcessRequest() is called on the MvcHandler object created, a new controller is created, as show in below code.                                             
  • Create and Execute controller: The controller is created from a ControllerFactory. This is an extensibility point since you can create your own ControllerFactory. The default ControllerFactory is named, appropriately enough, DefaultControllerFactory.The RequestContext and the name of the controller are passed to the ControllerFactory. CreateController() method to get a particular controller. Next, a ControllerContext object is constructed from the RequestContext and the controller. Finally, the Execute() method is called on the controller class. The ControllerContext is passed to the Execute() method when the Execute() method is called. For reference check below code.                                                                                        
    virtual void ProcessRequest(HttpContextBase httpContext)
    {
    SecurityUtil.ProcessInApplicationTrust(delegate {
    IController controller;
    IControllerFactory factory;
    this.ProcessRequestInit(httpContext, out controller, out factory);
    try
    {
    controller.Execute(this.RequestContext);
    }
    finally
    {
    factory.ReleaseController(controller);
    }
    });
    }

  • Invoke action:The Execute() method finds a action of the controller to execute. Controller class can be created by us and Execute() method finds one of the methods that we write into the controller class and executes it.
  • Execute result: Action method of controller  receives the user input data, process these data and returns result. The built-in result types can be ViewResult, RedirectToRouteResultRedirectResultContentResult, JsonResult, FileResult, and EmptyResult.

 

For more details Visit HERE

I hope this will help you.Your valuable feedback and comments are important for me.

Installation of OTRS 2.4.7 & up gradation to OTRS 4

Hello Everyone,

Today we are doing installation & up gradation of OTRS 2.4.7 to OTRS 4

so lets get started

What is the OTRS

OTRS, an initialism for Open-source Ticket Request System, is a free and open-source trouble ticket system software package that a company, organization, or other entity can use to assign tickets to incoming queries and track further communications about them

Lets install OTRS 2.4.7

My environment : centos 6.6 with 1GB RAM ( not really require)

After installing Centos you have to update the OS first

command

yum update

install wget

yum install wget

Adding EPEL Repository to RHEL / CentOS / Scientific Linux 6.x

wget http://epel.mirror.net.in/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -Uvh epel-release-6-8.noarch.rpm

yum install yum-priorities –y

now you have to edit centos base repo

vi /etc/yum.repos.d/CentOS-Base.repo

Change the priority for [base], [updates], [extras]: priority=1.

baserepo

cd /tmp

wget http://mirror.de.leaseweb.net/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm –import https://fedoraproject.org/static/0608B895.txt

rpm -i epel-release-6-8.noarch.rpm

now edit epel repo

vi /etc/yum.repos.d/epel.repo   to   priority=10

epelrepo

Deactivate SELINUX

Vi /etc/sysconfig/selinux

SElinux

SELINUX=disabled

Reboot

Init 6

 

Installing Apache webserver

yum install httpd –y

service httpd start

chkconfig httpd on

 

installing MySQL DB

yum install mysql-server –y

 

Set Mysql caching

vi /etc/my.cnf

add below lines

 

max_allowed_packet=500M

MySQL 4.x has query caching available.

Enable it for vast improvement and it may be all you need to tweak.

query_cache_type=1

query_cache_limit=1M

query_cache_size=32M

mysql

service mysqld start

chkconfig mysqld on

 

Configuring mysql

mysql_secure_installation

mysqlsetup

Install prerequisites for OTRS 2.4.7

yum install perl perl-Bit-Vector perl-CPAN perl-Carp-Clan perl-DBD-MySQL perl-DBI perl-Date-Calc perl-Digest-HMAC perl-Digest-SHA perl-Digest-SHA1 perl-ExtUtils-MakeMaker perl-ExtUtils-ParseXS perl-GD perl-GDGraph perl-GDGraph3d perl-GDTextUtil perl-Module-Pluggable perl-Net-DNS perl-Pod-Escapes perl-Pod-Simple perl-Test-Harness perl-devel perl-libs perl-version vim-enhanced zlib-devel libpng-devel libjpeg-devel freetype-devel fontconfig-devel gd gd-devel perl-Bit-Vector perl-Date-Calc perl-Date-Leapyear perl-Date-ICal perl-DBI perl-Digest-HMAC perl-Digest-SHA1 perl-Net-DNS perl-GD perl-GD-Graph3d perl-GDGraph perl-GDTextUtil mod_perl make gcc perl-CGI perl-SOAP-Lite perl-XML-Parser perl-Net-SMTP-SSL perl-DateTime-Format-DateParse perl-DateTime-Format-Mail perl-DateTime libgdata perl-core perl-Crypt-SSLeay perl-LDAP procmail perl-YAML perl-YAML-LibYAML perl-Text-CSV_XS perl-JSON-XS perl-YAML-LibYAML perl-JSON-XS perl-PDF-API2 –y

installing OTRS

wget http://ftp.otrs.org/pub/otrs/RPMS/redhat/8.0/otrs-2.4.7-01.noarch.rpm

yum install otrs-2.4.7-01.noarch.rpm

OtrsSetup1

otrssetup2

OTRS 2.4.7

otrsdone1

Three new users are created

users

New tickets are generated using Email ID

ticket1

installation is done now upgradation

Preparation for up gradation

Deactivate E-Mail

Admin -> SysConfig -> Framework -> Core::Sendmail

mail

Disable the postmaster email account

Admin -> PostMaster Mail Account

mail1

Change to invalid temporary

usersession

Log off all users session except your session

Stop the require services

Service otrs stop

Service httpd stop

Service crond stop

Service postfix stop

 

Taking database backup using backup script

root@testO scripts]# ./backup.pl -d /opt/otrs/ -c gzip -t dbonly

 

download version 3.1.12

 

[root@testO ~]# cd /tmp/

[root@testO tmp]# wget http://ftp.otrs.org/pub/otrs/RPMS/redhat/8.0/otrs-2.4.15-01.noarch.rpm

[root@testO tmp]# yum install otrs-2.4.15-01.noarch.rpm

[root@testO scripts]# /opt/otrs/bin/otrs.SetPermissions.pl –otrs-user=otrs –web-user=apache –otrs-group=apache –web-group=apache /opt/otrs

cat /opt/otrs/scripts/DBUpdate-to-2.3.mysql.sql | mysql -p -f -u root otrs

 cat /opt/otrs/scripts/DBUpdate-to-2.3-post.mysql.sql | mysql -p -f -u root otrs

[root@testO tmp]# service httpd restart

Stopping httpd:                                           [FAILED]

Starting httpd:                                           [ OK ]

[root@testO tmp]# service crond restart

Starting crond:                                          [ OK ]

[root@testO tmp]# service postfix restart

Shutting down postfix:                                     [FAILED]

Starting postfix:                                         [ OK ]

[root@testO tmp]# service otrs start

hostname: Unknown host

Starting OTRS..

Checking httpd … done.

Checking MySQL … done.

Checking database connect… It looks Ok! done.

Enable /opt/otrs/bin/PostMaster.pl … done.

Checking otrs spool dir… done.

Creating cronjobs (source /opt/otrs/var/cron/*) …

done.

 

–>> http:///otrs/index.pl <<–

Final start of OTRS.. done

otrs2.4.15

ok we have upgraded OTRS 2.4.7 to 2.4.15  now we are upgrading 2.4.15 to 3.0.1

now here come the tricky part, i have tried to upgrade using slandered procedure but Database not migrated

so here is my procedure upgrade otrs to 3.0.1

 

 

Upgrading OTRS from 2.4.15 to 3.0.1

I  have download the “otrs-3.0.1.tar.gz” from http://ftp.otrs.org/pub/otrs/

i transfer downloaded file using WINSCP

Take OTRS backup using ./backup.pl script

Take mysql backup using

mysqldump -u root -proot123 –all-databases > /tmp/all-database.sql

mysqldump -u root -proot123 otrs > /tmp/otrs.sql

Transfers downloaded file to OTRS system to

/opt/

 

Stop the required services

httpd

otrs

postfix

crond

Rename the otrs folder to otrs.old

Rename the otrs-3.0.1 to otrs

Copy the below files in new OTRS folder

Kernel/Config.pm

Kernel/Config/GenericAgent.pm

Kernel/Config/Files/ZZZAuto.pm

var/*

 

Run the below commands step by step

/opt/otrs/bin/SetPermissions.pl –otrs-user=otrs –web-user=apache –otrs-group=apache –web-group=apache /opt/otrs

Check if any module missing

/opt/otrs/bin/otrs.CheckModules.pl

cat /opt/otrs/scripts/DBUpdate-to-3.0.mysql.sql | mysql -p -f -u root otrs

su -s /bin/bash -c “/opt/otrs/scripts/DBUpdate-to-3.0.pl” otrs

cat /opt/otrs/scripts/DBUpdate-to-3.0-post.mysql.sql | mysql -p -f -u root otrs

su -s /bin/bash -c “/opt/otrs/bin/otrs.RebuildConfig.pl” otrs

Start require services

service httpd start

service crond start

service postfix start

service otrs start

 

log in to the otrs you can see otrs has been updated to version 3.0.1

3.1.18

u can see users & tickets are there

now we are upgrading 3.1.18 -> 3.2.12

OTRS Upgrade 3.1.18 -> 3.2.12

Take backup before up gradation

 Stop require services

service httpd stop

service crond stop

service postfix stop

service otrs stop

 

wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/6/otrs-3.2.12-01.noarch.rpm

yum install otrs-3.2.12-01.noarch.rpm

 

/opt/otrs/bin/otrs.SetPermissions.pl –otrs-user=otrs –web-user=apache –otrs-group=apache –web-group=apache /opt/otrs

cat /opt/otrs/scripts/DBUpdate-to-3.2.mysql.sql | mysql -p -f -u root otrs

cat /opt/otrs/scripts/DBUpdate-to-3.2.mysql.sql | mysql -p -f -u root otrs

su -s /bin/bash -c “/opt/otrs/scripts/DBUpdate-to-3.2.pl” otrs

su -s /bin/bash -c “/opt/otrs/bin/otrs.DeleteCache.pl” otrs

 

Start require services

service httpd start

service crond start

service postfix start

service otrs start

 

upgraded to 3.1.18 -> 3.2.12

3.2.12

now i am not getting this document tooo long

you have to follow same procedure up-gradation of 3.1.18 to 3.2.12

each time make sure your taking backup

& one more thing there is sequence of up gradation 2.4.7>>2.4.15>>3.0.1>>3.1.18>>3.2.12>>3.3.3>>4.0.

i have successfully completed to 4.0

Best Of Luck

 

-Sachin..

 

 

 

 

 

 

 

Seminar on 18th April on Sharepoint & Knockout by Inderjeet Singh and Pradeep Shet

Hello Friends,

Mark your calender for weekend to make it worth. We are coming up with our next offline seminar which we are planning to conduct on 18th April, Sunday from 11:00 am to 4:00 pm. This time we have a session on Sharepoint Installation & configuration which would be conducted by my friend me Inderjeet Singh (MVP) and other half of the session would be conducted by (Pradeep Shet) on JavaScript framework i.e. – Knockout. This will be an hands on session so get your laptops with you.
We want lots of people to take the benefit of these sessions. Contact your friends and tell them about this free seminar.

Venue: – Microsoft Office (4th Floor, Windsor Bldg, Off. CST Road, Kalina, Santacruz[E], Mumbai – 400098.

Landmark:- Near Mumbai University

Date :- 18th April, 2015
Timings :- 11:00 am to 4:00 pm

Pre requisites :
Get your laptop with you as this would be hands on session. Please don’t forget to bring it if you have it.

Share this event details across your friend circle who are interested in attending. We have created facebook event for this. Mark it as going if you are willing to attend it.

Update on SharePoint server 2016 release date

Today big news coming from Microsoft is release date of SharePoint 2016

 

Finally, Microsoft announced the most awaited release dates of on-premises SharePoint 2016.
Microsoft Blog site “SharePoint Server 2016 update” says that the next version of SharePoint Server 2016 has advanced content management, team collaboration, user experiences across devices, and how the cloud can be blended into existing on-premises scenarios in new and compelling ways.

 

Major focused areas for development of SharePoint Server 2016 were to deliver enhancements and new capabilities in three major areas:
1. New user experiences
2. Cloud-inspired infrastructure with Hybrid at the core
3. People-centric compliance

 

I find the most interesting comment to be “People-Centric File Storage and Collaboration”. I take this to suggest a move to storing the majority of files in OD4B rather than team sites and promote people to use it. Now that Microsoft owns Yammer, I assume Yammer will be tightly integrated with SharePoint and soon may disappear just like Fast search.

 

Now most awaited SharePoint Server 2016 RTM will be available to customers in Q2 CY 2016 but a Public Beta would be available in Q4 CY 2015.

 

Another good news is that if your company is interested in providing feedback on early versions of SharePoint 2016, Microsoft can invite you to nominate them for the Technology Adoption Program (TAP). Joining the on-premises TAP Program provides companies with a number of advantages, such as providing input and feedback for future releases of SharePoint, Project Server, and/or Exchange Server; developing a close relationship with the Product Teams; and receiving pre-release information about SharePoint, Project Server and Exchange.

To apply for TAP you need to visit
http://prereleaseprograms-public.sharepoint.com/Pages/BusinessProfile.aspx

Owncloud 7 installation & integration with Active directory 2012

Hello Everyone,

I was searching a product which has documentation storage & editing like share-point
I know SharePoint do lot of stuff other than document sharing “Own-cloud” is good alternative  for online documents editing as  well as dropbox,sugarsync,google drive,
cloud storage for in-house infra.

Features
* it has an agent for windows,mac & linux
* you can store your data on your local drive & then sync with owncloud server
* File Version no a days most IMP things that system admin need
*  it has agent for all leading mobiles OS
* Open office give you power to edit online .odt files
* & most IMP it’s FREE

Lets setup the Owncloud

I already installed AD in my Virtual Environment
AD details:
Domain : SVM.test.local
group : ocusers
users : oc1, oc2, oc3

above users added in ocusers group

Create one user with delegate control
i have created “owncloudaduser”

My owncloud server is Ubuntu server
owncloud installation instruction find on ownclud site

http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud

after installation you can access owncloud

owncloud URL : http://IP/owncloud/

when your log in owncloud ask you to create admin account

 

index

Click on Admin option

server
SVM.Test.local
CN=owncloudaduser,CN=Users,DC=Test,DC=local
Password
DC=Test,DC=local
Manually enter LDAP filters (recommended for large directories)

userfilter

(objectClass=*)

loginfilter

(sAMAccountName=%uid)

groupfilter

(&(objectClass=group)(cn=ocusers))

on left hand site there two options

advance

Click on Advance

connection

600

 

directory

displayname
cn=users,dc=Test,dc=local
cn
dc=Test,dc=local
500

 

Click on Expert option
uuuid
Internal Username Attribute : sAMAccountName

now you can see your all users on user option

final
It’s Done …….

 

Getting started with MVC ASP .NET – Part 2

Hello Everyone,

In my previous blog , I tried to explain basic details related to MVC Framework.

Now, I would like to share detailed view of RAZOR engine , ASPX engine and various file and folder in shown in Solution Explorer.

What is RAZOR and ASPX ?

Razor as well as ASPX  are View Engine. View Engine are responsible for rendering view into HTML  form to browser.  MVC supports both Web Form(ASPX) as well as Razor. Now, Asp.net MVC is open source and can work with other third party view engines like Spark, Nhaml.

What are difference between in RAZOR and Web Form(ASPX)?

RAZOR Web Form(ASPX)
Razor View Engine is an advanced view engine and introduced with MVC3. This is not a language but it is a markup syntax. ASPX View Engine is the default view engine for the ASP.NET MVC that is included with ASP.NET MVC from the beginning.
The namespace for Razor Engine is System.Web.Razor. The namespace for Webform(ASPX) Engine is System.Web.Mvc.WebFormViewEngine.
It has .cshtml with C# or .vbhtml with VB extension for views, partial views, editor templates and for layout pages. It has .aspx extension for views, .ascx extension for partial views & editor templates and .master extension for layout/master pages.
RAZOR is much easier and cleaner than Web Form. It uses @ symbol in coding.
[email protected](“Test”, “Test”)
ASPX Uses <% and %> delimiter in coding.
e.g. <%: Html.ActionLink(“Test”, “Test”) %>
RAZOR engine comparatively slow but provides better security than ASPX.Razor Engine prevents XSS attacks(Cross-Site Scripting Attacks) means it encodes the script or html tags like <,> before rendering to view. Web Form is comparatively faster but less secure than RAZOR.Web Form Engine does not prevent XSS attacks means any script saved in the database will be fired while rendering the page
Razor Engine, doesn’t support design mode in visual studio means you cannot see your page look and feel without running application. Web Form engine support design mode in visual studio means you can see your page look and feel without running the application.
Razor Engine support TDD (Test Driven Development) since it is not depend on System.Web.UI.Page class. Web Form Engine doesn’t support TDD (Test Driven Development) since it depend on System.Web.UI.Page class which makes the testing complex.

 

What are different file and folder in MVC application.

MVC has default folder structure as show in below figure.MVC Framework follows naming conventions such as model will be in model folder, controller will be in controller folder, view will be in folder and so on. This naming method reduces code and makes easy for developer to understand the architecture.
se

The App_Data is used for storing application data.

The Content folder is used for static files like style sheets, themes, icons and images.

The Controllers folder contains the controller classes responsible for handling user input and responses.

The Models folder contains the classes that represent the application models. Models hold and manipulate application data.

The Views folder stores the HTML files related to the view of the application.The Views folder contains one folder for each controller and shared folder. The Shared folder is used to store views which is shared among the application like _Layout.cshtml.

The Scripts folder stores the JavaScript files of the application.

se
For more details you can visit here.

I hope this will help you.

Your valuable feedback and comments are important for me.

Getting Started with MVC ASP.net

Hello everyone,

I would like to share a basic knowledge about MVC  in ASP.net.

What is MVC.

The MVC (Model-View-Controller) is an architectural pattern for managing business logic and implementing user interface separately. It divides application into three components.

Model: It represents data into database.e.g. Database table. It helps us implement your business logic and validations for your application. Model is associated with view and controller.

View: It represent user interface of your application. User interface is created based on model.View is used for displaying information.It also have various control like text-box , label, drop-down etc..

Controller: Controller is a important bridge between View and model. It is heart of MVC. Controller can access and use the model object data and pass data to views by using ViewData.

MVC Architecture

Why we need MVC?

  • MVC separates your application in three separate component. It helps development team to split application, so that each developer can do work separately, without any dependency.
  • It provides flexible and systematic way to handle your application.
  • It reduces time for development. As we know power is directly proportional to time.When time increase for project it need more power. It saves company’s power and money as well as developer can get more free time.

For More Details Visit Link:

https://msdn.microsoft.com/en-us/library/dd381412%28v=vs.108%29.aspx

Create Sample Project in MVC ASP .NET.

It’s very simple to create MVC application in just few step.

  1. Open Visual studio 2013 , click on file , Click new project.step1
  2.  Expand Visual C# node , click on Web and click on ASP.WEB Application , provide name and application path and then press ok.step1.1
  3. Click on basic, check view engine then click on ok.step2
  4. Here your MVCapplication in created

 

step3

 

For more details http://www.asp.net/mvc/overview/getting-started/introduction/getting-started

Also check : https://www.youtube.com/watch?v=Lp7nSImO5vk

I hope this will help you.

 

Microsoft AppFabric 1.1 support will end soon but what about its integration in SharePoint 2013

I recently  found article which says “Microsoft AppFabric 1.1 for Windows Server Ends Support 4/2/2016“. This was a shocking news for me because SharePoint 2013 uses Microsoft AppFabric 1.1, and this means support for SharePoint will also be effected.

 

In case if you don’t know what is AppFabric 1.1, AppFabric provides hosting, management and caching capabilities for Web applications and middle-tier services. This application helps us to build, scale and manage applications, in particular those built using ASP.NET, Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF).

 

Microsoft has recommended all applications using AppFabric 1.1 for Windows Server to migrate off this technology by April 2, 2016. Recommended alternative is Azure Redis cache.

 

Azure Redis Cache is was build on the popular open source Redis Cache. It provies you access to a secure, dedicated Redis cache, managed and fully supported by Microsoft, so you can focus on your application rather than the infrastructure. We recommend all Microsoft AppFabric customers using Cache to move to Microsoft Azure Redis Cache.

 

As per my knowledge SharePoint 2013 leverages Workflow Manager and an internal workflow hosting for legacy workflows.

 

Finally I found a comment by Erica Mohler(Microsoft) which says “SharePoint functionality (including the Distributed Cache feature) will be supported under the Microsoft Support lifecycle for SharePoint 2013” which was a relief moment for me.

 

Another important point to consider that the next version of SharePoint which is suppose to be SharePoint 2016 will integrate with Azure Redis.

 

Hope this will help you.