Linux

Raspberry PiでDjango+mariaDB

はじめにRaspberry PiでDjangoを動かしてみます。DBは、mariaDBで。前提 Raspberry Pi 3 Model B raspbian MariaDB Python 3.7.3 とりあえず外部からアクセスしたい djangoをインストールする $ sudo pip3 install django プロジェクトを作成するsampleとい…

Raspberry Piにインストールしたmariadbに別の端末から接続できない

はじめにRaspberry Piにインストールしたmariadbに別の端末から接続しようとすると、以下のメッセージが表示され接続できない。 Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' 前提 Raspberry Pi 3 Model B raspbian MariaDB 50-server.cnf を編集す…

GitリモートリポジトリをCentOSに構築する

はじめに CentOSにGitリモートリポジトリを構築します。 前提 CentOS Linux release 7.3.1611 (Core) Git をインストールします。 $ sudo yum -y install git リモート リポジトリを作成します。 $ sudo useradd git $ sudo su $ passwd password $ usermod …