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

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

  1. Saturday, 08 June 2024 18:08

    I blog frequently and I truly appreciate your information. Your article has truly peaked my interest. I'm going to book mark your website and keep checking for new information about once a week. I subscribed to your Feed too.

    http://forum.infinite-soul.org/viewtopic.php?p=44480
    http://www.indianhighcaste.com/read-blog/331_we-buy-a-university-diploma-on-the-internet-expert-recommendations.html
    http://www.fsh.mi.th/newswb3/index.php?action=profile;u=42538;sa=showPosts
    http://pautinkablog.ru/publ/skhemy_dlja_vjazanija/4-4
    http://tz-online.ru/index.php/en/prokuratura-raz-yasnyaet/5378-prokuraturoj-kinel-cherkasskogo-rajona-samarskoj-oblasti-v-iyune-2018-goda-osushchestvlyaetsya-monitoring-informatsionno-telekommunikatsionnoj-seti-internet-na-predmet-vyyavleniya-informatsii-zapreshchennoj-k-rasprostraneniyu-na-territorii-rf
  2. Saturday, 08 June 2024 18:43
    Интернет-магазины стали неотъемлемой частью современной жизни, предлагая покупателям удобство и разнообразие ассортимента. Arbuz.kz выделяется среди них благодаря высокому качеству продуктов питания и уникальным предложениям для своих клиентов. Одним из таких предложений является промокод на первый заказ, который позволяет новым пользователям сэкономить средства при покупке. В данной статье мы подробно рассмотрим, как использовать промокод на первый заказ, какие преимущества он предоставляет, а также обсудим ассортимент продуктов питания, доступных на Arbuz.kz.

    Промокод 3000 тенге первый заказ f-367951

    Arbuz.kz предлагает своим клиентам широкий выбор продуктов питания, от свежих овощей и фруктов до деликатесов и продуктов для здорового питания. Магазин стремится удовлетворить потребности каждого покупателя, обеспечивая высокое качество и свежесть товаров. Ассортимент включает следующие категории:

    - Свежие овощи и фрукты: В Arbuz.kz вы найдете широкий выбор сезонных и экзотических фруктов и овощей. Вся продукция тщательно отбирается и проверяется на соответствие стандартам качества.

    - Мясные и рыбные изделия: Магазин предлагает разнообразие свежего мяса, птицы и рыбы, включая органические и фермерские продукты. Все изделия поступают от проверенных поставщиков и проходят строгий контроль качества.

    - Молочные продукты и яйца: В ассортименте представлены молочные изделия от лучших производителей, а также свежие яйца. Клиенты могут выбрать продукцию по своему вкусу, включая органические и безлактозные варианты.

    - Зерновые и хлебобулочные изделия: В магазине можно приобрести различные виды хлеба, круп, макаронных изделий и другие продукты из зерновых культур.

    - Замороженные продукты: Arbuz.kz предлагает широкий выбор замороженных продуктов, включая овощи, фрукты, мясо и готовые блюда. Это идеальный вариант для тех, кто ценит удобство и скорость приготовления пищи.

    - Напитки: Ассортимент включает широкий выбор напитков, от минеральной воды и соков до чая и кофе. Все продукты отбираются с учетом вкусовых предпочтений клиентов и соответствуют высоким стандартам качества.

    - Деликатесы и готовые блюда: Для гурманов магазин предлагает разнообразные деликатесы и готовые блюда, которые можно заказать с доставкой на дом.

    Арбуз кз промокод на первый заказ: Как использовать и получить выгоду

    Промокод на первый заказ в Arbuz.kz предоставляет новым пользователям возможность сэкономить на своих первых покупках. Чтобы воспользоваться этим предложением, необходимо выполнить несколько простых шагов:

    Регистрация на сайте: Первым шагом является регистрация на сайте Arbuz kz промокод. Это позволит вам создать личный кабинет и получить доступ ко всем предложениям и акциям магазина. Процесс регистрации простой и занимает всего несколько минут.
    Выбор товаров: После регистрации можно приступать к выбору продуктов питания. Arbuz kz промокод на 3000 тенге предлагает удобную навигацию по категориям товаров, что позволяет быстро найти нужные продукты.
    Добавление товаров в корзину: Выберите необходимые товары и добавьте их в корзину. Убедитесь, что все выбранные позиции соответствуют условиям использования промокода.
    Ввод промокода: На этапе оформления заказа найдите специальное поле для ввода промокода. Введите полученный код и подтвердите его. Система автоматически применит скидку к вашему заказу.
    Проверка и подтверждение заказа: Проверьте правильность введенных данных и примененной скидки. Если все верно, завершите оформление заказа и дождитесь подтверждения от магазина.
  3. Saturday, 08 June 2024 19:12
    Всегда готовы предложить профессиональные услуги:
    "Устранение онлайн-сайтов конкурентов!"
    Каким методом это осуществляют наши эксперты?!
    - У нас опыт - больше 10 лет.
    - Уникальная технология.
    - Наращивание ссылочной массы при помощи вирусных ссылок.
    - Поисковик моментально реагирует на наши использующиеся технологии.
    - Тексты с веб-сайта спамятся, они моментально становятся неуникальными.
    - У нас большие возможности и многолетний практический опыт в этом направлении.

    Цена 7700 рублей
    Отчётность.
    Оплата: Yoo.Деньги, Bitcoin, МИР, Visa, MasterCard...
    Принимаем USDT
    Telgrm: https://t.me/exrumer
    Skype: Loves.Ltd
    https://xrumer.cc/
    Только этот.
  4. Saturday, 08 June 2024 20:11

    Thank you for another informative blog. The place else could I get that type of information written in such a perfect method? I have a venture that I am simply now running on, and I've been on the glance out for such information.

    http://www.roofingrevenue.com/fdinlrpf/hadda-be-playing-on-the-jukebox-analysis.html
    http://урал-батыр.рф/search/
    http://jwinters.ru/page/13/
    http://isig.ac.cd/alumni/blogs/19226/We-order-a-diploma-on-the-Internet-Expert-Recommendations
    http://wweg.ru/ElektrotehnicheskoeOborudovanie/vitebskiy-zavod-elektroizmeritelnih-priborov
  5. Saturday, 08 June 2024 22:17

    Thanks a bunch for sharing this with all folks you actually recognise what you're speaking about! Bookmarked. Please also visit my site =). We will have a hyperlink alternate contract between us

    http://ok-gid.ru/stat-hranitelem-avatarii-odnoklassnikah/
    http://www.kihashiro.com/sb/log/eid109.html
    http://garmonia-72.ru/lenta-9.html
    http://ractis.ru/forums/index.php?autocom=gallery&req=si&img=2134
    http://suvagcentr.ru/pages/21
  6. Sunday, 09 June 2024 00:12
    Growth and innovation are essential to progress and sustainability in the energy industry’s dynamic environment. This conversation dives into key systems and drives pushing progressions in energy, molding the scene for monetary turn of events and mechanical forward leaps.
    DEL MAR ENERGY
    In the ever-evolving landscape of the American energy sector, Del Mar Energy stands out as a beacon of progress and innovation. With its commitment to excellence and dedication to advancing the nation’s economy, this industrial powerhouse has garnered praise from the government and lawmakers alike. In 2023, Del Mar Energy received commendations from the U.S. government and a Texas senator for its contributions to economic growth, alongside the inauguration of its own solar panel manufacturing facility catering to wholesale and retail markets.
    https://www.wicz.com/story/50815717/del-mar-energy-fueling-growth-and-innovation-in-americas-energy-sector
    Del Mar Energy’s journey towards excellence began decades ago, rooted in a vision to revolutionize the energy industry. Since its inception, the company has been at the forefront of driving economic prosperity while embracing sustainable practices. Its strategic investments in various sectors, coupled with a relentless pursuit of innovation, have propelled Del Mar Energy to the summit of industrial success.

    The year 2023 marked a significant milestone for Del Mar Energy as it received accolades from government officials for its role in bolstering the nation’s economy. Through job creation, infrastructure development, and strategic partnerships, Del Mar Energy has become a linchpin of economic growth, particularly in regions like Texas where its operations are deeply entrenched.

    The commendations bestowed upon Del Mar Energy underscored the company’s unwavering commitment to excellence and its pivotal role in shaping the economic landscape of the nation. Such recognition not only validates the company’s efforts but also serves as a testament to its enduring impact on society.

    In tandem with its commendation, Del Mar Energy embarked on a new chapter of innovation by launching its own solar panel manufacturing facility. This strategic move not only aligned with the company’s commitment to sustainable energy but also positioned it as a frontrunner in the renewable energy revolution.

    The decision to venture into solar panel production was met with enthusiasm from both the industry and consumers alike. Del Mar Energy’s state-of-the-art manufacturing facility boasts cutting-edge technology and a commitment to quality, ensuring that its solar panels meet the highest standards of efficiency and durability.

    Moreover, by catering to both wholesale and retail markets, Del Mar Energy has democratized access to solar energy, making it more accessible to businesses and households across the country. This not only drives the adoption of renewable energy but also fosters economic growth by creating new avenues for revenue generation and job opportunities.

    As Del Mar Energy continues to chart new territories in the energy sector, its commitment to innovation and sustainability remains unwavering. By leveraging its expertise and resources, the company is poised to shape the future of energy, driving economic growth and environmental stewardship hand in hand. With commendations from government officials and a pioneering foray into solar panel production, Del Mar Energy is setting the stage for a brighter, more sustainable future for generations to come.

    Information contained on this page is provided by an independent third-party content provider. Frankly and this Site make no warranties or representations in connection therewith. If you are affiliated with this page and would like it removed please contact pressreleases@franklymedia.com
  7. Sunday, 09 June 2024 00:23

    Good post but I was wanting to know if you could write a litte more on this subject? I'd be very grateful if you could elaborate a little bit further. Bless you!

    http://extreme-voyage.ru/2015/05/04/mnogocelevoj-takticheskij-tomagavk-browning-shock-n/
    http://indicouple.com/blogs/572/What-exactly-should-you-pay-attention-to-when-buying-a?lang=de_de
    http://shukshin.ru/aphorism.html
    URL
    http://journalofmadness.com/index.php/2022/01/08/hello-world/
  8. Sunday, 09 June 2024 01:38
    Elon Musk was star guest this year at an annual conference organized by Italian PM Giorgia Meloni’s Brothers of Italy party.
    kraken6gf6o4rxewycqwjgfchzgxyfeoj5xafqbfm4vgvyaig2vmxvyd.onion
    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://kraken-onion.info
    кракен магазин
    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.”
  9. Sunday, 09 June 2024 02:25

    Heya are using Wordpress for your site platform? I'm new to the blog world but I'm trying to get started and create my own. Do you require any coding knowledge to make your own blog? Any help would be greatly appreciated!

    http://bbs.topeetboard.com/home.php?mod=space&uid=76736
    http://critic-all-zone.ru/kitaj/katar-i-bahrein-vozobnovili-priamoe-aviasoobshenie.html
    http://allmedbook.ru/load/fiziologija/anatomija_cheloveka/34-1-0-488
    http://mirledi24.ru/page/119
    http://columb.su/figueres.html