Last active
October 26, 2019 17:14
-
-
Save AstraLuma/26c5e9e1cb57c0d2a93118430179467e to your computer and use it in GitHub Desktop.
Set up shellinabox and xonsh on ec2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# EC2 | |
#sudo yum install git zlib-devel autoconf automake libtool python35 python35-pip | |
# Scaleway - Ubuntu | |
sudo apt-get install git libpam0g-dev zlib1g-dev dh-autoreconf python3 python3-pip | |
# For some reason, the [ptk] doesn't work on Scaleway C1 with Ubuntu | |
sudo python3 -m pip install xonsh[ptk] | |
git clone https://github.com/shellinabox/shellinabox.git | |
cd shellinabox | |
autoreconf -i | |
./configure | |
make | |
sudo make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
shellinaboxd -t -s /:$USER:$USER:$HOME:xonsh |
That would be a bug for the shellinabox project.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a "ibhttp/ssl.c:1020:11: error: dereferencing pointer to incomplete type" error when the "make" was running.
If you know how to fix it please let me know. Thank you! [email protected]