2015年4月アーカイブ

ssh が動いていない、などと言われるので、
root で入って、/etc/init.d/sshd stop, /etc/init.d/sshd start 後、

[root@ip-172-31-2-111 ec2-user]# /etc/init.d/sshd status
openssh-daemon (pid 1453) is running...
[root@ip-172-31-2-111 ec2-user]# ls
bitnami-gitlab-7.8.1-0-linux-x64-installer.run

以下からインストーラー起動 ↓

------------------------------------------------------
[root@ip-172-31-2-111 ec2-user]# ./bitnami-gitlab-7.8.1-0-linux-x64-installer.run
Bitnami Gitlab Stack requires at least 2000MB of memory and the installer has detected 994MB of memory. This may prevent the application from installing, working properly or cause it to stop functioning due to lack of memory. Visit the following link to learn how to increase the swap space.

https://bitnami.com/lowmemory

Continue with installation? [Y/n]: Y

The installer detects that exists a 'git' user in the system. This installer will change the configuration for this user. Do you want to continue the installation? [y/N]: y

The installer detects that exists a 'gitlab_ci' user in the system. This installer will change the configuration for this user. Do you want to continue the installation? [y/N]: y

=>前に一度入れあと、admin の ユーザ( t-ikeda, t-ikeda@nes*** )を交換したいので、
これを進めて、configを書き換える。

----------------------------------------------------------------------------
Welcome to the Bitnami Gitlab Stack Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

GitLab : Y (Cannot be edited)

GitLab CI [Y/n] :Y

Is the selection above correct? [Y/n]: Y

----------------------------------------------------------------------------
Installation folder

Please, choose a folder to install Bitnami Gitlab Stack

Select a folder [/opt/gitlab-7.8.1-0]:

----------------------------------------------------------------------------
Create Admin account

Bitnami Gitlab Stack admin user creation

Email Address [user@example.com]: tomo.ikeda0725@gmail.com

Login [user]: tikeda

Password :  ( japan2015 )
Please confirm your password :  ( japan2015 )
----------------------------------------------------------------------------
Hostname that will be used to create internal URLs. If this value is incorrect,
you may be unable to access your Gitlab installation from other computers. It is
advisable to use a Domain instead of an IP address for compatibility with
different browsers.

Domain [172.31.2.111]:

Do you want to configure mail support? [y/N]: y

----------------------------------------------------------------------------
Configure SMTP Settings

This is required so your application can send notifications via email.

Default email provider:

[1] GMail
[2] Custom
Please choose an option [1] :

----------------------------------------------------------------------------
Configure SMTP Settings

This data is stored in the application configuration files and may be visible to
others. For this reason, it is recommended that you do not use your personal
account credentials.

GMail address []: tomo.ikeda0725@gmail.com

GMail password :
Re-enter :
----------------------------------------------------------------------------
Setup is now ready to begin installing Bitnami Gitlab Stack on your computer.

Do you want to continue? [Y/n]: Y

----------------------------------------------------------------------------
Please wait while Setup installs Bitnami Gitlab Stack on your computer.

Installing
0% ______________ 50% ______________ 100%
##


--
Re-enter :
----------------------------------------------------------------------------
Setup is now ready to begin installing Bitnami Gitlab Stack on your computer.

Do you want to continue? [Y/n]: Y

----------------------------------------------------------------------------
Please wait while Setup installs Bitnami Gitlab Stack on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################|
Error: Unknown error while running
/opt/gitlab-7.8.1-0/apps/gitlab/scripts/gitlabci.sh

Press [Enter] to continue:

Warning: Problem running post-install step. Installation may not complete

correctly
Error reading file /opt/gitlab-7.8.1-0/apps/gitlab/htdocs/credentials_id
Press [Enter] to continue:
Warning: Problem running post-install step. Installation may not complete
correctly
Unknown error while running chown -R root:gitlab_ci /home/gitlab_ci
Press [Enter] to continue:
Warning: Problem running post-install step. Installation may not complete
correctly
Error creating dynamic link /opt/gitlab-7.8.1-0/apps/gitlabci/gitlabci-runner
/home/gitlab_ci/gitlabci-runner
Press [Enter] to continue:
#


----------------------------------------------------------------------------
Setup has finished installing Bitnami Gitlab Stack on your computer.

Info: To access the Bitnami Gitlab Stack, go to
http://172.31.2.111:80 from your browser.
Press [Enter] to continue:[root@ip-172-31-2-111 ec2-user]#
[root@ip-172-31-2-111 ec2-user]#

以上、

aws6.png

なぜか、This installer required that SSH Server in runnig.
Please install that required packages or start SSH sever などとなり、

/etc/init.d/sshd start  し
/etc/init.d/sshd status で、動作していることを確認したにも関わらず、

Please install that required packages or start SSH sever などとなる ⇒ばかだ

aws4.png

=>
https://wiki.bitnami.com/Virtual_Appliances_Quick_Start_Guide#How_to_enable_sshd.3f
の如く、一旦あるPC経由で VM ( AWS ) にSSHで入ってインストール操作後、次に月PC経由でVM (AWS)に入る場合、


$ sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf
$ sudo start ssh

し、再び、もとのPC経由で入りたい場合は元に戻す。

$ sudo stop ssh
$ sudo mv /etc/init/ssh.conf /etc/init/ssh.conf.back

AWSで、最初のユーザは、ec2-user

aws2.png

root で入れないので、一旦

sudo su -  

で root になってから、passwd でパスワードを設定する。 ↓  ここでは abcd で設定 

aws3.png

このアーカイブについて

このページには、2015年4月に書かれたブログ記事が新しい順に公開されています。

前のアーカイブは2015年3月です。

次のアーカイブは2015年7月です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。