[IPython-User] Add Ipython notebook session at sturtup
Massimo Di Stefano
massimodisasha@gmail....
Sun Mar 18 21:18:03 CDT 2012
more simple .. and no needs of a window manager is to add it to crontab :
crontab -e
i added :
@reboot /usr/local/bin/ipython notebook
Il giorno Mar 18, 2012, alle ore 8:55 PM, Massimo Di Stefano ha scritto:
> i added a file :
>
> ipython.desktop
>
> into :
>
> /home/$user/.config/autostartup/
^^^ corrected
>
> ipython.desktop looks like :
>
>
> [Desktop Entry]
> Encoding=UTF-8
> Version=0.9.4
> Type=Application
> Name=ipython
> Comment=
> Exec=/home/epifanio/Desktop/ipython.sh
> StartupNotify=false
> Terminal=false
> Hidden=false
>
>
> where ipython.sh is :
>
> cd /home/$user/
> ipython notebook
>
>
> it works!
> IPython rock!
>
> --Massimo.
>
>
>
> Il giorno Mar 18, 2012, alle ore 8:01 PM, Massimo Di Stefano ha scritto:
>
>>
>> Hi All,
>>
>> i'm running Ipython notebook (git version) on a virtual server accessible from internet and where i have access trough ssh.
>> i configured the notebook to run on a static IP with -no browser and ssl certificate.
>> all is running correctly simply typing in the shell : 'ipython notebook'
>>
>> i'd like to have the ipython notebook running when my linux server will startup so to avoid the step : ssh-log-in ;
>>
>>
>> i tried adding a script 'python.sh' inside /etc/init.d/ and i isse : rc-update python.sh default … but this approach doesn't work.
>> have you any hints on how to do it?
>>
>> Many thanks!
>>
>> --Massimo.
>
More information about the IPython-User
mailing list