Various tweakings
This commit is contained in:
parent
43c6a2941b
commit
d7e18235ed
|
@ -1360,9 +1360,9 @@ System mail name: mydomainname.com
|
|||
|
||||
IP addresses to listen on: blank
|
||||
|
||||
Destinations: mydomainname.com
|
||||
Destinations: mydomainname.com (and any other domains that you own)
|
||||
|
||||
Domains to relay mail: blank
|
||||
Domains to relay mail: mydomainname.com (and any other domains that you own)
|
||||
|
||||
Smarthost Relay: 192.168.1.0/24 (the range of addresses on your LAN)
|
||||
|
||||
|
@ -2719,11 +2719,9 @@ One of the most common things which you might wish to do is to send an email. T
|
|||
* Select settings/account settings
|
||||
* Select Sending mail/outgoing server
|
||||
* Set SMTP server to your domain name
|
||||
* Set Security to SSL/TLS (always)
|
||||
* Set port to 465
|
||||
* Set authentication to PLAIN
|
||||
* Enter your username and password
|
||||
* Accept the SSL certificate
|
||||
* Set Security to None
|
||||
* Set port to 587
|
||||
* Set password to None
|
||||
**** Folders
|
||||
To view any new folders which you may have created using the /mailinglistrule/ script from your inbox press the *K9 icon* at the top left to access folders, then press the *menu button* and select *refresh folder list*.
|
||||
|
||||
|
@ -2895,7 +2893,7 @@ You'll get a message saying "/Thunderbird failed to find the settings/"
|
|||
The settings should be as follows, substituting /mydomainname.com/ for your domain name and /myusername/ for the username given previously in [[Add a user]].
|
||||
|
||||
* Incoming: IMAP, mydomainname.com, 993, SSL/TLS, Normal Password
|
||||
* Outgoing: SMTP, mydomainname.com, 465, SSL/TLS, Normal Password
|
||||
* Outgoing: SMTP, mydomainname.com, 587, None, No Password
|
||||
* Username: myusername
|
||||
|
||||
Click *Done*.
|
||||
|
@ -4150,6 +4148,8 @@ Under the *themes* section select a few themes, including mobile themes which ar
|
|||
|
||||
Under the *site* section give your Friendica node a name other than "/my friend network/", you can change the icon and banner text and set the default mobile theme typically to /frost-mobile/. If you don't want your node to host a lot of accounts for people you don't know then you may want to set the register policy to "/requires approval/". For security it's probably a good idea only to host accounts for people who you actually know, rather than random strangers. Also be aware that the Beaglebone does not have a great deal of computational power or bandwidth and will not function well if there are hundreds of users using your node. If you're not federating with Diaspora or other sites then you may wish to select "/only allow Friendica contacts/". That improves the security of the system, since communication between Friendica nodes is always encrypted separately and in addition to the usual SSL encryption layer - which makes life interesting for the Surveillance State and at least keeps those cryptanalysts employed.
|
||||
|
||||
If you also wish to publish your public posts to a Diaspora node then within the *site* settings select *enable Diaspora support*.
|
||||
|
||||
It's probably a good idea to enable "/private posts by default for new users/" and also "/don't include post content in email notifications/". Since traditional email isn't a secure system and is easily vulnerable to attack by systems such as [[https://en.wikipedia.org/wiki/XKeyscore][Xkeyscore]].
|
||||
|
||||
***** Settings
|
||||
|
@ -4366,6 +4366,7 @@ Get the source code.
|
|||
|
||||
#+BEGIN_SRC: bash
|
||||
export HOSTNAME=mydomainname.com
|
||||
mkdir /var/www/$HOSTNAME
|
||||
cd /var/www/$HOSTNAME
|
||||
rm -rf htdocs
|
||||
git clone https://github.com/friendica/red.git htdocs
|
||||
|
@ -4503,24 +4504,28 @@ pump.io is the successor to StatusNet (which later became [[GNU Social]]) and is
|
|||
For a pump.io site you will need a separate domain/subdomain, so see [[Setting up a web site]] for details of how to create an Apache configuration for your site. If you're using freedns then you will need to create a new subdomain.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
apt-get update && apt-get install nodejs-legacy build-essential openssl libssl-dev redis-server imagemagick graphicsmagick git-core screen
|
||||
apt-get update
|
||||
apt-get install build-essential openssl libssl-dev redis-server imagemagick graphicsmagick git-core screen
|
||||
#+END_SRC
|
||||
|
||||
Now install nodejs.
|
||||
Download nodejs
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
cd /tmp
|
||||
git clone https://github.com/joyent/node.git
|
||||
cd /tmp/node
|
||||
git checkout v0.10.28
|
||||
./configure --openssl-libpath=/usr/lib/ssl --without-snapshot
|
||||
make
|
||||
wget http://freedombone.uk.to/node_0.10.28-1_armhf.deb
|
||||
#+END_SRC
|
||||
|
||||
Compiling may take approximately 45 minutes, so go and do something else for a while.
|
||||
Verify it.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
make install
|
||||
sha256sum node_0.10.28-1_armhf.deb
|
||||
42000a475d3397f295fe76998e79af999eebb8324ac9bb4981e931fabd9297aa
|
||||
#+END_SRC
|
||||
|
||||
Install it.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
dpkg -i node_0.10.28-1_armhf.deb
|
||||
#+END_SRC
|
||||
|
||||
Install pump.io
|
||||
|
@ -4562,7 +4567,7 @@ Add the following, replacing /mypumpiodomainname.com/ with your domain name.
|
|||
"uploaddir": "/var/local/pump.io/uploads",
|
||||
"debugClient": false,
|
||||
"firehose": "ofirehose.example",
|
||||
"logfile": "/dev/null",
|
||||
"logfile": "/var/local/pump.io/pump.log",
|
||||
"disableRegistration": false
|
||||
}
|
||||
#+END_SRC
|
||||
|
@ -4579,6 +4584,7 @@ cp /etc/ssl/certs/$HOSTNAME.crt /var/local/pump.io/keys
|
|||
useradd -s /bin/bash -d /var/local/pump.io pumpio
|
||||
chown -R pumpio:pumpio /var/local/pump.io
|
||||
chmod 400 /var/local/pump.io/keys/*
|
||||
chmod -R 777 /opt
|
||||
#+END_SRC
|
||||
|
||||
Patch the version of Apache.
|
||||
|
@ -4678,7 +4684,7 @@ Add the following text:
|
|||
SERVICE='pumpio'
|
||||
COMMAND="forever /opt/pump.io/bin/pump > /var/local/pump.io/daemon.log"
|
||||
USERNAME='pumpio'
|
||||
NICELEVEL=19 # from 0-19 the bigger the number, the less the impact on system resources
|
||||
NICELEVEL=19 # from 0-19 the bigger the number, the less the impact on system OAresources
|
||||
HISTORY=1024
|
||||
INVOCATION="nice -n ${NICELEVEL} ${COMMAND}"
|
||||
PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/var/local/pump.io'
|
||||
|
|
Loading…
Reference in New Issue