[2] sap ecc6 installation series: preparations before installation

Source: Internet
Author: User
Tags sql 2008 sybase

Install Java

1. To install Java, you 'd better find the Java version from the sap installation disk. for SAP software, the latest version is often not the best, and the version that can work with the software most stably is the best. Please carefully read the official installation guide and find the most appropriate Java version,Generally, 1.4.2.15 is installed. Remember not to use 1.4.2.10Is not recommended to upgrade to Java 5/6.

2. Set environment variables. If you do not know where to set the environment variables, subsequent installation will be a great challenge for you. Here it is: right-click "my computer" = "property =" Advanced System settings = "Advanced =" environment variable (a button)

The first system environment variable to be created: java_home. The value is the path where you install Java, for example, [c: \ j2sdk1.4.2 _ 15-x64], or a path you change, we hope that you have not installed it in a strange place. If the installation path is too deep, it may cause installation failure. If you change the default installation path, we hope it is similar to [C: \ Java.

The second system environment variable to be added: classpath; Value: Copy. Note that all the characters in the copy brackets are [.; % java_home % \ Lib \ tools. jar]

Modify the path of an existing system environment variable. If no path exists, you may need to reinstall your operating system and add the strings in brackets to the end, do not overwrite the existing value [% java_home % \ bin; % java_home % \ JRE \ Lib \ RT. jar ;]

You also need to add a new system environment variable cpic_max_conv. It is difficult to guess the meaning of this variable name. This variable is not mentioned in many installation introductions, but the sap detection tool will prompt you to need this variable, and the value must be set to 200 or above, otherwise it will cause serious performance problems, so we can set it to 200.

3. Regarding the java_home environment variable settings, the prerequisite checker of SAP will prompt that this setting cannot be found. It is basically certain that this is a compatibility problem between the SAP program and the Java environment, if you confirm that the environment variables are correctly set according to the above steps, you can ignore this error. A simple confirmation method is to enter the DOS environment and directly enter Java to check whether the environment runs correctly.

Aside from Java

First, do not get confused by the Java version. Since sun was acquired by Oracle, the original version release method has been changed. Since version 1.5, it is called Java 5, the 1.6 version is called Java 6, And the bad news is that the old version of Java does not seem to be found on the official website. Unfortunately, the downward compatibility of Java is not as good as it is declared. For example, for SAP, the latest Java version is not officially recommended. According to the consistent style of German companies, ensuring stability to the maximum extent is the most critical, so try to install the version specified in the instruction document, and remember to turn off the automatic Java upgrade.

Since the SAP software was greatly revised in 2004, native support for Java has been added. You can select either ABAP or Java in SAP as the built-in development language. But even if you do not select Application Server Java, you must first install Java because the installer needs it.

Install SQL Server

Of course, we will choose SQL Server for database support. The reason is very simple. First, there will be a lot of people installed, which can save a lot of text for introduction. Second, of course, the Web can be easily accessed everywhere. As for the recommended version, it is almost 2012 in that sentence. At least the whole SQL 2005 should come, so SQL 2000 should be avoided, SQL 2005 is M $ the first database software with "availability. A little trendy. You can get up to you in SQL 2008 or even SQL 2008r2.

Note:

1. I hope you have installed the x64 version. Although there is no difference in use, it feels more comfortable.

2. Although SQL Server is very good and supports multiple instances on a single machine, note the following:Must be installed as the local default instance, Remember!

3. Add a patch package and go to the official website to check the latest patch packages for each version. All versions of 2008r2 have sp.

4. When installing SQL Server, you can press next. The only thing you need to note is to select SQL Server collation. Generally, the default setting is incorrect. What we needCollation is [SQL _latin1_general_cp850_bin2]If you use the Chinese version of the operating system, the default value is [chinese_prc_ci_as ]. Yes, you may be unfamiliar, but remember to change this setting. If you forget or do not find the setting, I will tell you what to do later.

5. You only need to install the SQL Server engine. The free SSAs and SSRs on the installation disk are basically useless, especially for the SAP to be installed, the corresponding functions are better.

6. With the popularization of the Internet era, M $ has quietly disabled the name pipe protocol that SQL Server originally supported. Generally, this is not a problem, because the TCP/IP protocol is enabled by default, You need to enable this Protocol for the old sap. Find the server configuration tool of SQL Server and enable the name pipe protocol.

As mentioned in the following example:

1. If possible, try to use SQL Server 2008 R2. The progress is still objective. At least the SP installation package of this version can manage related SQL services on its own, patch upgrade can be completed without restarting.

2. If you have used SQL Server 2008 R2, you need to remind me that although the new file stream feature looks wonderful, please switch it off, because it gets stuck with the sap installer.

3. If you are still unfamiliar with SQL Server Installation and Use, use Google or Baidu (although I do not like Baidu very much ), make sure that the three services are in the auto startup and running status: SQL Server/SQL Server Agent/SQL browser ].

4. Being unfamiliar with SQL Server does not affect the learning of SAP software at all, because SAP uses dB instance to completely encapsulate the underlying database support software. We do not need to worry about using SQL Server, or Oracle, or even DB2 or MaxDB.

About MaxDB

Speaking of MaxDB, you may be unfamiliar. In fact, this product is the previous Sybase (now you think about it. What? You don't know Sybase either? Forget it, you still ignore this section). After being acquired by SAP, I changed my name to MaxDB, which is generally used in SAP software, it is free for stingy users who are unwilling to pay for Oracle databases. What? You said that the SQL Server of M $ is actually very cheap. I have to regret that sap doesn't want us to use SQL Server for underlying database support, for a normal sap running environment (I am talking about R3, business one, a small business-oriented software package, maybe), SQL Server is too difficult.

Back to MaxDB, it is said that after SAP's acquisition, it took a lot of effort to make a transformation of this thing, it seems that the change is quite good, but SAP does not sell database software, later, it was impossible to beat oracle or IMB DB2, so we simply gave it open source. (Sorry, if fans of M $ exist, SQL Server is ignored again)

Oh, I almost forgot. For those who haven't changed SQL Server collation, my suggestion is to reinstall SQL Server and make sure to fix it this time. I am not really fooling you, but there is indeed a way to change collation without reinstalling it, but believe me, reinstalling is a better and faster choice. Those who do not believe this can go to Google's Syntax:

Setup.exe

/Quiet

/Action = rebuilddatabase

/InstanceName = instance_name

/Sqlsysadminaccounts = accounts

[/Sapwd = PASSWORD]

[/Sqlcollation = collation_name]

More importantly, an error in the previous article. For Windows virtual memory, the virtual memory size cannot exceed 20 GB on a single disk, but multiple virtual files can be set on multiple disks, the sum can be greater than 20 GB.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.