This commit is contained in:
Bob Mottram 2015-08-29 22:44:13 +01:00
parent 63b1d97eeb
commit 711c30891a
4 changed files with 7 additions and 7 deletions

View File

@ -404,7 +404,7 @@ TOX_NODE=
#ZERONET_REPO='https://github.com/HelloZeroNet/ZeroNet.git' #ZERONET_REPO='https://github.com/HelloZeroNet/ZeroNet.git'
ZERONET_REPO='https://github.com/bashrc/ZeroNet.git' ZERONET_REPO='https://github.com/bashrc/ZeroNet.git'
ZERONET_PORT=15441 ZERONET_PORT=15441
TRACKER_PORT=51413 TRACKER_PORT=6969
# Default diffie-hellman key length in bits # Default diffie-hellman key length in bits
DH_KEYLENGTH=1024 DH_KEYLENGTH=1024
@ -1622,7 +1622,7 @@ function install_zeronet {
fi fi
apt-get -y install python python-msgpack python-gevent apt-get -y install python python-msgpack python-gevent
apt-get -y install python-pip transmission-daemon apt-get -y install python-pip bittornado
pip install msgpack-python --upgrade pip install msgpack-python --upgrade
useradd -d /opt/zeronet/ -s /bin/false zeronet useradd -d /opt/zeronet/ -s /bin/false zeronet

View File

@ -48,7 +48,7 @@ SSH_KEX="curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256"
SSH_HOST_KEY_ALGORITHMS="ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-ed25519,ssh-rsa" SSH_HOST_KEY_ALGORITHMS="ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-ed25519,ssh-rsa"
ZERONET_PORT=15441 ZERONET_PORT=15441
TRACKER_PORT=51413 TRACKER_PORT=6969
# see https://stribika.github.io/2015/01/04/secure-secure-shell.html # see https://stribika.github.io/2015/01/04/secure-secure-shell.html
function ssh_remove_small_moduli { function ssh_remove_small_moduli {
@ -144,7 +144,7 @@ function mesh_babel {
echo ' return' >> $babel_script echo ' return' >> $babel_script
echo ' fi' >> $batman_script echo ' fi' >> $batman_script
echo ' # install avahi' >> $babel_script echo ' # install avahi' >> $babel_script
echo ' apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd transmission-daemon' >> $babel_script echo ' apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd bittornado' >> $babel_script
echo ' sed -i "s|#host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script echo ' sed -i "s|#host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script
echo ' sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script echo ' sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script
echo ' if [ -f /bin/systemctl ]; then' >> $babel_script echo ' if [ -f /bin/systemctl ]; then' >> $babel_script
@ -229,7 +229,7 @@ function mesh_batman {
echo '' >> $batman_script echo '' >> $batman_script
echo 'if [[ $1 == "start" ]]; then' >> $batman_script echo 'if [[ $1 == "start" ]]; then' >> $batman_script
echo ' # install avahi' >> $batman_script echo ' # install avahi' >> $batman_script
echo ' apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd transmission-daemon' >> $batman_script echo ' apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd bittornado' >> $batman_script
echo ' sed -i "s|#host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $batman_script echo ' sed -i "s|#host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $batman_script
echo ' sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $batman_script echo ' sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $batman_script
echo ' sed -i "s|use-ipv4=.*|use-ipv4=yes|g" /etc/avahi/avahi-daemon.conf' >> $batman_script echo ' sed -i "s|use-ipv4=.*|use-ipv4=yes|g" /etc/avahi/avahi-daemon.conf' >> $batman_script

View File

@ -56,7 +56,7 @@ function install_zeronet {
return return
fi fi
sudo apt-get -y install python python-msgpack python-gevent sudo apt-get -y install python python-msgpack python-gevent
sudo apt-get -y install python-pip transmission-daemon sudo apt-get -y install python-pip bittornado
sudo pip install msgpack-python --upgrade sudo pip install msgpack-python --upgrade
git clone $ZERONET_REPO $ZERONET_DIR git clone $ZERONET_REPO $ZERONET_DIR

View File

@ -28,7 +28,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
TRACKER_PORT=51413 TRACKER_PORT=6969
BOOTSTRAP_FILE=/opt/zeronet/bootstrap BOOTSTRAP_FILE=/opt/zeronet/bootstrap
if [ ! -d /opt/zeronet ]; then if [ ! -d /opt/zeronet ]; then