This is a manual for installing DemocracyOS app in CentOS.
- MongoDB =========== Installing MongoDB and starting its daemon:
#!/bin/bash | |
# | |
# PostgreSQL Backup Script Ver 1.0 | |
# http://autopgsqlbackup.frozenpc.net | |
# Copyright (c) 2005 Aaron Axelsen <axelseaa@amadmax.com> | |
# | |
# This script is based of the AutoMySQLBackup Script Ver 2.2 | |
# It can be found at http://sourceforge.net/projects/automysqlbackup/ | |
# | |
# The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9 |
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
sudo vi /etc/resolv.conf | |
comment all lines and add following line at the end | |
nameserver 8.8.8.8 | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
curl -L https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.1.2 |
# Update | |
sudo apt-get -y update | |
# Install git and curl | |
sudo apt-get -y install curl | |
sudo apt-get -y install git | |
sudo apt-get -y install mongodb | |
# Install meteor | |
sudo curl https://install.meteor.com/ | sh |
<?php | |
/** | |
* Gravity Wiz // Gravity Perks // GP Limit Choices // Shortcodes | |
* | |
* Provides several shortcodes providing the ability to display the number of times a choice has been selected, | |
* the total number of times a choice can be selected, and the remaining number of times a choice can be selected. | |
* | |
* @version 1.0 | |
* @author David Smith <david@gravitywiz.com> | |
* @license GPL-2.0+ |
const fs = require('fs') | |
const mongoose = require('mongoose') | |
const Batch = require('batch') | |
const models = require('lib/models') | |
const data = require('./topics.json') | |
const ObjectId = mongoose.Schema.ObjectId | |
models() |
# Configuring OpenSim+ODE over FreeBSD 9.0 | |
# | |
optain the package from | |
Linux Bin: http://opensimulator.org/dist/opensim-0.7.3.1.tar.gz | |
Source tar: git clone git://opensimulator.org/git/opensim | |
Configuration files: | |
./OpenSimDefaults.ini |
WebRTCを使ってみよう! で紹介されている rfc5766-turn-server は既に更新が終わり、別のプロジェクトになっています。
coturn を代わりに使用します。 https://github.com/coturn/coturn/wiki/Downloads から最新バージョンをダウンロードしてビルドします。
※ダウンロードページに turnserver-*-amazon-aws-ec2-x86_64.txt というファイルあり! EC2 ではこの内容にも注意すること
I'm working on the Opensimulator project. After upgrading Ubuntu 18.04 LTS to Ubuntu 20.04 LTS I was no longer able to compile the project using msbuild. msbuild could not be found. Trying to revert back and simply reinstall Mono according to the instructions for Ubuntu 18.04 on the Mono Project Download site didn't resolve the problem.
Finally I found a solution. I completely removed Mono from my installation. Even there is a stable-focal repository I decided to use the stable-bionic repository for a temporary solution until things get fixed.
As such I started with the instructions for Ubuntu 18.04 on the Mono Project Download site.
sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" |
GroupDocs.Translation Cloud-Python |