View Full Version : This Qualifies As: Tech? I Think So......................

04-06-2018, 04:57 AM
Hit an interesting site that has SnapChat to offer. I liked SnapChat a few years ago when I was foolin' around with other L-distros.

S-o-o, I want to install it in Mint - which seems possible - but is it really all this complicated?

Here's the site ---> https://www.linuxjournal.com/ ............... and doesn't this guy look like Maxx Headroom (https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwjVyIGW57fbAhXruFkKHQ5QA3EQuAIIYDAC&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcY dpOjletnc&usg=AOvVaw2D0uu-BxqhZgiBC7o8SNOO)?

Matt Frewer...... right? 8866

OK - the tech question is: Do I actually need to install Mongo?

$ echo replSet=001-rs >> /etc/mongod.conf

The site says this:

"Rocket.Chat uses the MongoDB replica set OPTIONALLY to improve performance via Meteor Oplog tailing. "

What in blazes is Meteor Oplog tailing all about? And furthermore: What's the OPTIONALLY-thingy all about? Does that make it a safe and true option?

I know it's some sortta update searcher/notifier/installer, so is it all that important if I get an operational SnapChat up-n-running?

One site says:

"accessing the local mongodb database in order to tail the oplog reveals data for ALL mongo databases.
This may be a security issue when hosting multiple applications (baked by different untrusted teams) with the same mongodb instance. Is this correct?"

Since I'm NOT using several instances of SnapChat and don't have other 'puters on a network with me - I don't see that I need this at all - right? Wrong?

What am I to believe? I'll be hanging fire here until I get an answer - I need to NOT cause a melt-down of my system right now.

While waiting - I got this new message:

joseph@SurfersMintu1 ~ $ sudo npm install -g n
npm http GET https://registry.npmjs.org/n
npm http GET https://registry.npmjs.org/n
npm http GET https://registry.npmjs.org/n
npm ERR! at SecurePair.<anonymous> (tls.js:1370:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:982:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:469:13)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:223:10)
npm ERR! at writeOrBuffer (_stream_writable.js:213:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR! at write (_stream_readable.js:583:24)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 4.4.0-121-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "n"
npm ERR! cwd /home/joseph
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/joseph/npm-debug.log
npm ERR! not ok code 0
joseph@SurfersMintu1 ~ $

npm ERR! not ok code 0 ........................................to me means that it was aborted - right?

HOW MUCH of WHAT was aborted? Just the mongo-part or the whole SnapChat?

I'm kinda afraid to reboot this 'puter now until I find out what's gonna happen.
In spite of this little hang-up, I'm truly enjoying L-based distros and adding certain refinements to it.

The next thing I'm doing though - is to set up an expendable 'puter for all the mistakes I make. That sounds best to me.

Oh -- BTW ----> I'm setting my R/ Pi up out in my workshop so I can have internet and streaming whatevers at my bench too.

04-06-2018, 09:31 AM


04-06-2018, 06:02 PM
That went NO-where. Right outta the box I got shot down.

joseph@SurfersMintu1 ~ $ sudo aptitude install npm
[sudo] password for joseph:
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

joseph@SurfersMintu1 ~ $ ln -s /usr/bin/nodejs /usr/bin/node
ln: failed to create symbolic link ‘/usr/bin/node’: Permission denied
joseph@SurfersMintu1 ~ $

.... and besides - it says:

6. Now you'll need to launch google chrome, go to settings, go to extensions, select developer mode, select "load unpacked extension", and choose the subfolder you extracted the runtime to.

7. You should see ARChon Custom Runtime listed, ensure the "enabled" box is checked. Warnings will be listed.

8. Load a test .apk, by extracting the zip file to subfolder, then selecting that subfolder with "load unpacked extension" again. This time, select "launch" below the extension. You should be greeted with the app.

All I have that resembles Chrome is Chromium. In this case, are they interchangeable.?