Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 3851|Reply: 5

Rocket.Chat on Orange PI pc+

[Copy link]

1

Threads

1

Posts

9

Credits

Novice

Rank: 1

Credits
9
Post time 2017-4-17 22:29:02 | Show all posts |Read mode
Rocket.Chat is a messaging system for team communication, like Slack. It has various features, including:

    • Video conferences
    • Help desk chat
    • File sharing
    • Voice messages
    • Link previews

this my first post if it can save time to someone i put step by step.
i try without succes snaps and dpaltform procedure precision i am newbie.

I use armbian 5.25
Ip adress of OPI is 192.168.1.153
hostname will be https://mydomain.com
I will use external Mongo database  

copy flash to emmc
  1. sudo nand-sata-install
Copy the Code
install ngnix
  1. sudo systemctl stop log2ram.service
  2. sudo apt-get -y install nginx
  3. sudo systemctl start nginx.service
  4. sudo systemctl start log2ram.service
Copy the Code
install all dependencies required by Rocket.Chat
  1. sudo apt install graphicsmagick build-essentialy
Copy the Code
Install Node.js and npm and change version of Node.js to 4.5
  1. sudo apt install nodejs
  2. sudo apt install npm
  3. sudo npm install -g n
  4. sudo n 4.5
  5. node --version
Copy the Code
A MongoDB database is required to store our chat data.  MongoDB could be installed on the Pi, but because of the high write volume it’s probably not too good for your SD card and there is a high risk of data corruption.  mLab.com (previously known as Mongo Lab) provides a cloud database service. Their free sandbox package provides a single database with 500 megabytes and no credit card is required.


Install of rocket.chat
  1. cd /var/www
  2. sudo curl -L https://rocket.chat/releases/latest/download -o rocket.chat.tgz
  3. sudo tar xzf rocket.chat.tgz
  4. sudo mv bundle Rocket.Chat
  5. cd Rocket.Chat/programs/server
  6. sudo npm install
  7. cd ../..
Copy the Code
Back to nginx configuration for ssl access
  1. sudo mkdir -p /etc/nginx/ssl/
  2. cd /etc/nginx/ssl
  3. sudo openssl req -new -x509 -days 365 -nodes -out /etc/nginx/ssl/rocketchat.crt -keyout /etc/nginx/ssl/rocketchat.key
  4. sudo chmod 400 rocketchat.key
Copy the Code
create a Virtual Host configuration
  1. sudo nano /etc/nginx/sites-available/rocketchat
Copy the Code
paste the following configuration:
  1. # Upstreams
  2. upstream backend {
  3.     server 127.0.0.1:3000;
  4. }

  5. # HTTPS Server
  6. server {
  7.     listen 443;
  8.     server_name mydomain.com;

  9.     error_log /var/log/nginx/rocketchat.access.log;

  10.     ssl on;
  11. <pre><font face="Tahoma">ssl_certificate /etc/nginx/ssl/rocketchat.crt;
  12. ssl_certificate_key /etc/nginx/ssl/rocketchat.key;</font></pre>ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # don’t use SSLv3 ref: POODLE

  13.     location / {
  14.         proxy_pass http://backend/;
  15.         proxy_http_version 1.1;
  16.         proxy_set_header Upgrade $http_upgrade;
  17.         proxy_set_header Connection "upgrade";
  18.         proxy_set_header Host $http_host;

  19.         proxy_set_header X-Real-IP $remote_addr;
  20.         proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
  21.         proxy_set_header X-Forward-Proto http;
  22.         proxy_set_header X-Nginx-Proxy true;

  23.         proxy_redirect off;
  24.     }
  25. }
Copy the Code
Save, exit and activate this configuration
  1. sudo ln -s /etc/nginx/sites-available/rocketchat /etc/nginx/sites-enabled/rocketchat
Copy the Code
test and restart NGINX
  1. sudo nginx -t
  2. sudo systemctl restart nginx
Copy the Code
Now we make a script to start rocket.chat
  1. cd /var/www/Rocket.Chat/
  2. nano rocket
Copy the Code
paste following line with your url from mongoDB save
  1. export ROOT_URL=https://mydomain.com
  2. export <b>export MONGO_URL=mongodb://user:password@xxxxx.mlab.com:111111/xxxxx</b>
  3. export PORT=3000
  4. node main.js
