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

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

  1. Sunday, 11 August 2024 07:49
    The United Kingdom is a dynamic hub for a diverse array of cultural events, covering music, cinema, dance, and much more. Music festivals like Leeds are famous, drawing crowds from all over the world to enjoy performances by renowned artists across genres. The BBC Proms, a famed classical event held every summer, presents the best of orchestral music, culminating in the majestic Last Night of the Proms. In cities like London, live music venues thrive, hosting gigs that cater to every musical taste, from up-and-coming bands to top-tier performers - https://euronewstop.co.uk/why-is-death-in-paradise-one-of-the-most-popular-tv-series.html.

    Cinema in the UK is similarly captivating, with the BFI London Film Festival standing out as a significant event in the film calendar. This prominent event screens a wide selection of films from around the globe, featuring a platform for both acclaimed filmmakers and up-and-coming directors. Additionally, the Edinburgh International Film Festival showcases a unique opportunity to enjoy innovative and groundbreaking films. The UK's rich cinematic heritage is celebrated in historic cinemas like the Electric Cinema in Birmingham and the Prince Charles Cinema in London, where movie enthusiasts can view both classic and contemporary films.

    Dance in the UK is a vibrant and growing art form, with events that cover traditional ballet to modern contemporary dance. The Royal Ballet, based at the Royal Opera House in London, is renowned for its remarkable productions and world-class dancers. Contemporary dance companies such as Rambert and Akram Khan Company innovate of the art form, creating thought-provoking and visually striking performances. Dance festivals like the Birmingham International Dance Festival and Sadler's Wells' Flamenco Festival draw audiences with their diverse and captivating programs.

    Apart from these distinct art forms, the UK's cultural scene is enhanced by a plethora of other events. Theatre lovers flock to the West End to see hit productions and experimental theatre, while literature enthusiasts attend events like the Hay Festival, where authors and poets participate in lively discussions. Art fairs, such as Frieze London, display contemporary art from around the world, making the UK a crucial destination for art aficionados. Whether it's a community event or a large-scale international festival, the UK's cultural events provide something for everyone, echoing the country's rich and varied artistic heritage.
  2. Sunday, 11 August 2024 10:38
    Дизайн интерьера Спб mudryakova.ru

    По вопросу дизайн детской Вы на нужном пути. Чтобы получить консультацию дизайнера, следует заполнить заявку на сайте mudryakova.ru или позвонить по телефону +7(812)408-00-07. Главный офис находится по адресу: г. Санкт-Петербург, ул. Мебельная, д. 49/92. Время работы по будням с 9:00 до 19:00. Наши работы можно увидеть на указанном сайте, также локально. Делаем работу под ключ, также оказываем отдельные услуги.
  3. Sunday, 11 August 2024 17:03
    Щиро запрощуємо до студії татуювань та пірсингу в Житомирі!

    Ми творимо неперевершені шедеври, що підкреслюють вашу неперевершеність. У нас в команді працюють професійні майстри з багаторічним досвідом, які використовують лише найновіше інструменти та безпечні матеріали.

    Завжди мріяли про оригінальне татуювання або стильний пірсинг? В нашій студії ви знайдете все для втілення ваших найсміливіших ідей. Подаруйте собі шанс виділитися з натовпу та висловити свою особистість через мистецтво тату та пірсингу.

    Приходьте до нашого салону GOLKA та переконайтеся в якості нашої роботи!

    Зроби собі подарунок у вигляді Пирсингу - https://golka.love/
  4. Sunday, 11 August 2024 20:13
    Bitcoin is the head and most well-known cryptocurrency, created in 2008 not later than an unknown person or organization of people using the pseudonym Satoshi Nakamoto. As a decentralized digital currency, Bitcoin operates without a inside officialdom or cull administrator. Transactions are verified before network nodes as a consequence cryptography and recorded in a harry distributed ledger called a blockchain. This ensures transparency and fastness, making it sensitive recompense any distinct organism to control or control the network. Bitcoin's predominant end is to specify an alternative to traditional currencies, which are typically controlled around important banks and governments. Close to enabling peer-to-peer transactions without the requirement in behalf of intermediaries, Bitcoin aims to revolutionize the economic scheme, gift greater monetary privilege and discount records costs.

    https://kurs-inyaz.ru
    https://remitazoll.ru
    https://typologies-for-life.ru
    https://transfer24.store
    https://ne-hrusti.ru
    https://99nt.ru
    https://govoryashchayakniga.ru
    https://tualet-na-dachu.ru
    https://fintechfiesta.info
    https://cryptocove.pro
  5. Sunday, 11 August 2024 23:54
    Сельская ипотека - Инвестиция в недвижимость, Комфортные условия проживания
  6. Monday, 12 August 2024 00:02
    http blacksprut ссылки - blacksprut com официальный, blacksprut официальный сайт ссылка
  7. Monday, 12 August 2024 01:28
    TOR-ссылка Kraken: http://kbge6o2hnyag2xu76cehz3r5eg2mx6nf3hjfufoimqwf6gr5owhoypyd.onion?
    Актуальная клир ссылка Kraken: https://kraken102.at
    Зеркало Кракен: https://kraken102.at
    Зеркала Кракен: https://kraken102.at
    Ссылка Кракен: https://kraken102.at
    Кракен ссылка: https://kraken102.at
    Кракен сайт: https://kraken102.at
    Ссылка кракен: https://kraken102.at
    Кракен онион: https://kraken102.at
    Kraken ссылка: https://kraken102.at
    Кракен даркнет: https://kraken102.at

    <b>Кракен ссылка
    Ссылка кракен
    Кракен онион
    Кракен даркнет
    Кракен зеркало
    Kraken ссылка
    Kraken onion?
    Kraken darknet</b>
  8. Monday, 12 August 2024 02:47
    Зарабатывай на спорте с лучшими букмекерскими конторами!
    Твоя страсть к спорту может приносить тебе реальные деньги! На нашем сайте ты найдешь только лучшее - обзоры надежных букмекерских контор, прогнозы от экспертов, актуальные бонусы и акции.
    Начни зарабатывать уже сегодня на своих любимых видах спорта! Делай ставки на футбол, теннис, баскетбол и многое другое. Получай ежедневный доход, используя наши эксклюзивные инсайты и аналитику. – https://vkltv.top/bookmaker/melbet/

  9. Monday, 12 August 2024 06:00
    Немного не по теме :)
    Так случилось, что моя сестра нашла здесь интересного мужчину, и недавно вышла замуж ^_^
    (Admin, только не троллить!!!)

    Была бы очень рада познакомиться, если здесь есть красавчики! ;) Я Мария, 26 лет.
    Работаю моделью, неплохо зарабатываю - надеюсь, и ты тоже! Хотя, если ты очень хорош в постели, тогда ты вне очереди!)))
    И нет! Я не проститутка! Предпочитаю гармоничные, тёплые и надёжные отношения. Вкусно готовлю и не только ;) Образована, есть высшее в маркетинге.

    Моё фото:
    [img=https://i.ibb.co/zhMSQpj/5489819-2-3.jpg&quot; alt=&quot;5489819-2-3.jpg]

    ___
    Добавлено

    Фото испорчено, сорри(((
    Мой профиль можно найти тут http://eve9dating.org
  10. Monday, 12 August 2024 10:03
    Читайте обзор и отзывы о букмекерской конторе пинап для ставок на спорт, преимущества и недостатки, актуальные акции и бонусы для игроков.
  11. Monday, 12 August 2024 10:06
    Эвакуатор Москва: надежный партнер в любой ситуации, доступные цены|Профессиональные услуги эвакуатора в Москве, 24/7|Эвакуатор в Москве: ваш надежный спаситель|Эвакуатор Москва: опыт и профессионализм|Эвакуатор Москва: надежная поддержка для автомобилистов|Лучший эвакуатор Москвы ждет вашего звонка|Безопасная эвакуация авто в Москве|Эвакуатор для грузовых автомобилей в Москве|Эвакуатор Москва: ваш проводник в мире безопасности|Надежный эвакуатор в Москве|Эвакуатор Москва: настоящие профессионалы своего дела|Быстрый эвакуатор в Москве|Экстренная эвакуация автомобилей в Москве|Эвакуация легковых автомобилей в Москве: быстро и качественно|Эвакуация автомобилей в Москве: надежно и оперативно|Эвакуация грузовых автомобилей в Москве|Эвакуатор Москва: надежность и профессионализм
    эвакуатор недорого https://ewacuator-moscow.ru/ .
  12. Monday, 12 August 2024 10:51
    Эвакуаторы в Москве на высшем уровне, доступные цены|Профессиональные услуги эвакуатора в Москве, в любое время суток|Эвакуатор в Москве: ваш надежный спаситель|Эвакуатор Москва: опыт и профессионализм|Эвакуатор в Москве для легковых автомобилей|Лучший эвакуатор Москвы ждет вашего звонка|Эвакуатор Москва: доверьте свой автомобиль профессионалам|Эвакуатор для грузовых автомобилей в Москве|Эвакуатор в Москве: решение проблем с автомобилем|Надежный эвакуатор в Москве|Эвакуация автомобилей в Москве: безопасно и оперативно|Эвакуатор Москва: опытные специалисты|Экстренная эвакуация автомобилей в Москве|Эвакуация легковых автомобилей в Москве: быстро и качественно|Эвакуация автомобилей в Москве: надежно и оперативно|Эвакуация грузовых автомобилей в Москве|Эвакуатор Москва: надежность и профессионализм
    вызвать эвакуатор в москве https://ewacuator-moscow.ru/ .
  13. Monday, 12 August 2024 12:21
    Уникальный шкаф купе на заказ: ваша мечта станет реальностью
    шкаф купе по индивидуальным размерам https://shkaf-kupe-nazakaz177.ru/ .
  14. Monday, 12 August 2024 13:07
    Необходимый функционал и стиль в шкафе купе на заказ
    шкафы купе на заказ недорого https://shkaf-kupe-nazakaz177.ru/ .
  15. Monday, 12 August 2024 15:08
    Bitcoin is the head and most celebrated cryptocurrency, created in 2008 not later than an unrevealed person or organization of people using the pen-name Satoshi Nakamoto. As a decentralized digital currency, Bitcoin operates without a principal establishment or fix administrator. Transactions are verified by network nodes through cryptography and recorded in a buyers distributed ledger called a blockchain. This ensures transparency and confidence, making it sensitive for any free entity to manipulate or restraint the network. Bitcoin's primitive aspiration is to furnish an alternative to traditional currencies, which are typically controlled around important banks and governments. By enabling peer-to-peer transactions without the requirement in behalf of intermediaries, Bitcoin aims to revolutionize the pecuniary way, gift greater economic privilege and abase records costs.

    https://lj-media.ru
    https://gazmer.ru
    https://magenta-online.ru
    https://remitazoll.ru
    https://cryptocove.pro
    https://govoryashchayakniga.ru
    https://tualet-na-dachu.ru
    https://lovechannel.ru
    https://wooddecora.ru
    https://kb11.ru