In this exemple of configuration i'll use:
For the database the user opensim with the password DB_Password. (Chose whatever you want instead)
For the domain name replace domain.com by your own.

Dependency installation:
Before installing OpenSim you need Mono, MySQL and unzip.

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-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt dist-upgrade
sudo apt install mono-complete mysql-server unzip


MySQL configuration:

sudo nano /etc/mysql/my.cnf


Add the following lines before:
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/

[mysqld]
default_storage_engine = InnoDB
disable_log_bin
innodb_buffer_pool_size = 2G
innodb_log_file_size = 256M
innodb_log_buffer_size = 16M
innodb_flush_method = O_DIRECT
innodb_flush_log_at_trx_commit = 0
innodb_buffer_pool_instances = 2
default-authentication-plugin=mysql_native_password


Restart MySQL:

sudo service mysql restart
sudo mysql_secure_installation -u root -p


Database creation:

sudo mysql
mysql> create database opensim;
mysql> create user opensim identified by 'DB_Password';
mysql> create user 'opensim'@'localhost' identified by 'DB_Password';
mysql> GRANT ALL PRIVILEGES ON opensim.* TO 'opensim'@'localhost';
mysql> FLUSH PRIVILEGES;


Check the opensim account is mysql_native_password and disconnect from MySQL:

mysql> SELECT user,authentication_string,plugin,host FROM mysql.user;
mysql> \q


Download and Extract OpenSim:

cd ~
wget http://opensimulator.org/dist/OpenSim-LastAutoBuild.zip
mkdir ~/HG
unzip OpenSim-LastAutoBuild.zip -d HG/


Grid configuration:

cd ~/HG/bin
cp Robust.HG.ini.example Robust.HG.ini
cp OpenSim.ini.example OpenSim.ini
cp config-include/GridCommon.ini.example config-include/GridCommon.ini
cp config-include/osslEnable.ini.example config-include/osslEnable.ini


Edit the Robust.HG.ini file

nano -c ~/HG/bin/Robust.HG.ini


Edit the lines 28 - 240 - 620 - 623 - 834
Uncomment 104 - 106 - 111 - 191 - 198 - 731

	[Const]
28		BaseURL = "http://domain.com"

	[ServiceList]
104 OfflineIMServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector" 106 GroupsServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector" 111 UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector" [Hypergrid] 191 HomeURI = "${Const|BaseURL}:${Const|PublicPort}" 198 GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" [DatabaseService] 240 ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=DB_Password;Old Guids=true;SslMode=None;" [GridInfoService] 620 gridname = "NOM DE LE GRID" 623 gridnick = "nom_de_la_grid" [UserAgentService] 731 ShowUserDetailsInHGProfile = True [UserProfilesService] 834 Enabled = true


Launch Robust and make sure there is no errors:

mono ~/HG/bin/Robust.exe -inifile=Robust.HG.ini


In the Robust console create the first user:

R.O.B.U.S.T.# create user
First name [Default]: Ludo
Last name [User]: Davis
Password:
Email []:
User ID (enter for random) []:
Model name []:


Quit Robust with the quit command

R.O.B.U.S.T.# quit


Edit the OpenSim.ini file

nano -c ~/HG/bin/OpenSim.ini


Edit the lines: 53 - 1164 - 1179 - 1141 - 1202
Uncomment: 356 - 773 - 778 - 782 - 787 - 795 - 1152 - 1192 - 1276 - 1313
Comment: 1310

	[Const]
53		BaseHostname = "domain.com"

	[Map]
356		GenerateMaptiles = true

	[Messaging]
773		OfflineMessageModule = "Offline Message Module V2"
778		OfflineMessageURL = ${Const|PrivURL}:${Const|PrivatePort}
782		StorageProvider = OpenSim.Data.MySQL.dll
787		MuteListModule = MuteListModule
792		ForwardOfflineGroupMessages = true

	[Groups]
1141		Enabled = true
1152		Module = "Groups Module V2"
1164		ServicesConnectorModule = "Groups HG Service Connector"
1179		GroupsServerURI = ${Const|BaseURL}:${Const|PrivatePort}
1192		MessagingModule = "Groups Messaging Module V2"
1202		MessageOnlineUsersOnly = true

	[UserProfiles]