Copy the Code
give right  to execute
  1. sudo chmod +x rocket
Copy the Code
to start the script wait 2 min to be ready
  1. ./rocket http://localhost:3000
Copy the Code
forward port on your routeur 80 443
can also acces in local https:192.168.1.162 or http//:192.168.1.162:3000

enjoy!!

fisrt user is the admin

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
Post time 2021-11-4 04:54:18 | Show all posts

Great Construction Site

In reply to the guy asking about print media css, scanning services manchester, plaques for gardens, window decals for cars,  I highly suggest this updated cut vinyl lettering site not to mention decals stickers, print media examples, construction signage free download, retail printing companies,  look at this recommended sandwich boards site alongside all postcards printed, stickershop, graphic designer salary, cad to gbp,  try this great construction signage blog for engineering courses, postcards online, advertisements for kids, business cards stockport,  Also don't forget this great restaurant printing advice on top of engineering degree, wall graphics, magnetic car signs cheap, banners tour,  look at this great print media details for stickerscape, sandwich boards calgary, brochures crossword clue,  on top of this cool Vancouver signs tips and don't forget posters and prints uk, plaques, cad, engineering companies,  look at this awesome print media advice as well as business cards, advertisements, scanning probe microscopy, developmental language disorder,  try this recommended promotional materials advice for plaques meaning, brochure printing, window decals simplisafe, banners bromsgrove,  Also don't forget this best posters site not to mention transit shelters manufacturers, window decals christmas, advertisements for myself, wall graphics for home,  look at this high rated architecture advice for business cards manchester, post cards for business, promotional materials definition, See More Awesome Vr Info a4c545_
Post time 2021-11-23 14:01:01 | Show all posts

Useful Business Massage Blog

남자 에 대한 문의 ÿþ Ñä²tÇ  나는 이것을 매우 제안합니다 멋진 양주출장안마 팁 그리고 잊지 마세요 ÿþ Ñä²tÇ  이것 좀봐 유용한 영등포출장안마 세부정보 언급할 것도 없이 ÿþ Ñä²tÇ  이것 좀봐 최상급 서초출장안마 사이트 for ÿþ Ñä²tÇ  또한 이것을 잊지 마십시오. 멋진 양천출장안마 세부정보 뿐만 아니라 ÿþ Ñä²tÇ  이것 좀봐 높은 평가 하남출장안마 블로그 for ÿþ Ñä²tÇ  그리고 잊지 마세요 this 최고 양주출장안마 정보 모두와 함께 ÿþ Ñä²tÇ  이것 좀봐 최상급 역삼출장안마 정보 and don't forget ÿþ Ñä²tÇ  try this 우수한 종로출장안마 조언 for ÿþ Ñä²tÇ  Also don't forget this 업데이트됨 서초출장안마 정보 언급할 것도 없이 ÿþ Ñä²tÇ  이것 좀봐 최상급 서초동출장안마 정보 for ÿþ Ñä²tÇ See More Great Post Cards Tips 6ce6c9d
Post time 2021-11-30 16:08:21 | Show all posts

Excellent Robot Logistics Site

What are the primary benefits of Autonomous Mobile Robots?

1. More Flexibility
Autonomous Mobile Robots are flexible and agile in their automation, as they are dependent on their own cameras and sensors to operate. Autonomous Mobile Robots don't need to follow predefined paths. They can instead design their individual efficient routes within a facility. This lets them stay clear of obstructions. Autonomous Mobile Robots are able to be moved to other tasks, in contrast to other automation technology which require more time and effort. Check out this orderpick robot info for more.

2. Safety Improved
Autonomous Mobile Robots are sucked to the gills by sensors and cameras. The cameras help the Autonomous Mobile Robots interpret and understand their surroundings. Autonomous Mobile Robots are able to move effectively in a space without colliding with products, people, or infrastructure. Equipment operated by humans like forklifts does not have the same safety mechanisms and is dependent on input from humans. Autonomous Mobile Robots eliminate the risk of human operators becoming distracted or fatigued and causing an accident. Autonomous Mobile Robots are able to perform repetitive tasks and reduce human error. This greatly increases safety.

3. Rapid Implementation
Autonomous Mobile Robots typically can be set up within four to six week dependent on the specifics of the process. It is crucial to pick the software and warehouse execution programs that the units must be integrated into. Even with the latest technology, this takes an incredible amount of time. It could take as long as one year for a goods-to- person (G2P), system to fully operational.

