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

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

  1. Thursday, 20 June 2024 05:44
    Подарок для конкурента
    https://xrumer.ru/
    Такой пакет берут для переспама анкор листа сайта или мощно усилить НЧ запросы
    Подарок для конкурента
  2. Thursday, 20 June 2024 05:47
    Erectile dysfunction treatments available online from TruePills.
    Discreet, next day delivery and lowest price guarantee.

    Viagra is a well-known, branded and common erectile dysfunction (ED) treatment for men.
    It's available through our Online TruePills service.

    Trial ED Pack consists of the following ED drugs:

    Viagra Active Ingredient: Sildenafil 100mg 5 pills
    Cialis 20mg 5 pills
    Levitra 20mg 5 pills

    https://cutt.ly/dw7ChH4s
    https://valeolog-tm.ru/bitrix/redirect.php?goto=https://true-pill.top/
    https://gorodkuzneck.ru/bitrix/redirect.php?goto=https://true-pill.top/
    http://ww.la-room.kr/member/login.html?noMemberOrder&returnUrl=https%3a%2f%2ftrue-pill.top
    https://www.e-1.ru/bitrix/rk.php?id=17&site_id=s1&event1=banner&event2=click&goto=https://true-pill.top/
    https://36best.com/bitrix/redirect.php?goto=https://true-pill.top/


    Xilanic
    Amonex
    Klax
    Furaxil
    Xylar
    Triactin
    Zanirisp
    Min-ovral
    Rodiflam
    Lafax
    Dehydratin neo
    Cronodine
    Zoltec
    Mycotix
    Licef
    Artrifilm
    Onprelen
    Meramyl hct
    Finoptin
    Fenohexal
    Celemax
    Hysetin p
    Aciclovir
    Divaril
    Neo lotan
    Sigaprim
    Articulan
    Topilex
    Donesyn
    Naprometin
    Esopral
    Sfrowasa
    Chemophenicol
    Verospilactone
    Imitag
    Glukofen
    Sesaren
    Cusi erythromycin
    Terbafin
    Rolac
  3. Thursday, 20 June 2024 05:47
    Erectile dysfunction treatments available online from TruePills.
    Discreet, next day delivery and lowest price guarantee.

    Viagra is a well-known, branded and common erectile dysfunction (ED) treatment for men.
    It's available through our Online TruePills service.

    Trial ED Pack consists of the following ED drugs:

    Viagra Active Ingredient: Sildenafil 100mg 5 pills
    Cialis 20mg 5 pills
    Levitra 20mg 5 pills

    https://cutt.ly/dw7ChH4s
    https://valeolog-tm.ru/bitrix/redirect.php?goto=https://true-pill.top/
    https://gorodkuzneck.ru/bitrix/redirect.php?goto=https://true-pill.top/
    http://ww.la-room.kr/member/login.html?noMemberOrder&returnUrl=https%3a%2f%2ftrue-pill.top
    https://www.e-1.ru/bitrix/rk.php?id=17&site_id=s1&event1=banner&event2=click&goto=https://true-pill.top/
    https://36best.com/bitrix/redirect.php?goto=https://true-pill.top/


    Xilanic
    Amonex
    Klax
    Furaxil
    Xylar
    Triactin
    Zanirisp
    Min-ovral
    Rodiflam
    Lafax
    Dehydratin neo
    Cronodine
    Zoltec
    Mycotix
    Licef
    Artrifilm
    Onprelen
    Meramyl hct
    Finoptin
    Fenohexal
    Celemax
    Hysetin p
    Aciclovir
    Divaril
    Neo lotan
    Sigaprim
    Articulan
    Topilex
    Donesyn
    Naprometin
    Esopral
    Sfrowasa
    Chemophenicol
    Verospilactone
    Imitag
    Glukofen
    Sesaren
    Cusi erythromycin
    Terbafin
    Rolac
  4. Thursday, 20 June 2024 05:47
    Erectile dysfunction treatments available online from TruePills.
    Discreet, next day delivery and lowest price guarantee.

    Viagra is a well-known, branded and common erectile dysfunction (ED) treatment for men.
    It's available through our Online TruePills service.

    Trial ED Pack consists of the following ED drugs:

    Viagra Active Ingredient: Sildenafil 100mg 5 pills
    Cialis 20mg 5 pills
    Levitra 20mg 5 pills

    https://cutt.ly/dw7ChH4s
    https://valeolog-tm.ru/bitrix/redirect.php?goto=https://true-pill.top/
    https://gorodkuzneck.ru/bitrix/redirect.php?goto=https://true-pill.top/
    http://ww.la-room.kr/member/login.html?noMemberOrder&returnUrl=https%3a%2f%2ftrue-pill.top
    https://www.e-1.ru/bitrix/rk.php?id=17&site_id=s1&event1=banner&event2=click&goto=https://true-pill.top/
    https://36best.com/bitrix/redirect.php?goto=https://true-pill.top/


    Xilanic
    Amonex
    Klax
    Furaxil
    Xylar
    Triactin
    Zanirisp
    Min-ovral
    Rodiflam
    Lafax
    Dehydratin neo
    Cronodine
    Zoltec
    Mycotix
    Licef
    Artrifilm
    Onprelen
    Meramyl hct
    Finoptin
    Fenohexal
    Celemax
    Hysetin p
    Aciclovir
    Divaril
    Neo lotan
    Sigaprim
    Articulan
    Topilex
    Donesyn
    Naprometin
    Esopral
    Sfrowasa
    Chemophenicol
    Verospilactone
    Imitag
    Glukofen
    Sesaren
    Cusi erythromycin
    Terbafin
    Rolac
  5. Thursday, 20 June 2024 05:47
    Erectile dysfunction treatments available online from TruePills.
    Discreet, next day delivery and lowest price guarantee.

    Viagra is a well-known, branded and common erectile dysfunction (ED) treatment for men.
    It's available through our Online TruePills service.

    Trial ED Pack consists of the following ED drugs:

    Viagra Active Ingredient: Sildenafil 100mg 5 pills
    Cialis 20mg 5 pills
    Levitra 20mg 5 pills

    https://cutt.ly/dw7ChH4s
    https://valeolog-tm.ru/bitrix/redirect.php?goto=https://true-pill.top/
    https://gorodkuzneck.ru/bitrix/redirect.php?goto=https://true-pill.top/
    http://ww.la-room.kr/member/login.html?noMemberOrder&returnUrl=https%3a%2f%2ftrue-pill.top
    https://www.e-1.ru/bitrix/rk.php?id=17&site_id=s1&event1=banner&event2=click&goto=https://true-pill.top/
    https://36best.com/bitrix/redirect.php?goto=https://true-pill.top/


    Xilanic
    Amonex
    Klax
    Furaxil
    Xylar
    Triactin
    Zanirisp
    Min-ovral
    Rodiflam
    Lafax
    Dehydratin neo
    Cronodine
    Zoltec
    Mycotix
    Licef
    Artrifilm
    Onprelen
    Meramyl hct
    Finoptin
    Fenohexal
    Celemax
    Hysetin p
    Aciclovir
    Divaril
    Neo lotan
    Sigaprim
    Articulan
    Topilex
    Donesyn
    Naprometin
    Esopral
    Sfrowasa
    Chemophenicol
    Verospilactone
    Imitag
    Glukofen
    Sesaren
    Cusi erythromycin
    Terbafin
    Rolac
  6. Thursday, 20 June 2024 05:47
    Erectile dysfunction treatments available online from TruePills.
    Discreet, next day delivery and lowest price guarantee.

    Viagra is a well-known, branded and common erectile dysfunction (ED) treatment for men.
    It's available through our Online TruePills service.

    Trial ED Pack consists of the following ED drugs:

    Viagra Active Ingredient: Sildenafil 100mg 5 pills
    Cialis 20mg 5 pills
    Levitra 20mg 5 pills

    https://cutt.ly/dw7ChH4s
    https://valeolog-tm.ru/bitrix/redirect.php?goto=https://true-pill.top/
    https://gorodkuzneck.ru/bitrix/redirect.php?goto=https://true-pill.top/
    http://ww.la-room.kr/member/login.html?noMemberOrder&returnUrl=https%3a%2f%2ftrue-pill.top
    https://www.e-1.ru/bitrix/rk.php?id=17&site_id=s1&event1=banner&event2=click&goto=https://true-pill.top/
    https://36best.com/bitrix/redirect.php?goto=https://true-pill.top/


    Xilanic
    Amonex
    Klax
    Furaxil
    Xylar
    Triactin
    Zanirisp
    Min-ovral
    Rodiflam
    Lafax
    Dehydratin neo
    Cronodine
    Zoltec
    Mycotix
    Licef
    Artrifilm
    Onprelen
    Meramyl hct
    Finoptin
    Fenohexal
    Celemax
    Hysetin p
    Aciclovir
    Divaril
    Neo lotan
    Sigaprim
    Articulan
    Topilex
    Donesyn
    Naprometin
    Esopral
    Sfrowasa
    Chemophenicol
    Verospilactone
    Imitag
    Glukofen
    Sesaren
    Cusi erythromycin
    Terbafin
    Rolac
  7. Thursday, 20 June 2024 06:28

    Hello colleagues, how is everything, and what you desire to say on the topic of this article, in my view its actually amazing for me.

    www.miranetwork.it/index.php?option=com_k2&view=itemlist&task=user&id=434690 
    www.sshcongregation.org/fullnews?sn=76 
    proizvodim.com/a-predprinimatel-li-vy.html 
    cogita.site/news/otchety/andrei-scherbak.-gosudarstvo-i-malyi-biznes-ruka-dayuschaya-i-ruka-karayuschaya 
    la-buket.ru/catalog/?ELEMENT_ID=50&SECTION_ID=2 
  8. Thursday, 20 June 2024 07:43

    What's up, I want to subscribe for this blog to obtain hottest updates, so where can i do it please help out.
    купить аттестаты за 11
    https://local-urban-eats.mn.co/posts/57801299
    http://registraciavsaita.listbb.ru/viewtopic.php?f=2&t=511
    http://uebkameri.listbb.ru/viewtopic.php?f=2&t=471
    https://love.boltun.su/viewtopic.php?id=8171#p13366
    http://azat.on.kg/blogs/794/пїЅпїЅпїЅпїЅпїЅпїЅ-пїЅпїЅпїЅпїЅпїЅпїЅ-пїЅпїЅ-пїЅ-пїЅпїЅпїЅпїЅпїЅпїЅ-пїЅпїЅпїЅпїЅпїЅпїЅ-пїЅ-пїЅпїЅпїЅпїЅпїЅпїЅпїЅ

    купить диплом медсестры
  9. Thursday, 20 June 2024 08:28
    Read Full Report https://jaxxliberty.io/
  10. Thursday, 20 June 2024 08:31
    Станьте победителем в лучших онлайн казино
    лучшие онлайн казино с минимальным депозитом лучшие онлайн казино на деньги .
  11. Thursday, 20 June 2024 09:46
    В нашем мире, где диплом - это начало удачной карьеры в любой области, многие ищут максимально быстрый путь получения образования. Наличие документа об образовании переоценить просто невозможно. Ведь именно диплом открывает дверь перед любым человеком, который стремится вступить в профессиональное сообщество или продолжить обучение в ВУЗе.
    В данном контексте мы предлагаем оперативно получить этот необходимый документ. Вы имеете возможность купить диплом, и это будет удачным решением для человека, который не смог закончить обучение или потерял документ. диплом изготавливается с особой тщательностью, вниманием к мельчайшим деталям, чтобы в итоге получился полностью оригинальный документ.
    Плюсы данного подхода состоят не только в том, что можно оперативно получить свой диплом. Весь процесс организовывается просто и легко, с нашей поддержкой. От выбора нужного образца документа до точного заполнения личной информации и доставки в любой регион России — все под полным контролем квалифицированных мастеров.
    В итоге, всем, кто ищет оперативный способ получения необходимого документа, наша услуга предлагает выгодное решение. Заказать диплом - значит избежать долгого процесса обучения и не теряя времени переходить к достижению собственных целей, будь то поступление в университет или начало карьеры.
    http://damdesign.ru
    http://vpconf.ru
    http://mipie.ru
    http://i126.ru
    http://variant-surgut.ru
  12. Thursday, 20 June 2024 11:34
    Elon Musk was star guest this year at an annual conference organized by Italian PM Giorgia Meloni’s Brothers of Italy party.
    кракен 12
    He arrived against the backdrop of an ice-skating rink and an ancient castle in Rome with one of his 11 children to tout the value of procreation.

    Italy has one of the lowest birth rates in the world, and Musk urged the crowd to “make more Italians to save Italy’s culture,” a particular focus of the Meloni government.

    https://kraken5af44k24fwzohe6fvqfgxfsee4lgydb3ayzkfhlzqhuwlo33ad.com
    kraken2trfqodidvlh4aa337cpzfrhdlfldhve5nf7njhumwr7instad
    Meloni has been a strong opponent of surrogacy, which is criminalized in Italy, but there was no mention of Musk’s own recent children born of surrogacy.

    The owner of X (formerly called Twitter) was slightly rumpled with what could easily be argued the least stylish shoes in the mostly Italian crowd since Donald Trump’s often unkempt former top adviser Steve Bannon appeared at the conference in 2018.
    Meloni sat in the front row taking photos of Musk, who she personally invited. Meloni founded the Atreju conference in 1998, named after a character in the 1984 film “The NeverEnding Story.”
  13. Thursday, 20 June 2024 11:38
    Подарок для конкурента
    https://xrumer.ru/
    Такой пакет берут для переспама анкор листа сайта или мощно усилить НЧ запросы
    Подарок для конкурента
  14. Thursday, 20 June 2024 14:02

    Awesome issues here. I'm very glad to see your post. Thank you a lot and I'm having a look forward to touch you. Will you kindly drop me a mail?
    купить диплом преподавателя
    http://impressiverp.listbb.ru/viewtopic.php?f=16&t=728
    https://issuu.com/ramonma011
    http://wmrp.listbb.ru/viewtopic.php?f=51&t=589
    https://wiki.mysupp.ru/index.php?title=пїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅ:_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅ_пїЅ_пїЅпїЅпїЅпїЅпїЅпїЅ
    https://climat-cold.ru/forum/user/3706/

    купить диплом нового образца