Compile python3 on SLES 11 SP2

Install following RPMs before Steps:

Python3 source from: Python 3.3.5

Without zlib-devel,  You cannot enable zlib module built-in, install this RPM and re-compile python3 src.
about bzip2,  SLES doesnt provide extra bzip2-devel package, so just install bzip2 RPM is ok.

Without libopenssl-devel,  you cannot fetch https URL via easy_install,  it reports “unknown url type: https”

 

To Enablle ipython notebook:

Please install  sqlite-devel package: (UN OFFICIAL)
http://software.opensuse.org/package/sqlite3-devel
Im using:

 

1. install zeromq: # for pyzmq

Guide here: http://zeromq.org/distro:sles

2.  install dependencies:
easy_install  pyzmq jinja2 tornado
easy_install  sphinx readline
##### easy_install pysqlite # DO NO RUN THIS CMD. here hit bug, fixing… pysqlite doesn’t support python3 now, use internal sqlite3

 

3. run #ipython notebook ok.

 

 

 

 

 

Install Ipython notebook on Fedora 15

Ipython now provides RPM(python-ipython-notebook) from Fedora 18.
http://ipython.org/install.html

 

Fedora 15 is too old… not providing RPM, but we can also install very easy.

1. Install zeromq: (Im using i686 boxes, no yum servers now provided for the old release, you can google for the RPMs)

2. using easy_install:

3. Run the service in your own directory:

 

Fixing SSH login slow issue

on the new VBox nodes,  ssh access is slow.

trace:
debug2: key: /root/.ssh/id_dsa ((nil)),
debug2: key: /root/.ssh/id_ecdsa ((nil)),

….Slow here…

debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive,password

 

To Solve the problem, I can see the Box with public network access can reply soon,
Its the reverse ip DNS issue,

Solve:
On Server side: sshd_config

Link:
Fixing SSH login long delay

pkg: PACKAGESITE in pkg.conf is deprecated.

Note for the pkg changes.

pkg version>1.1.4 and Im currently using 1.2.7

after moving onto pkgng, pkg update  shall report following warning:

It’s just a trick and would like people to migrating onto repo files asap.

Please refer
Availability of binary pkgs for Download
Quote:

  1. Ensure your pkg(8) is up-to-date. ‘pkg -v’ should say at least 1.1.4. If it does not, first upgrade from ports.
  2. Remove any repository-specific configuration from /usr/local/etc/pkg.conf, such as PACKAGESITE, MIRROR_TYPE, PUBKEY. If this leaves your pkg.conf empty, just remove it.
  3. mkdir -p /usr/local/etc/pkg/repos
  4. Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with: