Changes

From SME Server
Jump to navigationJump to search
Line 26: Line 26:  
====Install application====
 
====Install application====
 
After installing the scl-python33 repository, Python can be installed by issuing the following command:
 
After installing the scl-python33 repository, Python can be installed by issuing the following command:
  yum install python33 --enablerepo=scl-python33
+
  yum install python33 --enablerepo=centos-sclo-rh
 
Once installed, the application is installed on your SME Server at '''/opt/rh/python33''' as an isolated environment for the application.
 
Once installed, the application is installed on your SME Server at '''/opt/rh/python33''' as an isolated environment for the application.
      
====Test installed application====
 
====Test installed application====
Line 50: Line 49:     
====Enable the python 3.3 environment at boot time====
 
====Enable the python 3.3 environment at boot time====
The preferred way to enable scl python33 permanently at logout or (re)boot is to add a custom script called 'enablepython33.sh' to /etc/profiles.d/ directory with the following content and make it executable.
+
The preferred way to enable scl python33 permanently at logout or (re)boot is to add a custom script called 'enablepython33.sh' to /etc/profile.d/ directory with the following content and make it executable.
    
  #!/bin/sh
 
  #!/bin/sh
board, director
297

edits

Navigation menu