This commit is contained in:
Bob Mottram 2017-11-27 22:46:55 +00:00
commit 3588dc68e6
9 changed files with 49 additions and 51 deletions

View File

@ -27,9 +27,7 @@ Log into your system with:
ssh myusername@mydomain -p 2222 ssh myusername@mydomain -p 2222
#+end_src #+end_src
Using cursor keys, space bar and Enter key select *Administrator controls* and type in your password. Using cursor keys, space bar and Enter key select *Administrator controls* and type in your password. Select *Add/Remove Apps* then *icecast*.
Select *Add/Remove Apps*. If Vim is selected then you might want to unselect and uninstall it first, then select *icecast*.
If you then go to the *About* screen you'll see the onion address for Icecast and can navigate to it in a Tor compatible browser. If you then go to the *About* screen you'll see the onion address for Icecast and can navigate to it in a Tor compatible browser.

View File

@ -8,6 +8,7 @@
#+BEGIN_CENTER #+BEGIN_CENTER
[[file:images/logo.png]] [[file:images/logo.png]]
[[file:images/bbb3.png]]
#+END_CENTER #+END_CENTER
#+begin_quote #+begin_quote
@ -16,13 +17,6 @@
-- Lucas Nussbaum -- Lucas Nussbaum
#+end_quote #+end_quote
#+BEGIN_EXPORT html
<center>
<h1><a href="./release3.html">New version 3 (Stretch)</a></h1>
</center>
#+END_EXPORT
So you want to run your own internet services? Email, chat, VoIP, web sites, file synchronisation, wikis, blogs, social networks, media hosting, backups, VPN. Freedombone enables you to do all of that in a self-hosted way, where you keep control of your data and it resides in your own home. So you want to run your own internet services? Email, chat, VoIP, web sites, file synchronisation, wikis, blogs, social networks, media hosting, backups, VPN. Freedombone enables you to do all of that in a self-hosted way, where you keep control of your data and it resides in your own home.
[[./homeserver.html][Here's how]]. [[./homeserver.html][Here's how]].

