Giter Club home page Giter Club logo

lowendscript-ng's People

Contributors

keith2 avatar koen84 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lowendscript-ng's Issues

Installation failed due to wrong parameter "spdy"

Hi,

I got the following error when I was running
"bash setup-wheezy.sh friendica fifriendica.crabdance.com"

Should I delete "spdy" from the fifriendica.crabdance.com.conf before I run the above command to get rid of the error?

How to reinstall friendica because when I re-run the above command it keeps telling me "fifriendica.crabdance.com" already exists.

screenshot from 2014-02-28 14-29-55

Thanks

nginx can't restart

root@vps:~# /etc/init.d/nginx restart
Restarting nginx: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx.

But port 80 is not occupied,no nginx process

Defaults to ssl = problem with self signed certificates

I was just testdriving, so no ssl.

I notice everything gets linked over SSL, even if I access the home page on standard http.
This means my initial page looks like this screenshot.
schermafdruk 2014-11-29 05 01 25

Why ? Because the CSS (among other things) is linked over SSL and the browser blocks that because CA not valid. (So even with self-signed certificates installed by the script, it's not really as desired.)

Is it possible to turn off SSL (for whatever reason one might have) ?

Doesn't prompt for SMTP settings (friendica at home)

I'm trying to run friendica at home. (Actually just a proof of concept, so I know if I can get it up and running or get stuck like last time, before I suggest it to a group.)

Sending mail (user registration) only works via specifying smtp server + login. (Also via php_ini(), as I've done that in some of my own scripts.)

https://github.com/friendica/friendica/wiki/How-to%3A-Hosting-a-Friendica-site-at-home
This seems to be using your script and says :
10) You will be prompted to enter your (normal) email address, your domain (which should be your DynDns subdomain) and a legitimate SMTP account to relay mail from. The latter can be taken from the SMTP settings in any standard mail client you use - also use the port specified there.

The SMTP question did NOT happen. So while the install is working, I can't login, I can't admin, etc.
Okay, I fixed it with by editting the mysql-db and a suitable password generated here
http://wiki.tonybaldwin.info/doku.php?id=hax:misc:fpassgen

Still, user registration and any email based functionality won't work. (On an at-home server, that is.)

Syntax error

Hi Keith,

just tried to run your script on a Debian Squeeze VPS with nginx 1.0.14 and got the following:

setup-debian.sh: line 4: syntax error near unexpected token newline' setup-debian.sh: line 4:'

thanks

Error in connection to webserver

Hi Keith2,
your script to install friendica automatically is nice work. But I have some issues:
I installed a VM on a XEN-Server in a private LAN for testing purposes as I always do.

First: To use wget without certificate-errors, I have to add an option, perhaps you should add that in your README:
For script-downloading use:
wget --no-check-certificate https://raw.github.com/Keith2/lowendscript-ng/master/setup-debian.sh

OK, first I tried to use wheezy (the config-file mentioned that it is ok to use wheezy).

This happens running the script with bash setup-debian.sh all
(excerpt)
WARNING: The following packages cannot be authenticated!
libfcgi0ldbl spawn-fcgi fcgiwrap
E: There are problems and -y was used without --force-yes
fcgiwrap installed for fcgiwrap
setup-debian.sh: line 398: /etc/nginx/fcgiwrap.conf: No such file or directory

Then I setup a new VM with squeeze according to your README:
bash setup-debian.sh all
bash setup-debian.sh friendica test.lan

this is the output (excerpt):
...
Receiving objects: 100% (8222/8222), 38.26 MiB | 1.77 MiB/s, done.
Resolving deltas: 100% (3015/3015), done.
nginx: invalid option: "="
Restarting nginx: nginx.
Enter admin email:

Don't know whether the invalid option causes a problem.

After finishing installation I tried to access friendica2.test.lan from another VM within same lan:

root@testen:~# ping friendica2.test.lan -c 4
PING friendica2.test.lan (10.1.2.24) 56(84) bytes of data.
64 bytes from 10.1.2.24: icmp_req=1 ttl=64 time=0.538 ms
64 bytes from 10.1.2.24: icmp_req=2 ttl=64 time=0.204 ms
64 bytes from 10.1.2.24: icmp_req=3 ttl=64 time=0.210 ms
64 bytes from 10.1.2.24: icmp_req=4 ttl=64 time=0.198 ms

--- friendica2.test.lan ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 0.198/0.287/0.538/0.145 ms
root@testen:~#

Everything seems to be ok, next test:

root@testen:~# nmap friendica2.test.lan

Starting Nmap 5.00 ( http://nmap.org ) at 2013-04-02 02:16 CEST
Interesting ports on 10.1.2.24:
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
443/tcp open https
MAC Address: 00:16:3E:09:1F:1F (Xensource)

Nmap done: 1 IP address (1 host up) scanned in 0.29 seconds
root@testen:~#

Webserver seems to be running, now try to access webserver:

root@testen:~# lynx friendica2.test.lan
Looking up 'friendica2.test.lan' first

Looking up friendica2.test.lan first
Looking up friendica2.test.lan
Making HTTP connection to friendica2.test.lan
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://friendica2.test.lan/'
Alert!: Unable to access document.

lynx: Can't access startfile
root@testen:~#

Same happens, if I try to access through a gui-webbrowser. Do you know what's going wrong?

bash setup-wheezy.sh friendica host : nginx fails

after running
bash setup-wheezy.sh friendica host
nginx doesn't restart (rebooted, because I kept getting nginx status page)

the error is supposedly in this line
fastcgi_param SCRIPT_FILENAME ;
so I think a var isn't correctly writen to /etc/nginx/sites-available/host.conf

install from iso file - can't "change media"

On windows XP, installed VirtualBox
then installed debian from a DVD iso file located on a windows HD

After debian was up and running, I ran script and had this problem:

Media change: please insert the disc labeled 'debian GNU/.......DVD...' in the drive '/media/cdrom/' and press enter

note: this computer does not have a DVDrom, only a cdrom and don't have debian in disc form

Friendica hosted via Tor hidden service

Hi,

It's me again. I've finally gotten our server working and host it via Tor hidden service.
In order to enable tor, I add the hidden service name *****.onion to the server_name in the nginx configuration file.

Everything else works fine except I cannot send out the connect request. I get an error saying "Unable to resolve your name at the provided location." The identity address is something like:
nickname@****.onion
It seems the server cannot resolve ***
.onion. Is there a way around this?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.