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

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

  1. Tuesday, 18 June 2024 00:19

    Right now it seems like Movable Type is the top blogging platform out there right now. (from what I've read) Is that what you are using on your blog?
    купить диплом в бийске
    http://bolschiedengi.ru
    http://seo1st.ru
    http://variant-surgut.ru

    купить диплом в усолье-сибирском
  2. Tuesday, 18 June 2024 02:23
    На сайте turkvideo.tv вы найдете теплые и трогательные турецкие сериалы семейные, которые подойдут для совместного просмотра с близкими. Все сериалы доступны бесплатно, с русской озвучкой и в высоком HD качестве. У нас нет рекламы перед просмотром, что делает наш сайт уникальным. Мы занимаем первое место в поиске Yandex благодаря высокому качеству контента. Начните наслаждаться лучшими семейными сериалами уже сегодня на turkvideo.tv!
  3. Tuesday, 18 June 2024 03:14
    ДОНЕЦК, 2 июн — РИА Новости. В Николаевской области нанесли удар по винзаводу "Оливия", на котором базировались украинские военные, сообщил РИА Новости координатор местного подполья Сергей Лебедев.
    kraken16.at
    "Около двух часов ночи серия из пяти ударов пришлась по винзаводу в Парутино <…>, на территории винзавода расположились военные со своей техникой и боекомплектом <…> По данным нашей агентуры, в районе Парутино часто слышна и видна работа HIMARS, который запускает дальнобойные ракеты в сторону Херсонской области и, возможно, на Крым", — сказал собеседник агентства.
    kraken12.at
    https://kraken14at.com
  4. Tuesday, 18 June 2024 04:53

    For most recent information you have to go to see world wide web and on internet I found this site as a best site for newest updates.
    купить диплом в петропавловске-камчатском
    http://dialognsu.ru
    http://diplomy-samara.ru
    http://pg2017.ru

    купить диплом в каспийске
  5. Tuesday, 18 June 2024 06:16
    Bs2best - Блэкспрут онион, Bs2site
  6. Tuesday, 18 June 2024 07:31
    Чего не умеет «муж на час»?

    И наконец, наша Мариетта. Мариетта меня занимает в особенности. Если уж случай сложный, то обращаюсь к друзьям-электрикам за подсказкой. Они врут, что не целовались; это уж наверно, - говорит Александра Николаевна. А на скалах, наверно, целовались, - говорит Александра Николаевна. Муж написал мне, - говорит Александра Николаевна, - что не может между нами быть прежнего. Все замерло там и приутихло, и во мне, казалось бы, конец. Александра Николаевна ходит за письмами с неизменным мундштуком во рту, спокойно поглядывая на ребятишек, скачущих у колодца. В ее комнате туман от дыма, а вечером появляется фиаска красного вина, и к двенадцати Александра Николаевна выпивает ее, с помощью двух-трех эмигрантов. Прежде я была умная и честная, - говорит Александра Николаевна, уставясь на меня покрасневшими глазами. Моя теща пользовалась его расположением «как умная немка». Если бы хотел целоваться, то не спрятался бы для этого на скалы. Если нет его сына, трудно добиться толку. Если вы являетесь поклонницей корейской продукции и часто ей пользуетесь сами, то это бизнес для вас. Может, напрасно, - говорит она, - а я вам все-таки скажу.

    Зайдите ко мне, - говорит она, - вы считаете меня пьяницей, но это ничего. Скажите ж мне, что делать. Я хочу что-то ей сказать, обнять ее, поцеловать, но не выходит. Александра Николаевна реже получает письма, но чаще ходит за ними. Александра Николаевна кутается в платок. Ну, - говорит Александра Николаевна, очнувшись. Это что-то ужасное они про нас выдумали, правда, Сеня? Таким образом, если у тебя в доме что-то сломалось, привезли новую мебель или люстру, а самостоятельно починить и установить нет возможности, то лучшим вариантом однозначно станет вызов профессионального мужа на час через агентство. Современный мастер на час обычно представляет собой профессионала, специализирующегося на множестве различных работ. Мастер на час - ремонт без проблем! Плиточные работы (установка, замена поврежденной керамической плитки; мелкие работы по ремонт керамических, гранитных или искусственных покрытий). Куда бежать, чтобы решить все проблемы сразу: чтобы и технику проверили, и исправили все эти мелкие недочеты? Я не говорил, а я исповедовался, и вам одной, вам одной! Она садится, кладет голову на камень и несколько времени сидит молча. Милая, терпите. Она вновь кладет голову на камень. Она так же покойно возвращается, сидит у себя в комнате. Она подходит к обрыву и бросает вниз папиросу. Виды работ: среди этих «мужей на час» только сантехники и электрики.

    Для какой работы можно вызвать «мужа на час»? Для безопасного заказа услуги рекомендуется обращаться в проверенные агентства или пользоваться рекомендациями знакомых. Ах, что вы говорите, мы же немножко только прошли к скалам. Да, это мы. Ах, здравствуйте, я в темноте вас не различила! Да, меня интересуют и прачки, полощущие белье в ручье, и работники, собирающие оливки; и рыбаки, и каменотесы, что вечно чинят дорогу в Сестри. Да, тут легче дышать, - говорит она. Дети и старики, два раза в день выходящие к морю, и стрелочница Тереза с четырьмя малышами - полуголодная, но всегда бойкая, живая, энергичная. На службе особенных способностей не выказывал, но не выказывал и неспособности. Таинственно журчит ручей. На горе повисли огромные звезды - так именно кажется, что повисли. Безрукий мужчина - горе семье? Дважды в день старичок бредет на станцию с сумкой, приносит десяток писем - большинство русским. И на сегодняшний день мы обслуживаем уже 26 городов, плюс к тому выезжаем для выполнения услуг в близлежащие населенные пункты по областям в радиусе до 50-60 км. Самостоятельно провести некоторые работы женщина не в состоянии, так как не имеет даже базовых знаний и плюс ко всему у нее, как правило на - это нет времени. Проще и надежней вызвать профессионала, который знает все - начиная от того, как повесить телевизор на бетонную стену, и заканчивая установкой дверей.

    Часто я понимала, что лесть груба, корыстна; но такова ее сила над нами; всегда наше сердце на стороне того, кто хвалит. Кроме того, что на наших работников можно полностью положиться, клиенты получают ряд сопутствующих услуг. Любая услуга должна сопровождаться гарантийным листом - это говорит о стабильности и серьезности компании. Эта услуга также идеально подойдет пожилым людям, которым затруднительно заниматься любой физической деятельностью. Плавание - это один из немногих видов физической активности, которые активизируют все группы мышц, и многие родители очень хотят, чтобы плавать их дети умели уже с самых ранних лет. Это был полковник Н. По древнему мостику, узенькому, крутому, услуга муж на час переходим ручей. Долина между гор, откуда бежит он, темна, полна ночного бархата. Пылкий вы человек, - пробормотал он, как-то особенно скверно улыбаясь. Он меня обманывал, а теперь ему нужно, чтобы все происходило свободно. Он не хочет так продолжать. Он говорит, что прежняя жизнь - обман. Пешие экскурсии могут быть успешны как в больших, так и в маленьких городах, где есть, что показать туристам, либо где можно представить свой город с иного ракурса для местных жителей.

    Если вам понравилась эта статья, и вы хотели бы получить более подробную информацию о муж на час Москва любезно взгляните на наш интернет-сайт.
  7. Tuesday, 18 June 2024 07:54
    Men dating men experience out of, connecting, and the belle of relationships in their own unique way.
    https://sexyfatmature.net
    In a superb that embraces range and inclusivity, same-sex relationships suffer with organize their place. Men who obsolete men sail the joys and challenges of edifice expressive connections based on authenticity and mutual understanding. They consecrate enjoyment from while overcoming societal expectations, stereotypes, and discrimination.
    https://thetittyfuck.com
    Communication and heartfelt intimacy pleasure a momentous part in their relationships, fostering trust and deepening their bond. As people progresses close to justice, it is significant to acknowledge and respect the care shared between men dating men, embracing their unequalled experiences and contributions to the tapestry of anthropoid connections.
  8. Tuesday, 18 June 2024 08:44
    Dating is a excursion that encompasses the magic of human coherence, personal rise, and alluring discoveries. It is a take care of through which individuals explore impractical possibilities, getting to know each other on a deeper level. Dating allows people to share experiences, exchange ideas, and fashion deep connections.
    https://thetranny.com

    In the monarchy of dating, undivided encounters a distinctive kind of emotions. There's the exhilaration of get-together someone modish, the foreknowledge of a first date, and the titillation of discovering common interests and shared values. It is a stretch of vulnerability and self-discovery as individuals unreserved themselves up to the potentiality of regard and companionship.
    https://amateurxxx.one

    Effective communication lies at the bravery of dating, facilitating accord and correlation between two people. It involves running listening, honest expression, and empathy, creating a room object of authentic dialogue. Through communication, individuals can explore their compatibility, interchange thoughts and dreams, and develop intensify a foundation of trust.
  9. Tuesday, 18 June 2024 09:07

    Admiring the time and energy you put into your site and in depth information you present. It's nice to come across a blog every once in a while that isn't the same old rehashed information. Excellent read! I've bookmarked your site and I'm including your RSS feeds to my Google account.
    купить диплом товароведа
    http://samara-shkola.ru
    http://neftgaztek.ru
    http://agpi.info

    купить диплом в губкине
  10. 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
  11. 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
  12. 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
  13. 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