BIN
img/bbb3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -108,17 +108,19 @@ function upgrade_smilodon {
} }
function backup_local_smilodon { function backup_local_smilodon {
if [ -d $SMILODON_PATH ]; then if [ ! -d $SMILODON_PATH ]; then
systemctl stop smilodon return
USE_MONGODB=1
function_check backup_database_to_usb
backup_database_to_usb smilodon
backup_directory_to_usb $SMILODON_PATH smilodon
systemctl start smilodon
fi fi
systemctl stop smilodon
USE_MONGODB=1
function_check backup_database_to_usb
backup_database_to_usb smilodon
backup_directory_to_usb $SMILODON_PATH smilodon
systemctl start smilodon
} }
function restore_local_smilodon { function restore_local_smilodon {

View File

@ -846,6 +846,9 @@ function install_email_basic {
echo "dc_mailname_in_oh='true'" >> /etc/exim4/update-exim4.conf.conf echo "dc_mailname_in_oh='true'" >> /etc/exim4/update-exim4.conf.conf
echo "dc_localdelivery='maildir_home'" >> /etc/exim4/update-exim4.conf.conf echo "dc_localdelivery='maildir_home'" >> /etc/exim4/update-exim4.conf.conf
echo "dc_main_log_selector=-all" >> /etc/exim4/update-exim4.conf.conf echo "dc_main_log_selector=-all" >> /etc/exim4/update-exim4.conf.conf
echo "chunking_advertise_hosts =" > /etc/exim4/conf.d/main/04_exim4-config_chunking
update-exim4.conf update-exim4.conf
sed -i "s/START=no/START=yes/g" /etc/default/saslauthd sed -i "s/START=no/START=yes/g" /etc/default/saslauthd
systemctl start saslauthd systemctl start saslauthd

View File

@ -95,6 +95,7 @@ if [ -d $PROJECT_DIR ]; then
apt-get -yq -t stretch-backports install certbot apt-get -yq -t stretch-backports install certbot
email_install_tls email_install_tls
email_disable_chunking
defrag_filesystem defrag_filesystem
fi fi
fi fi

View File

@ -983,6 +983,16 @@ function install_composer {
fi fi
} }
function email_disable_chunking {
if [ -f /etc/exim4/conf.d/main/04_exim4-config_chunking ]; then
return
fi
echo "chunking_advertise_hosts =" > /etc/exim4/conf.d/main/04_exim4-config_chunking
update-exim4.conf
dpkg-reconfigure --frontend noninteractive exim4-config
systemctl restart exim4
}
function email_install_tls { function email_install_tls {
tls_config_file=/etc/exim4/conf.d/main/03_exim4-config_tlsoptions tls_config_file=/etc/exim4/conf.d/main/03_exim4-config_tlsoptions
tls_auth_config_file=/etc/exim4/conf.d/auth/30_exim4-config_examples tls_auth_config_file=/etc/exim4/conf.d/auth/30_exim4-config_examples

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2017-11-27 Mon 12:35 --> <!-- 2017-11-27 Mon 12:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title> <title>&lrm;</title>
@ -256,9 +256,9 @@ Icecast enables you to run something like an internet radio station. So if you h
This system is available only via an onion address, which should mitigate the potential for copyright disputes over streamed content. By default it's only set up to stream to a small number of users so that it doesn't put too much stress on CPU or memory requirements, although you can increase the maximum limit if you have a more powerful system and enough bandwidth. This system is available only via an onion address, which should mitigate the potential for copyright disputes over streamed content. By default it's only set up to stream to a small number of users so that it doesn't put too much stress on CPU or memory requirements, although you can increase the maximum limit if you have a more powerful system and enough bandwidth.
</p> </p>
<div id="outline-container-org9fecb99" class="outline-2"> <div id="outline-container-orgf3d9fbb" class="outline-2">
<h2 id="org9fecb99">Installation</h2> <h2 id="orgf3d9fbb">Installation</h2>
<div class="outline-text-2" id="text-org9fecb99"> <div class="outline-text-2" id="text-orgf3d9fbb">
<p> <p>
Log into your system with: Log into your system with:
</p> </p>
@ -269,11 +269,7 @@ Log into your system with:
</div> </div>
<p> <p>
Using cursor keys, space bar and Enter key select <b>Administrator controls</b> and type in your password. Using cursor keys, space bar and Enter key select <b>Administrator controls</b> and type in your password. Select <b>Add/Remove Apps</b> then <b>icecast</b>.
</p>
<p>
Select <b>Add/Remove Apps</b>. If Vim is selected then you might want to unselect and uninstall it first, then select <b>icecast</b>.
</p> </p>
<p> <p>
@ -282,9 +278,9 @@ If you then go to the <b>About</b> screen you'll see the onion address for Iceca
</div> </div>
</div> </div>
<div id="outline-container-orgf30a581" class="outline-2"> <div id="outline-container-orgcba32fc" class="outline-2">
<h2 id="orgf30a581">Adding files to be streamed</h2> <h2 id="orgcba32fc">Adding files to be streamed</h2>
<div class="outline-text-2" id="text-orgf30a581"> <div class="outline-text-2" id="text-orgcba32fc">
<p> <p>
There are two ways to get files onto the system: either via ssh or via a USB drive. File types can be <b>ogg, ogv, mp3 or mp4</b> format. There are two ways to get files onto the system: either via ssh or via a USB drive. File types can be <b>ogg, ogv, mp3 or mp4</b> format.
</p> </p>
@ -294,9 +290,9 @@ It may take a while for the files to import, especially on a low power single bo
</p> </p>
</div> </div>
<div id="outline-container-org366fd74" class="outline-3"> <div id="outline-container-org3b2c1e8" class="outline-3">
<h3 id="org366fd74">From a USB drive</h3> <h3 id="org3b2c1e8">From a USB drive</h3>
<div class="outline-text-3" id="text-org366fd74"> <div class="outline-text-3" id="text-org3b2c1e8">
<p> <p>
Create a directory on the USB drive named <b>icestream</b> and copy your files into there. Plug the drive into your server. Create a directory on the USB drive named <b>icestream</b> and copy your files into there. Plug the drive into your server.
</p> </p>
@ -307,9 +303,9 @@ Go to the <b>Administrator control panel</b>, select <b>App settings</b>, then <
</div> </div>
</div> </div>
<div id="outline-container-orgbb75a88" class="outline-3"> <div id="outline-container-org9ba9caf" class="outline-3">
<h3 id="orgbb75a88">Via ssh</h3> <h3 id="org9ba9caf">Via ssh</h3>
<div class="outline-text-3" id="text-orgbb75a88"> <div class="outline-text-3" id="text-org9ba9caf">
<p> <p>
Make a directory named <b>icestream</b> and copy your files into it. Then copy the directory to your server. Make a directory named <b>icestream</b> and copy your files into it. Then copy the directory to your server.
</p> </p>
@ -335,9 +331,9 @@ Select <b>Administrator controls</b>, enter your password, then go to <b>App set
</div> </div>
</div> </div>
<div id="outline-container-orgdc2e42f" class="outline-2"> <div id="outline-container-orge68b817" class="outline-2">
<h2 id="orgdc2e42f">Access controls</h2> <h2 id="orge68b817">Access controls</h2>
<div class="outline-text-2" id="text-orgdc2e42f"> <div class="outline-text-2" id="text-orge68b817">
<p> <p>
By default anyone who happens to find your Icecast onion address can listen to your stream. If you only want it to be available to a few friends or family then you can add an extra login password. By default anyone who happens to find your Icecast onion address can listen to your stream. If you only want it to be available to a few friends or family then you can add an extra login password.
</p> </p>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2017-10-15 Sun 11:26 --> <!-- 2017-11-27 Mon 13:21 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title> <title>&lrm;</title>
@ -237,12 +237,11 @@ for the JavaScript code in this tag.
</div> </div>
<div id="content"> <div id="content">
<div class="org-center"> <div class="org-center">
<p>
<div class="figure"> <img src="images/logo.png" alt="logo.png" />
<p><img src="images/logo.png" alt="logo.png" /> <img src="images/bbb3.png" alt="bbb3.png" />
</p> </p>
</div> </div>
</div>
<blockquote> <blockquote>
<p> <p>
@ -254,11 +253,6 @@ for the JavaScript code in this tag.
</p> </p>
</blockquote> </blockquote>
<center>
<h1><a href="./release3.html">New version 3 (Stretch)</a></h1>
</center>
<p> <p>
So you want to run your own internet services? Email, chat, VoIP, web sites, file synchronisation, wikis, blogs, social networks, media hosting, backups, VPN. Freedombone enables you to do all of that in a self-hosted way, where you keep control of your data and it resides in your own home. So you want to run your own internet services? Email, chat, VoIP, web sites, file synchronisation, wikis, blogs, social networks, media hosting, backups, VPN. Freedombone enables you to do all of that in a self-hosted way, where you keep control of your data and it resides in your own home.
</p> </p>