2014/11/14

systemd mysql.service file where

Q: mysqlをrpmをインストールして、systemctlの設定はどこ? ==>何?mysql? sudo systemd show mysql here is the same man Implementation of systemd is imminent, yet after days of research I can not find a mysqld.service file that actually works in Debian.  I've searched and searched, asked on mailing lists, and asked in IRC on #debian, #systemd, and #mysql. Nobody knows, or at least nobody helps.  There isn't even a mysqld.service file in Sid's mysql-server package. =ーー>ぜんぜんみつかりません。。。 じゃ。。rpmファイルを解析する =ー>そんなsrc.rpmはない。。 yum localinstall ==> ローカルにあるのrpmファイルをyumでインストールする方法。 依存性のファイルをレポジトリから探してきてくれるのが超便利です。 =-->ないです。 How...

2014/11/13

linux eth1 ifconfig network-scripts

Q:今のVMですが、自動的にIPをアサインする物があり、 ifconfigで=> eth1 eth2  /network-scriptsのところは、eth0だけ。。。中にIPがない 再起動してIPはかわらない。VMであるが、このIPの情報はどこで保存された? ネットワーク  1準仮想化ネットワーク(NAT)  2準仮想化ネットワーク(ホストオンリーアダブター virtualBox Host-only Ethernet Apapter) A:   ifup eht0   ==>デバイスはない   ifup eht1   ==>デバイスに対する設定はみつかりません ==>設定ファイルの名前たしかに対応している eth1を作ればいい。。 ーーーーーーーーー DEVICE=eth1 TYPE=Ethernet IPADDR= NETMASK= NETWORK=127.0.0.0 BROADCAST= OTPROTO=static ONBOOT=yes HWADDR=。。。 ーーーーーーー...

2014/11/07

msg: the python mysqldb module is required

まずは pip を入れる。  # yum -y install python-setuptools  # easy_install pip 必要な依存パッケージをインストールする。  # yum -y install python-devel mysql-devel  # pip install mysql-python  # pip freeze | grep -i mysql  MySQL-python==1.2.3 ...