Tuesday, December 23, 2014

Install Exchange Server 2010 on Windows Server 2008 R2


Install server 2008 R2,Install DNS and DC

Go to the exchange directory in command prompt

setup /PrepareAD /OrganizationName:Sourav

setup /PrepareALLDomains

Install 2007 Office System Converter: Microsoft Filter Pack.

Open Powershell with administrative credential 

Type import-module ServerManager

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy,Desktop-Experience -Restart.

Then Run the command on powershell

Set-Service NetTcpPortSharing -StartupType Automatic

Now Start Exchange from setup file in GUI


Configure SDM and manage Cisco 3600 Router



From the global configuration mode

ip domain-name sourav.com

crypto key generate rsa general-keys

pick a byte size (i.e 1024)

ip http server

ip http secure-server

username sourav privilege 15 password cisco

line vty 0 1

login local

exit

Now go to the pc 

install Java(1.6 or 1.4 otherwise sdm will load forever and never start)

Start SDM Launcher

Saturday, December 20, 2014

Exchange 2010 Hub Transport Role Installation Fails error solved

Open Registry Editor.
Locate the registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
In the details pane, click New, and then click DWORD Value.
Type DisabledComponents, and then press ENTER.
Double-click DisabledComponents, and then type 0xffffffff in Hexadecimal or 4294967295 in Decimal.
Restart

Run the exchange setup again

Thursday, December 18, 2014

Install lazarus on Ubuntu 14.04


I could not install fpc because it is broken

So I installed

apt-get install fpc-source

Then Downloaded 64 bit version of fpc 

http://ftp.psu.ru/programming/fpc/2.6.2/x86_64-linux/

then 

tar -xvf fpc-2.6.2.x86_64-linux.tar

cd fpc-2.6.2.x86_64-linux/

sudo sh install.sh

apt-get install lazurus



"The package "leakview" is installed, but no valid package file (.lpk) was found" error solved when installing lazarus on Ubuntu 14.04


Create a file in /usr/lib/lazarus/1.0.10/packager/globallinks named leakview.lpk.

 Write these lines on that file..

(less then)?xml version="1.0" encoding="UTF-8"?(greater than)
(less then)CONFIG(greater than)
  (less then)Package Version="4"(greater than)
    (less then)PathDelim Value="\"/(greater than)
    (less then)Name Value="leakview"/(greater than)
    (less then)AddToProjectUsesSection Value="True"/(greater than)
    (less then)Author Value="Dmitry 'skalogryz' Boyarintsev"/(greater than)
    (less then)CompilerOptions(greater than)
      (less then)Version Value="12"/(greater than)
      (less then)PathDelim Value="\"/(greater than)
      (less then)SearchPaths(greater than)
        (less then)UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(LCLWidgetType)"/(greater than)
      (less then)/SearchPaths(greater than)
      (less then)Parsing(greater than)
        (less then)SyntaxOptions(greater than)
          (less then)CStyleOperator Value="False"/(greater than)
          (less then)UseAnsiStrings Value="False"/(greater than)
        (less then)/SyntaxOptions(greater than)
      (less then)/Parsing(greater than)
      (less then)Linking(greater than)
        (less then)Debugging(greater than)
          (less then)GenerateDebugInfo Value="False"/(greater than)
          (less then)UseLineInfoUnit Value="False"/(greater than)
        (less then)/Debugging(greater than)
      (less then)/Linking(greater than)
      (less then)Other(greater than)
        (less then)CompilerPath Value="$(CompPath)"/(greater than)
      (less then)/Other(greater than)
    (less then)/CompilerOptions(greater than)
    (less then)Description Value="Leak View. allows fast navigation trough HeapTrc (and other?) leaks."/(greater than)
    (less then)Version Major="1"/(greater than)
    (less then)Files Count="4"(greater than)
      (less then)Item1(greater than)
        (less then)Filename Value="heaptrcview.lfm"/(greater than)
        (less then)Type Value="LFM"/(greater than)
      (less then)/Item1(greater than)
      (less then)Item2(greater than)
        (less then)Filename Value="heaptrcview.pas"/(greater than)
        (less then)HasRegisterProc Value="True"/(greater than)
        (less then)UnitName Value="HeapTrcView"/(greater than)
      (less then)/Item2(greater than)
      (less then)Item3(greater than)
        (less then)Filename Value="leakinfo.pas"/(greater than)
        (less then)UnitName Value="leakinfo"/(greater than)
      (less then)/Item3(greater than)
      (less then)Item4(greater than)
        (less then)Filename Value="dbginforeader.pas"/(greater than)
        (less then)UnitName Value="DbgInfoReader"/(greater than)
      (less then)/Item4(greater than)
    (less then)/Files(greater than)
    (less then)i18n(greater than)
      (less then)EnableI18N Value="True"/(greater than)
      (less then)OutDir Value="languages"/(greater than)
    (less then)/i18n(greater than)
    (less then)Type Value="RunAndDesignTime"/(greater than)
    (less then)RequiredPkgs Count="2"(greater than)
      (less then)Item1(greater than)
        (less then)PackageName Value="CodeTools"/(greater than)
      (less then)/Item1(greater than)
      (less then)Item2(greater than)
        (less then)PackageName Value="IDEIntf"/(greater than)
      (less then)/Item2(greater than)
    (less then)/RequiredPkgs(greater than)
    (less then)UsageOptions(greater than)
      (less then)UnitPath Value="$(PkgOutDir)\"/(greater than)
    (less then)/UsageOptions(greater than)
    (less then)PublishOptions(greater than)
      (less then)Version Value="2"/(greater than)
      (less then)IgnoreBinaries Value="False"/(greater than)
    (less then)/PublishOptions(greater than)
  (less then)/Package(greater than)
(less then)/CONFIG(greater than)


The xml file is modified ,The "<" symbol replaced by less then and ">" is replaced by greater than

However the xml file is at 

http://svn.freepascal.org/svn/lazarus/trunk/components/leakview/leakview.lpk


Then go the /usr/lib/lazarus/1.0.10/packager/globallinks directory and chek if there is a file called leakview.lpl,open the file in nano and see if this line is there

$(LazarusDir)/components/leakview/leakview.lpk

restart lazarus and you are done

source:http://forum.lazarus.freepascal.org/index.php?topic=22500.0



Sourav Bhattacharya

Linux Faculty/Enthusiast for 7 years

Kolkata