|
958.
|
|
|
Here we will describe the process from the command line:
|
|
|
|
Burada komut satırındaki işlemi açıklayacağız:
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1638(para)
|
|
959.
|
|
|
Before running an instance of your image, you should first create a <emphasis>keypair</emphasis> (ssh key) that you can use to log into your instance as root, once it boots. The key is stored, so you will only have to do this once.
|
|
|
|
Kalıbınızın yapısını çalıştırmadan önce, önyükleme bittikten sonra yönetici olarak yapınızı kullanabilmek için bir <emphasis>anahtar çifti</emphasis> (ssh anahtarı) oluşturmalısınız. Anahtar depolanacağından dolayı bunu sadece bir kez yapacaksınız.
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1644(para)
|
|
960.
|
|
|
Run the following command:
|
|
|
|
Aşağıdaki komut çalıştırın:
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1648(para)
|
|
961.
|
|
|
![](/@@/translation-newline)
if [ ! -e ~/.euca/mykey.priv ]; then
mkdir -p -m 700 ~/.euca
touch ~/.euca/mykey.priv
chmod 0600 ~/.euca/mykey.priv
euca-add-keypair mykey > ~/.euca/mykey.priv ![](/@@/translation-newline)
fi
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
![](/@@/translation-newline)
if [ ! -e ~/.euca/mykey.priv ]; then
mkdir -p -m 700 ~/.euca
touch ~/.euca/mykey.priv
chmod 0600 ~/.euca/mykey.priv
euca-add-keypair mykey > ~/.euca/mykey.priv ![](/@@/translation-newline)
fi
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1867(programlisting)
|
|
962.
|
|
|
You can call your key whatever you like (in this example, the key is called <emphasis>'mykey'</emphasis>), but remember what it is called. If you forget, you can always run <command>euca-describe-keypairs</command> to get a list of created keys stored in the system.
|
|
|
|
Anahtarınızı istediğiniz şekilde adlandırabilirsiniz (bu örnekte anahtar <emphasis>'anahtarım'</emphasis> olarak adlandırıldı), fakat ne olarak adlandırdığınızı unutmayın. Eğer unutursanız, sistemde depolanan anahtarların listesini almak için istediğiniz zaman <command>euca-describe-keypairs</command> komutunu çalıştırabilirsiniz.
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1659(para)
|
|
963.
|
|
|
You must also allow access to port 22 in your instances:
|
|
|
|
Ayrıca yapınızdaki yuva 22'e olan erişimi sağlamalısınız:
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1666(para)
|
|
964.
|
|
|
euca-authorize default -P tcp -p 22 -s 0.0.0.0/0
|
|
|
|
euca-authorize default -P tcp -p 22 -s 0.0.0.0/0
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1671(command)
|
|
965.
|
|
|
Next, you can create instances of your registered image:
|
|
|
|
Sonra, kayıtlı kalıbın yapısını oluşturabilirsiniz:
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1675(para)
|
|
966.
|
|
|
euca-run-instances $EMI -k mykey -t m1.small
|
|
|
|
euca-run-instances $EMI -k mykey -t m1.small
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1895(command)
|
|
967.
|
|
|
If you receive an error regarding <emphasis>image_id</emphasis>, you may find it by viewing Images page or click <emphasis>"How to Run"</emphasis> on the <emphasis>Store</emphasis> page to see the sample command.
|
|
|
|
Eğer <emphasis>image_id</emphasis> ile ilgili bir hata ile karşılaşırsanız, kalıp sayfalarını görüntüleyerek onu bulabilirsiniz veya örnek komutu görmek için <emphasis>Depo</emphasis> sayfasındaki <emphasis>"Nasıl Çalışır"</emphasis>'a tıklayın.
|
|
Translated by
Connor Imes
|
|
|
|
Located in
serverguide/C/virtualization.xml:1682(para)
|