1276		ProfileServiceURL = "${Const|BaseURL}:${Const|PublicPort}"

	[Architecture]
1310		; Include-Architecture = "config-include/Standalone.ini"
1313		Include-Architecture = "config-include/GridHypergrid.ini"

 

Edit the GridCommon.ini file

nano -c ~/HG/bin/config-include/GridCommon.ini


Edit the line19
Uncomment 16 - 49
Comment 9

	[DatabaseService]
9		; Include-Storage = "config-include/storage/SQLiteStandalone.ini";
16		StorageProvider = "OpenSim.Data.MySQL.dll"
19		ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=DB_Password;Old Guids=true;SslMode=None;"

	[Hypergrid]
49		GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}"


Firewall configuration:

sudo ufw allow "OpenSSH"
sudo ufw allow 8002/tcp
sudo ufw allow 9000/tcp
sudo ufw allow 9000:9100/udp
sudo ufw enable


If the server is behind a router:
Create a NAT for ports 8002 in TCP and 9000-9100 TCP/UDP
Example:


NAT reflection must be enable.
Example:


You need to edit the Region.ini file with the external IP (not the domain name) and internal.

InternalAddress = IP_INTERNE
ExternalHostName = IP_EXTERNE


Create a route:

iptables -t nat -A OUTPUT --dst IP_EXTERNE -p tcp --dport 9000:9100 -j DNAT --to-destination IP_INTERNE
iptables -t nat -A OUTPUT --dst IP_EXTERNE -p udp --dport 9000:9100 -j DNAT --to-destination IP_INTERNE

