on the Network: Adapter 1 page , no host-only network adapter is selected

After migrating my VMs onto new hosts.  failed to restart VM box

 

“on the Network: Adapter 1 page , no host-only network adapter is selected”

 

Solved:

–>”You can add new adapter at File – Preferences – Network.”

 

Quote:

 

 

Unit console-kit-daemon.service failed to load: Not a directory

OS: Fedora 15.

Well this os is currently out of support and, which was shipped as experimental on systemd.

I can see following messages in /var/log/message and system cannot access X.

 

Actually nothing helpful is found. but the msg:”Not a directory”

after a few checks… I found the path “/usr/lib/systemd/system/” is removed, just a file “/usr/lib/systemd/system” there.
the fix is to change the file backto an empty folder.

###

well about F15, this folder itself is empty but, it should not be removed

otherwise, you cannot see the login session/window.

 

Install Guide of Mongo php Driver on EL5

Following is a step to install Mongo-php-driver and rockmongo on EL5.6 box.

steps please find the reference.

My working configure:

php-devel-5.1.6-39.el5_8
mongo-php-driver: mongo-1.2.0
rockmongo-1.1.5
httpd-2.2.3-65.0.1.el5_8.3

1.  install the pkgs.

on my yum-server, I dont have git prepared. so have to manually inst…

find related packages here, and install

ftp://fr2.rpmfind.net/linux/epel/5/x86_64

2.  git install mongo-php-driver.  as the git repo is up2date and the box is old.
I choose to pickup the driver pkg here:

http://pecl.php.net/get/mongo-1.2.0.tgz

install the mongo.so library.

 

3. edit  php.conf and enable the mongo.so as extension.

 

4. during httpd start. hit bug#669963

httpd server cannot startup and report error in /var/log/httpd/error_log

bug content as described here :

  • Because of this bug httpd fails to start after existing systems are updated from an older CentOS 5 release to CentOS 5.6. The workaround is described here. This only happens when you have SSL enabled and mod_nss installed for your webserver.

w/r:

 

5. download rockmongo and unzip in http html folder. works

Reference:

Running And Migrating Django Project on Bluehost

先写几个中文字, 主题无关,本来没必要迁的项目, 主要是被赶得只好换了服务器. 就多做了这么多的事.

 

Currently Bluehost doesnt support Django officially.

to support Django.

1. Using self-packaged python/Django.
Download and unzip Python in:
/home/zip/Django/Python-2.8.5
using ez_setup.py/pip to install flup/Django/MySQL-python …

2. Using existing Project: RACBDM. edit .htaccess

 

3. prepare mysite.fcgi

 

4. ensure the mysql related configuration: <RACBDM.settings>

5. confirm the template_dirs setting:

6. While migrating, it’s a good practice to enable DEBUG mode:

7. Mysql related:

8. mention that the dump script will not take care the View create status, if you have tables/views. please double check.

Fedora Too Old: Yum: [Errno 256] No more mirrors to try

Im still using Fedora 15 for my workstation.

It’s totally out of support since …ago. Yum always fail.

 

Im trying to install gdal:

but installation is not so smoothly togo

An easy workaround is google/rpmpbone

google “netcdf-4.1.1-6.fc15.i686”, it will direct to page:
http://rpm.pbone.net/index.php3/stat/4/idpl/16958906/dir/fedora_15/com/netcdf-4.1.1-6.fc15.i686.rpm.html
same options on the rest RPMs.

 

# finally.