tech-memo

PaceMaker + corosync in Centos6

LPIC304の勉強として。 PaceMakerはCentos7で使ったことあるのですが、Centos6のPaceMakerはあまり経験がないので構築してみました。 VIPとhttpdリソースを使って、VIPにアクセスするとWebが表示されるような構成です。 構成 ホスト名 IP VIP centos6-1 192.…

CloudStackでHAproxyを利用する

概要 3回にわたってCloudStackのVMを使ってLVS(Linux Virtual Server)を構成してみました。 ipvsadmを利用 CloudStackでLVS(Linux Virtual Server) - mukkun0824’s blog Ldirectordを利用 CloudStackでLVS(Linux Virtual Server) -Ldirectordを利用編 - mukk…

CloudStackでLVS(Linux Virtual Server) -keepalivedを利用編

概要 前回、前々回とCloudStackのVMを使ってLVS(Linux Virtual Server)を構成してみました。 ipvsadmを利用 CloudStackでLVS(Linux Virtual Server) - mukkun0824’s blog Ldirectordを利用 CloudStackでLVS(Linux Virtual Server) -Ldirectordを利用編 - muk…

CloudStackでLVS(Linux Virtual Server) -Ldirectordを利用編

概要 前回、CloudStackのVMを使ってLVS(Linux Virtual Server)を構成してみました。 CloudStackでLVS(Linux Virtual Server) - mukkun0824’s blog LPIC304の勉強がてらということで、今回はLdirectordを利用してみます。これもCentos7の記事があまりないので…

CloudStackでLVS(Linux Virtual Server)

概要 CloudStackのVMを使ってLVS(Linux Virtual Server)を構成してみます。 CloudStackの場合、機能として負荷分散機能を持っているので、わざわざLVSで構築する必要ないのですが、LPIC304の勉強がてら構築してみました。 参考 https://www.server-world.inf…

Centos6にOpenVZインストールしてsshログインするまで

Lpic304の勉強がてら試したのでメモ 第2段 これはCentos7の例。 https://thegeeksalive.com/how-to-setup-openvz-7-on-centos-7/ ただ、Centos7ではライブラリの依存関係が面倒だったので、Centos6で試す https://www.kwonline.org/memo2/2020/03/09/install…

ubuntu18.04にLXCでコンテナインストールしてsshまでやってみる

Lpic304の勉強がてら試したのでメモ。 参考 Linux Containers - LXC - はじめに 環境 Ubuntu 18.04 LTS インストール mukkun@mukkun-ubuntu:~$ sudo apt-get install lxc ## 初期設定 ブリッジの設定を追記する mukkun@mukkun-ubuntu:~$ cat /etc/lxc/lxc-us…

HOWTO: change default-gateway(context) after vm creation in OpneNebula Sunstone.

You might change default-gateway after vm creation in OpenNebula Sunstone. 1. VM shutdown Just in case, vm state is shutodwn(PowerOff). 2.Configuration VMs => select one vm => Conf => Update Configuration Context => Configuration =>Uncheck…

Ruby on Rails チュートリアル 拡張機能 ( 2 .ユーザー検索・マイクロポスト検索機能追加)

拡張機能内容 今回は、追加機能の2つのうちの「 2. ユーザー検索・マイクロポスト検索機能追加」を紹介します。 (1)エラーメッセージの i18n対応(日本語対応) (2) ユーザー検索・マイクロポスト検索機能追加 動作イメージ https://yusuke-sampleapp2.herok…

Ruby on Rails チュートリアル 拡張機能 ( 1 .エラーメッセージの i18n対応(日本語対応))

前置き 私は普段はインフラエンジニアなのですが、仕事でWebアプリケーションを触る機会があり、Webアプリケーションの基本を勉強しなおそうということで、ある講座でRuby On Rails チュートリアルを受講しました。Rubyを触る機会は仕事ではほぼ無いので、な…

MattermostのSSL証明書更新 (Let's Encrypt)

あまり日本語の(特にCentos)記事がないのでメモ 参考: docs.mattermost.com version Mattermostのバージョン: 5.20.1 environment OS: CentOS Linux release 7.6.1810 (Core) SSL: Let's Encrypt コマンド スタンドアロンモードで鍵を取得した場合の例で…

HOWTO: Custom css and html of OpneNebula Sunstone.

You might to want to recognize which is environment of production and development if you have. In that case, you want to change html and css. change background color If you want to change background color , you can modify css file '/usr/li…

HOWTO: Change oenadmin and serveradmin password in OpenNebula

version version = 5.9.90 reference oneadmin password change Managing Users — OpenNebula 5.10.5 documentation serveradmin password change User Security and Authentication — OpenNebula 5.10.5 documentation example my env user list [oneadmin@…

HOWTO: WindowsServer2016/2019 VM create on OpenNebula(Sunstone)

Information Step of creating Windows Server Virtual Machine (VM) 2016/2019 on OpenNebula(Sunstone). OpenNebula version: 5.9.90 Environment: Hypervisor is KVM and OS is CentOS 7(Front-end and Host). References.) How to create Windows VM? - …