16302 thoughts on “Install OpenSim 0.9.2.2 in Grid mode on Ubuntu 20.04”

  1. Tuesday, 18 June 2024 10:58

    I pay a visit everyday some blogs and sites to read content, except this weblog gives quality based content.
    look also at my pages and give a rating

    XEvil is a straightforward, rapidly and easy plan for totally computerized recognition and bypass of the overwhelming majority of captchas (CAPTCHAs), without the require to connect any 3rd-social gathering providers.

    The program Pretty much entirely replaces solutions like AntiGate (Anti-Captcha), RuCaptcha, DeCaptcher and Other individuals. Concurrently, it considerably exceeds them in recognition speed (ten periods or more) and is completely no cost.

    https://linkbuildingarticledirect20875.blog5.net/69032995/online-site-indexing SpeedyIndex google
    https://affiliates.trustgdpa.com/to-create-a-semantic-web-2/ fast indexing api
    https://www.cwpstl.org/xevil/ captcha service
    https://affiliates.trustgdpa.com/xrumer-48/ solving captcha
    https://wikiarticles87531.59bloggers.com/27760799/speed-up-indexing fast indexing engine
    https://affiliates.trustgdpa.com/fast-website-indexing-12/ speed index
    http://hsmg.kr/bbs/board.php?bo_table=free&wr_id=20571 captcha service
    https://affiliates.trustgdpa.com/xrumer-48/ Xrumer

    @rref@=44r
  2. Tuesday, 18 June 2024 11:19

    Hi there Dear, are you in fact visiting this website on a regular basis, if so then you will definitely take nice knowledge.
    http://hvoinie.ru/xvojnye-derevya/listvennica.html

    купить диплом в новом уренгое
    http://transcollege.ru

    купить диплом физика
  3. Tuesday, 18 June 2024 12:13
    На сегодняшний день, когда диплом - это начало удачной карьеры в любом направлении, многие пытаются найти максимально быстрый путь получения качественного образования. Необходимость наличия официального документа трудно переоценить. Ведь именно он открывает двери перед любым человеком, который собирается вступить в сообщество квалифицированных специалистов или продолжить обучение в ВУЗе.
    Наша компания предлагает максимально быстро получить этот важный документ. Вы имеете возможность приобрести диплом, что становится отличным решением для всех, кто не смог завершить образование, потерял документ или желает исправить плохие оценки. диплом изготавливается с особой тщательностью, вниманием к мельчайшим элементам, чтобы в итоге получился полностью оригинальный документ.
    Преимущество этого решения состоит не только в том, что вы оперативно получите свой диплом. Процесс организован удобно, с нашей поддержкой. От выбора подходящего образца диплома до консультации по заполнению персональной информации и доставки в любое место страны — все находится под полным контролем наших мастеров.
    Для всех, кто пытается найти быстрый способ получить требуемый документ, наша компания предлагает отличное решение. Купить диплом - значит избежать продолжительного обучения и сразу перейти к личным целям: к поступлению в ВУЗ или к началу успешной карьеры.
    http://vntconference.ru
    http://mrsk-l.ru
    http://o2omarketing.pro
    http://sv-hold.ru
    http://ptncl.ru
  4. Tuesday, 18 June 2024 14:41

    Hello I am so excited I found your website, I really found you by error, while I was researching on Askjeeve for something else, Anyhow I am here now and would just like to say thanks for a remarkable post and a all round exciting blog (I also love the theme/design), I don’t have time to look over it all at the minute but I have saved it and also included your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the excellent work.
    купить диплом маляра
    http://transcollege.ru
    http://hackspace-spb.ru
    http://paradise-kursk.ru

    купить диплом в костроме
  5. Tuesday, 18 June 2024 19:22

    Hey just wanted to give you a quick heads up and let you know a few of the pictures aren't loading properly. I'm not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same results.
    купить диплом в сосновом бору
    http://kirovstone.ru
    http://seoklan.ru
    http://agro-college.ru

    купить диплом в энгельсе
  6. Tuesday, 18 June 2024 21:31
    Отличный веб сайт! Это выглядит чрезвычайно экспертно! Поддерживайте отлично работу!
    Посмотрите также мою страничку

    https://www.finance-accounting-value.com/iframe/hatena_bookmark_comment?canonical_uri=https%3A%2F%2Figrovieavtomati.life - игровые автоматы на деньги
    http://www.stoneline-testouri.de/url?q=https://igrovieavtomati.live - игровые автоматы на деньги
    игровые автоматы
    игровые автоматы на деньги
  7. Tuesday, 18 June 2024 22:14
    Лучшие предложения для покупки диплома в этом году
    покупка диплом http://dipl-fast.ru/ .
  8. Tuesday, 18 June 2024 23:31

    For latest information you have to pay a quick visit world wide web and on web I found this site as a finest web site for newest updates.
    http://www.r-reforms.ru/articles/rechnoy-kruizniy-turizm-v-rossii.html

    купить диплом автомеханика
    http://vpconf.ru

    куплю диплом о высшем образовании
  9. Tuesday, 18 June 2024 23:49
    Добрый день всем!
    Закажите диплом ВУЗа с доставкой по России без предоплаты и с возможностью оплаты после получения - надежно, выгодно, безопасно!
    https://wiki.mysupp.ru/index.php?title=пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ:_пїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅ_пїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ
    https://www.drbastidas.com/contact?submission_id=173692&key=fc49653e29af549806c02c189a0481fa&page=0
    https://ic-info.ru/forum/user/164056/
    http://www.dachamania.ru/photo_gallrey/profile.php?uid=56376
    http://getamped.yxhi.com/doku.php?id=Документы подтверждающие квалификацию
  10. Wednesday, 19 June 2024 01:21
    В нашем обществе, где диплом - это начало успешной карьеры в любом направлении, многие ищут максимально быстрый и простой путь получения качественного образования. Факт наличия официального документа переоценить попросту невозможно. Ведь диплом открывает двери перед любым человеком, который стремится вступить в профессиональное сообщество или продолжить обучение в университете.
    В данном контексте наша компания предлагает максимально быстро получить этот необходимый документ. Вы имеете возможность приобрести диплом, и это является отличным решением для всех, кто не смог закончить образование, потерял документ или желает исправить плохие оценки. Все дипломы производятся аккуратно, с особым вниманием к мельчайшим элементам, чтобы на выходе получился продукт, максимально соответствующий оригиналу.
    Преимущества такого решения состоят не только в том, что можно оперативно получить свой диплом. Весь процесс организован удобно, с нашей поддержкой. От выбора подходящего образца диплома до точного заполнения персональной информации и доставки в любой регион страны — все под полным контролем качественных специалистов.
    Для тех, кто хочет найти быстрый способ получить необходимый документ, наша компания предлагает отличное решение. Заказать диплом - это значит избежать долгого обучения и сразу перейти к достижению личных целей: к поступлению в университет или к началу трудовой карьеры.
    http://opexobo.ru
    http://efawb.ru
    http://psygate.ru
    http://neftgaztek.ru
    http://artforum.pro