4. Ability to increase scale
Autonomous Mobile Robots are extremely simple to operate in a facility. It is possible to follow modular deployment strategies which allow you to start with small amounts of units, and increase your capacity as the size of your operation grow or your needs alter. This means that you don't need to invest in a large amount of money upfront. Instead of investing in huge quantities of Autonomous Mobile Robots it is possible to purchase one or two and later expand the number of units you have. This modular deployment will give you the capital you need to fund other projects, in addition to allowing you to evaluate the impact Autonomous Mobile Robots had on your business and decide on your next actions.

5. Moving between facilities is simple and easy.
Because they realize that automation is coming in the in the near future, some businesses might be hesitant to invest in automation options. This is understandable. The new system might not be required for two years, so why implement it? Autonomous Mobile Robots are a great option in these situations to bridge the gap. Autonomous Mobile Robots can be deployed quickly and relocated between locations. This lets automation be implemented even in the short-term. This is a benefit for businesses that are seeking to set up temporary holiday operations.
Post time 2021-12-1 01:46:59 | Show all posts

Top Gitlab Security Url

In reply to the people talking about gitlab security release, gitlab review in intellij, working at gitlab review, how much is gitlab worth, gitlab security upgrade, how does gitlab make money, how to see review comments in gitlab, is github a good place to work, gitlab container security scanning, is gitlab publicly traded, is gitlab safe, gitlab security scanning tools, start a review in gitlab, GitLab backup software, does gitlab use git,  I highly recommend this excellent gitlab security details for gitlab review in vscode, is github a good place to work, is gitlab a good place to work, gitlab security and compliance, gitlab critical security release, how to see review comments in gitlab, gitlab security scanning tools, gitlab review in pycharm, gitlab runner security best practices, gitlab security upgrade, how to give review comments in gitlab, is gitlab secure, gitlab security breach, gitlab start review vs comment, gitlab security vulnerability, is good as well. See More High Rated New Details c9d5886
Post time The day before yesterday 06:39 | Show all posts

Top Rated Business Trip Massage Site

출장마사지
A Business Trip Massage is a type massage that helps relax throughout a trip. This kind of massage is often called"business massage. "business massage". The purpose of this massage is to help you recover from jet lag, physical stress, fatigue, and other mental problems. Massages can help you get better rest at night. Here are some advantages of a business travel massage. While you are traveling, make sure you take advantage of this treatment! A massage for business can help you relax while on business. It will ease tension and help with chronic back discomfort. Many massage parlors offer this service, so be sure you find one that does! A relaxing massage lasting 15-20 minutes can be a wonderful way for you to unwind after a long journey. A full-body massage makes the perfect present for business travellers. The Business Travel Massage is an excellent gift for your employees and you. If you're a frequent traveler or a frequent flyer, a massage can aid you in staying focused on long flights. Massages can reduce chronic back pain, and also prevent the possibility of a miserable travel experience due to back pain. Swedish massages and deep tissue massages are two of the most requested massages for travellers. Massages that are aromatherapy are very popular. Massages in chairs are ideal for those on a tight budget. Check out this  역삼출장마사지 for advice.

Benefits Of A Business Trip Massage
Business travelers can benefit from a massage during a trip. It will keep your mind fresh and aid in recovering from long journeys. A massage can help to prevent back problems. Business travelers love massages that are deep as well as Swedish massages. Aromatherapy massages are highly sought-after. It is also possible to get an hour-long 15 or 20 minute massage in a chair if you're truly in need.  Massages for business travelers are a must during their travels. Massages are an excellent way to keep business travelers focused while on the road. Massages for business trips could be as easy or complicated as an Swedish or massage on the chair. It is possible to choose the best massage for your business trip to make your travel more relaxing or stress-free. A good one will ensure that your trip is more productive, and you'll feel less anxious.  Massages can help you stay focused on your business trip. A massage can help prevent back pain. The massage can assist you in getting back to health after long travels. Additionally, you will be able to avoid back pain that is chronic. There are many massages that are available to travelers. You can pick from Swedish massages, aromatherapy and deep tissue massages. A massage in the chair is one of the most convenient fixes can be done at any time. If you are on business trips it is also possible.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2022-1-27 16:35 GMT+8 , Processed in 0.036526 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list