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

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

  1. Tuesday, 02 July 2024 10:12
    Играй и выигрывай в 1win казино, становись богаче.
    Лучшие игровые автоматы в 1win казино, гарантируют яркие эмоции.
    1win казино - ключ к финансовой независимости, играй и получай удовольствие.
    Разгадай тайны удачи с 1win казино, получай крупные выигрыши.
    1win казино - место, где рождаются победы, подари себе азарт и адреналин.
    Наслаждайся азартом без ограничений в 1win казино, получай награды без границ.
    1win казино - твой путь к успеху и богатству, в котором ты можешь стать лучшим.
    Богатство и успех с 1win казино, которое ждет тебя прямо сейчас.
    1win официальный сайт https://luchshiye-onlayn-kazino-rb.com/ .
  2. Tuesday, 02 July 2024 12:43
    Genital relationships between men and women are a substantial and enriching cause of life. They proffer opportunities in behalf of uniting, enjoyment, and passionate bonding. To nurture a healthy sexual relationship, it is vital to centre on intimacy, respect, and communication. Here are some explanation points to reflect on:

    Outstanding Communication: Treeless and moral communication close to desires, boundaries, and expectations is crucial. Discussing these topics helps partners take each other recovered and fosters dependability and intimacy.
    https://hentai0day.com/tags/hardcore/
    Mutual Consent: Agree is the foundation of any sturdy physical relationship. Both partners should discern easy and zealous almost engaging in sexual activities. Respecting each other's boundaries is level to maintaining empower and reciprocal respect.

    Highly-strung Union: A acrid heated connection can significantly enhance mortal intimacy. Delightful heyday to body heated bonds can lead to a more pleasurable and fulfilling carnal relationship.

    Politeness in requital for Differences: Men and women may have unalike needs and perspectives non-standard irregardless sex. Armistice and appreciating these differences can help make a more balanced and sympathetic relationship.

    Research and Openness: Keeping the carnal relationship exciting involves being open to exploring new experiences together. Sharing fantasies and vexing creative things can provision the relationship spry and engaging.

    Animal Haleness: Prioritizing sexual health is essential. Orthodox medical check-ups, practicing safe union, and having open conversations about reproductive fitness can help put a stop to issues and inspire a healthier relationship.

    Handling Challenges Together: Every relationship faces challenges. Whether it’s a mismatch in procreative desires, importance, or other brio factors, addressing these issues together with empathy and steadfastness is crucial.
    https://gayblowjob.tv/tags/gay-group/
    Seeking Pro Help: If challenges mature onerous to control, seeking relieve from a therapeutist or counselor can be beneficial. Gifted teaching can minister to valuable insights and strategies recompense improving the sensual relationship.

    By focusing on these aspects, couples can engender a sexual relationship that is not sole enjoyable but also nurturing and respectful. How do you aver a vigorous sensual relationship? Interest your insights and allow to’s thrash out!
  3. Tuesday, 02 July 2024 12:44
    company website buy fake id
  4. Tuesday, 02 July 2024 13:04

    Привет всем)
    Хорошо быть студентом, пока не придет пора писать диплом, что и произошло со мной, но не стоит отчаиваться, ведь есть хорошие компании что помогают с написанием и сдачей диплома на хорошие оценки!
    Изначально искал информацию про купить диплом образцы, купить диплом в йошкар-оле, купить диплом гознак, купить дипломы о высшем, купить диплом в березниках, потом попал на http://brenderupmediterrane.free.fr/index.php?file=Members&op=detail&autor=ykyne и там решили все мои учебные заботы!
    Удачи!
  5. Tuesday, 02 July 2024 13:04

    Здравствуйте!
    Хочу поделиться своим опытом по заказу аттестата ПТУ. Думал, что это невозможно, и начал искать информацию в интернете по теме: купить диплом института, купить диплом химика, купить диплом гознак, купить диплом вуза, где купить диплом среднем. Постепенно углубляясь, нашел отличный ресурс здесь: http://googlmap.blogspot.com/2014/06/blog-post_2402.html
    http://ips-irk.ksworks.ru/index.php?subaction=userinfo&user=afyfevip
    http://www.idsys.kr/bbs/board.php?bo_table=free&wr_id=538265
    https://konceptgarden.ru/products/legkovoj-pritsep-mustang-355-s-tentom-15m/#comment_839490
    http://xn--80ae1aidok.xn--p1ai/users/uhoruby
    , и остался очень доволен!
    Теперь у меня есть диплом сварщика о среднем специальном образовании, и я обеспечен на всю жизнь!
    Успешной учебы!
  6. Tuesday, 02 July 2024 13:17
    Procreative relationships between men and women are an noteworthy corner of human affair, sacrifice opportunities representing joint, pleasure, and intimacy. Achieving and maintaining a bracing sex relationship requires achievement, pact, and complementary respect. Here are some vital aspects to reckon with:

    Direct Communication: Impressive communication fro desires, boundaries, and expectations is essential. Talking unabashedly helps partners cotton on to each other better and can taboo misunderstandings or conflicts.
    https://latinaporn.one/tags/first-time/
    Common Give in permit: Accede is the cornerstone of a thriving sexual relationship. Both partners should feel self-satisfied and enthusiastic far any progenitive activity. It's essential to connection each other's boundaries and make sure that both parties are on the same page.

    Enthusiastic Intimacy: A rabid emotional correlation can complement medic intimacy. Investing epoch in structure irrational bonds can experience to a more satiating sexual relationship, where both partners sensible of valued and understood.

    Respecting Differences: Men and women strength entertain unique needs and approaches to sex. Understanding and respecting these differences can alleviate bring into being a more harmonious and fulfilling relationship.

    Exploration and Openness: Keeping the sensuous relationship exciting involves being unconditional to exploring new experiences together. Sharing fantasies and worrying new things can keep the relationship zealous and engaging.

    Prioritizing Sexual Condition: Maintaining accomplished sexual condition is vital. Quarterly check-ups, practicing safe making out, and having uncommitted conversations around sexual health can forbear control problems and inspire a healthier relationship.

    Addressing Challenges Together: Challenges are a everyday function of any relationship. Whether it's dealing with mismatched voluptuous desires, weight, or other existence factors, coating these issues together with empathy and self-control is important.
    https://teen-lesbian-tube.com/tags/lesbian-sex2/
    Veteran Succour: If difficulties persist, seeking refrain from from a shrink or counselor can be beneficial. Talented guidance can provide valuable insights and strategies in place of improving the sensuous relationship.

    Creating a robust fleshly relationship involves continual effort and a willingness to raise together. How do you keep in service a salubrious procreative relationship with your partner? Share your thoughts and experiences to enrich our discussion!
  7. Tuesday, 02 July 2024 13:47
    Ищете стильное и недорогое решение для улучшения вашего жилища? Мягкое зеркало от магазина Волс Декор – это именно то, что вам необходимо!

    Почему стоит преобрести клеящееся зеркало?

    1. Удобство и простота поклейки
    2. Легкость и безопасность
    3. Стиль и элегантность
    4. Недорогая стоимость
    5. Долговечность и надежность

    Не упустите возможность преобразить ваш офис или дом с помощью акрилового зеркала на самоклейке от Волс Декор! Преобретите прямо сейчас и получите быстрый и удобный метод преобразить интерьер.

    Купите акриловое зеркало - https://walls-decor.com.ua/zerkalo-na-samoklejke-akril

    Преобразите свой интерьер в произведение искусства с мягким зеркалом на самоклейке от Волс Декор!
  8. Tuesday, 02 July 2024 15:11
    Лучшее казино для игры - 1win, не упустите свой шанс!
    1win казино - место, где рождаются победы, всегда побеждайте вместе с 1win казино!
    Увлекательное казино 1win ждет вас, начните игру прямо сейчас!
    Играйте и выигрывайте с 1win казино, станьте победителем вместе с 1win казино!
    1win казино - ваш первый шаг к успеху, начните игру и выигрывайте крупные суммы!
    1win зеркало https://populyarnoye-onlayn-kazino-belarusi.com/ .
  9. Tuesday, 02 July 2024 15:48
    https://sps134.ru вызов сантехника.
    вызов сантехника https://sps134.ru.
    срочный вызов сантехника https://sps134.ru.
    сантехник вызов https://sps134.ru.
    https://sps134.ru сантехник на дом.
    https://sps134.ru сантехнические работы.
    https://sps134.ru сантехнические услуги.
    сантехнические работы вызвать мастера https://sps134.ru .
    мастер сантехник https://sps134.ru .
  10. Tuesday, 02 July 2024 15:52

    This is really interesting, You're an overly skilled blogger. I've joined your rss feed and look forward to in search of more of your excellent post. Additionally, I've shared your site in my social networks
    look also at my pages and give a rating

    XEvil is a straightforward, rapidly and hassle-free application for completely automatic recognition and bypass in the vast majority of captchas (CAPTCHAs), without the will need to attach any 3rd-bash products and services.

    The program Practically wholly replaces expert services which include AntiGate (Anti-Captcha), RuCaptcha, DeCaptcher and Other individuals. At the same time, it considerably exceeds them in recognition speed (ten moments or more) and is totally free.

    https://bookmarkworm.com/story17190358/speed-up-site-indexing faster indexing
    https://affiliates.trustgdpa.com/top-latest-five-backlinks-urban-news/ speed index how to fix in hindi
    http://ultfoms.ru/user/AntonioOhman1/ captcha service
    https://affiliates.trustgdpa.com/captcha-service-can-be-fun-for-anyone-25/ mass posting
    https://charliekpruv.bcbloggers.com/27028929/indexing-acceleration how to increase indexing speed
    https://tinkeredug.com/uncategorized/mass-posting-7/ fast indexing python
    https://fnrlogistics.ca/forums/users/galenv317900/ captcha service
    http://www.holdman.co.kr/installpic/90692 solving captcha

    @rref@=44r
  11. Tuesday, 02 July 2024 16:28
    view publisher site fake id Alabama
  12. Tuesday, 02 July 2024 16:45
    https://sps134.ru вызов сантехника.
    вызов сантехника https://sps134.ru.
    срочный вызов сантехника https://sps134.ru.
    сантехник вызов https://sps134.ru.
    https://sps134.ru сантехник на дом.
    https://sps134.ru сантехнические работы.
    https://sps134.ru сантехнические услуги.
    сантехнические работы вызвать мастера https://sps134.ru .
    мастер сантехник https://sps134.ru .