mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			188 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			188 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # 
 | |
| # AUTHOR <EMAIL@ADDRESS>, YEAR.
 | |
| #
 | |
| msgid ""
 | |
| msgstr ""
 | |
| "Project-Id-Version: 0\n"
 | |
| "POT-Creation-Date: 2013-02-02T20:11:58\n"
 | |
| "PO-Revision-Date: 2013-02-02T20:11:58\n"
 | |
| "Last-Translator: Automatically generated\n"
 | |
| "Language-Team: None\n"
 | |
| "MIME-Version: 1.0\n"
 | |
| "Content-Type: application/x-publican; charset=UTF-8\n"
 | |
| "Content-Transfer-Encoding: 8bit\n"
 | |
| 
 | |
| #. Tag: title
 | |
| #, no-c-format
 | |
| msgid "Install the Database on the Management Server Node"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "This section describes how to install MySQL on the same machine with the Management Server. This technique is intended for a simple deployment that has a single Management Server node. If you have a multi-node Management Server deployment, you will typically use a separate node for MySQL. See <xref linkend=\"management-server-install-db-external\" />."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "Install MySQL from the package repository from your distribution:"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "On RHEL or CentOS:"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "yum install mysql-server"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "On Ubuntu:"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "apt-get install mysql-server"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "Edit the MySQL configuration (/etc/my.cnf or /etc/mysql/my.cnf, depending on your OS) and insert the following lines in the [mysqld] section. You can put these lines below the datadir line. The max_connections parameter should be set to 350 multiplied by the number of Management Servers you are deploying. This example assumes one Management Server."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "On Ubuntu, you can also create a file /etc/mysql/conf.d/cloudstack.cnf and add these directives there. Don't forget to add [mysqld] on the first line of the file."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "innodb_rollback_on_timeout=1\n"
 | |
| "innodb_lock_wait_timeout=600\n"
 | |
| "max_connections=350\n"
 | |
| "log-bin=mysql-bin\n"
 | |
| "binlog-format = 'ROW'"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "Start or restart MySQL to put the new configuration into effect."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "On RHEL/CentOS, MySQL doesn't automatically start after installation. Start it manually."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "service mysqld start"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "On Ubuntu, restart MySQL."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "service mysqld restart"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "(CentOS and RHEL only; not required on Ubuntu)"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "On RHEL and CentOS, MySQL does not set a root password by default. It is very strongly recommended that you set a root password as a security precaution."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "Run the following command to secure your installation. You can answer \"Y\" to all questions."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "mysql_secure_installation"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "Set up the database. The following command creates the \"cloud\" user on the database."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "In dbpassword, specify the password to be assigned to the \"cloud\" user. You can choose to provide no password although that is not recommended."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "In deploy-as, specify the username and password of the user deploying the database. In the following command, it is assumed the root user is deploying the database and creating the \"cloud\" user."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "(Optional) For encryption_type, use file or web to indicate the technique used to pass in the database encryption password. Default: file. See <xref linkend=\"about-password-encryption\" />."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "(Optional) For management_server_key, substitute the default key that is used to encrypt confidential parameters in the &PRODUCT; properties file. Default: password. It is highly recommended that you replace this with a more secure value. See <xref linkend=\"about-password-encryption\" />."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "(Optional) For database_key, substitute the default key that is used to encrypt confidential parameters in the &PRODUCT; database. Default: password. It is highly recommended that you replace this with a more secure value. See <xref linkend=\"about-password-encryption\" />."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "cloud-setup-databases cloud:<dbpassword>@localhost \\\n"
 | |
| "--deploy-as=root:<password> \\\n"
 | |
| "-e <encryption_type> \\\n"
 | |
| "-m <management_server_key> \\\n"
 | |
| "-k <database_key>"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "When this script is finished, you should see a message like “Successfully initialized the database.”"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "If you are running the KVM hypervisor on the same machine with the Management Server, edit /etc/sudoers and add the following line:"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "Defaults:cloud !requiretty"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "This type of single-machine setup is recommended only for a trial installation."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "Now that the database is set up, you can finish configuring the OS for the Management Server. This command will set up iptables, sudoers, and start the Management Server."
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: programlisting
 | |
| #, no-c-format
 | |
| msgid "# cloud-setup-management"
 | |
| msgstr ""
 | |
| 
 | |
| #. Tag: para
 | |
| #, no-c-format
 | |
| msgid "You should see the message “&PRODUCT; Management Server setup is done.”"
 | |
| msgstr ""
 | |
| 
 |