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

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

  1. Wednesday, 12 June 2024 09:48
    read what he said The Sandbox
  2. Wednesday, 12 June 2024 14:22
    A beloved National Park Service ranger died when he tripped, fell and struck his head on a rock during an annual astronomy festival in southwestern Utah, park officials said over the weekend.
    kraken13.at
    Tom Lorig was 78 when he died after the incident at Bryce Canyon National Park late Friday.
    kraken14.at
    https://kraken13at.vip
    He was known for his extensive work as a ranger and volunteer at 14 National Park Service sites, including Yosemite National Park, Carlsbad Caverns National Park and Dinosaur National Monument, the park service said in a statement Saturday.

    “Tom Lorig served Bryce Canyon, the National Park Service, and the public as an interpretive park ranger, forging connections between the world and these special places that he loved,” Bryce Canyon Superintendent Jim Ireland said in the statement.
  3. Wednesday, 12 June 2024 17:27
    Почему стоит построить дом из бруса 9х12 | Как выбрать идеальный проект для дома из бруса 9х12 | Какая кровля лучше для дома из бруса 9х12 | Выбор системы отопления для дома из бруса 9х12 | Как обеспечить комфортную температуру в доме из бруса 9х12 | Выбор фундамента для дома из бруса 9х12 | Новинки в строительстве домов из бруса 9х12 | Как выбрать мебель для дома из бруса 9х12 | Дом из бруса 9х12: важные моменты | Расходы на строительство дома из бруса 9х12
    дом из бруса 9х12 https://domizbrusa-9x12spb.ru/ .
  4. Wednesday, 12 June 2024 18:49
    Проект перепланировки Москва alma-stroi.ru

    Перепланировка квартиры — один из самых важных этапов в ремонте различных объектов. Но в нашей стране, она обязательно должна быть узаконена и выполненной по всем стандартам. Мы представляем о перепланировках всё, читайте на сайте alma-stroi.ru прямо сейчас.

    По вопросу согласовать перепланировку квартиры мы окажем помощь Вам. Если у Вас уже осуществлена самостоятельная перепланировка без документов, то это не страшно. Её также можно узаконить и с легкостью пользоваться помещениями. Не всегда расположение комнат в квартире или производственных помещениях устраивает владельца. Но в крайнее время, перепланировка просто идеальный выход из ситуации. Безусловно, лучше всего ее осуществлять на этапе начального ремонта, но если этого не случилось, то её можно сделать на любом этапе эксплуатирования.

    Прайс на перепланировки можно посмотреть на веб портале alma-stroi.ru или увидеть примеры готовых работ. Мы работаем в представленной области уже большое количество лет и имеем много счастливых клиентов и готовых работ. К любому проекту имеем индивидуальный подход и учитываем все цели клиента. Также работаем четко в установленный срок и по весьма выгодным расценкам.

    Заказать техническое заключение по перепланировке помещения можно уже сейчас. Наши работники приедут к Вам для замера помещений и определения объема работы. И после этого будет посчитана окончательная цена и дата выполнения работ. Перепланировка — это отличная вероятность сделать собственную жизнь удобнее.
  5. Wednesday, 12 June 2024 18:49
    Если вы любите азиатские сериалы, то дорамы – это то, что вам нужно. Эти увлекательные истории поражают своей глубиной и эмоциональностью. На сайте doramaserials.net вы можете дорамы смотреть онлайн в любое удобное время. Удобный интерфейс и большая коллекция сериалов позволят вам легко найти любимые шоу. Наслаждайтесь высоким качеством видео и интересными сюжетами, не выходя из дома.

    Сайт doramaserials.net – это идеальное место для тех, кто хочет смотреть дорамы бесплатно. Здесь вы найдете лучшие азиатские сериалы без необходимости регистрации и оплаты. Откройте для себя мир захватывающих историй и удивительных персонажей, которые перенесут вас в мир восточной культуры. Наслаждайтесь просмотром в любое время и в любом месте.
  6. Wednesday, 12 June 2024 23:50

    Wow, awesome blog layout! How lengthy have you ever been blogging for? you make running a blog look easy. The whole glance of your website is great, let alone the content!
    arusak-attestats24.com

    Hello, I want to subscribe for this weblog to get most up-to-date updates, so where can i do it please help out.
  7. Thursday, 13 June 2024 00:17
    apex trader funding bookmap | en | en | Read more | Categories bh 7 layout | en | en | Read more | Categories baldur's gate 3 full release date video | en | en | Read more | Categories pubg gameloop x download in pc | en | en | Read more | Categories apex trading uk | en | en | Read more | Categories baldur's gate 3 builds summary | en | en | Read more | Categories baldur's gate 3 multiplayer steam deck | en | en | Read more | Categories baldur's gate masterwork weapon video | en | en | Read more | Categories days gone pc | en | en | Read more | Categories call of duty rebirth island title | en | en | Read more | Categories rust game log viewer | en | en | Read more | Categories apex pro deck | en | en | Read more | Categories level one dragon clash of clans | en | en | Read more | Categories baldur's gate 3 mod manager download sims 4 | en | en | Read more | Categories baldur's gate ketheric thorm side | en | en | Read more | Categories

    baldur's gate 3 multiplayer menu | en | en | Read more | Categories скачать counter-strike 1.6 для ноутбука

    apex ftx irons | en | en | Read more | Categories sauna and steam room facilities near me | en | en | Read more | Categories grand blue fantasy ps5 | en | en | Read more | Categories steam line burn | en | en | Read more | Categories baldur's gate korax the ghoul open | en | en | Read more | Categories apex it opt fraud | en | en | Read more | Categories sram apex xplr axs vs rival | en | en | Read more | Categories baldur's gate 3 laughing leaders mod manager | en | en | Read more | Categories steam engine horsepower | en | en | Read more | Categories rust game animations zoom | en | en | Read more | Categories

    gta vc download for pc | en | en | Read more | Categories pubg hack emulator ios

    rust game art xbox | en | en | Read more | Categories fallout new vegas raul affinity | en | en | Read more | Categories fallout 4 change danse power armor | en | en | Read more | Categories aphex twin bank | en | en | Read more | Categories call of duty blackout knife | en | en | Read more | Categories
  8. Thursday, 13 June 2024 01:23
    rybelsus discount card ozempic vs rybelsus weight loss rybelsus info rybelsus weight loss before and after rybelsus cost with medicare
  9. Thursday, 13 June 2024 03:35
    Hello crypto enthusiasts!
    Discover Lido: Earn up to 25% Monthly by Staking Your Crypto Securely! Staking Earnings
    In the fast-paced world of cryptocurrencies, new projects frequently promise high returns and innovative solutions. However, few can match the attractive conditions offered by Lido. This project enables investors to stake their assets and earn up to 25% profit per month. If you're looking to increase your capital, investing in Lido could be a smart move. The platform is built with reliability and transparency in mind, conducting all fund operations through smart contracts on the Ethereum blockchain. This ensures the security and integrity of your investments. Regular security audits further reassure users of Lido’s dependability. High returns are a key advantage of Lido, with potential yields reaching 25% per month. This makes Lido one of the most appealing projects in the crypto market, allowing investors to significantly grow their capital quickly if used correctly. Designed for ease of use, Lido is user-friendly, even for beginners. You can easily join the platform, lock your tokens, and start earning profits within minutes, without needing complex setup or technical skills. All you need is an Ethereum wallet and a bit of ETH to pay for gas. Lido is also continually evolving and expanding, offering new opportunities and tools to its users. The team behind Lido actively works on improving the platform, adding new features to meet user needs and stay ahead in the industry. Investing in Lido is not just a chance to make money, but also an opportunity to be part of an innovative project reshaping the cryptocurrency landscape. Start staking your tokens today and enjoy the high returns that Lido has to offer.

    For more information please visit https://crypto-airdrops.org
    Wish you profit and prosperity)

    Digital Currency
    Ethereum Network
    Decentralized Investments
    Lido Token
    Monthly Yield