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

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

  1. Thursday, 01 August 2024 13:13
    Welcome to our site, your premier source for all the current reports and updates on the press landscape in the United Kingdom. Whether you're keen in television, broadcast radio, newspapers, or web-based media, we provide extensive coverage that keeps you knowledgeable about the key developments and movements. From up-to-the-minute bulletins to in-depth analyses, our team of veteran journalists and industry professionals work relentlessly to bring you the most reliable and recent news - https://ukeventnews.uk/trap-music-its-origins-and-future-direction/
    In conjunction to updates, we present informative features and opinion columns that delve into the details of the media industry. Our features cover a broad spectrum of topics, including regulatory modifications, media control, and the impact of new innovations. We also emphasize the successes and difficulties faced by media professionals, presenting a platform for voices from across the industry to be noticed and valued.
    Stay in touch with the pulse of the UK media scene through our frequently updated content. Whether you're a media professional, a student, or simply a media enthusiast, our website is designed to cater to your interests and demands. Enter our growing community of readers and make sure you're always in the know about the dynamic and always developing world of media in the United Kingdom.
  2. Thursday, 01 August 2024 15:10
    Узнайте, как активировать промокод 1вин и начать выигрывать больше.
  3. Thursday, 01 August 2024 16:26
    Пока good
    Makar77 Сентябрь 11, 2023
    С самого начала, когда я начал здесь торговать я зарабатывал не много, и страшновато было, но сейчас я уже втянулся и доход у меня не плохой, я доволен. На парах пробовала сначала, потом и крипту начала осваиваить, на крипте конечно более выгодно. Заработок свой я выводил несколько раз и проблем не было. С поддержкой общался недавно, ребята понятливые и помощь по сути получил без воды. Бонусы разные есть, но еще не применял. Пока что брокером доволен вполне.


    не жалею, что начал здесь работать
    Kreont Сентябрь 18, 2023
    Поключился к трейдеру skaktrade. За несколько месяцев отличная прибыль. Впервые пробую копитрейдинг и вижу, что реально работает. Копируешь себе сделки и торгуешь без нервных срывов. Пока в плюсе….продолжаю дальше….

    деньги пришли быстро
    Supasertio Сентябрь 30, 2023
    В Эсперио я попал совершенно случайно как говорится за компанию. Зарегистрировался, ну пополнил счет. Неожидал, что быстро получу прибыль если честно. На Тесле поднялся, поставил на вывод половину своих денег . Я думал, что будут какие то трудности, но все прошло успешно. Деньги пришли через 2 дня. Нормально можно работать тут.

    время покажет
    Владимир Свой" Октябрь 18, 2023
    Верификация здесь быстрая, за это огромное спасибо. У предыдущего брокера, с которым у меня не сложилось я регистрировался целый день. Сами понимаете сколько нервов надо на это. А в Эсперио все оперативно и пошагово, никакой волокиты. Отличные условия для клиентов. Немного заработал уже и вывод проверил, пришли на второй день. Единственное, что в поддержку обращался два часа назад ответа пока нет…Увидим как дальше

    Трейдинг не мое
    Гарик Декабрь 27, 2023
    Мне трейдинг не подошёл, вообще не вижу себя в роли трейдера.
    Сколько бы я не учился, результат никакого нет.
    Заработал 10$, разве это успех? Не вижу смысла продолжать, только нервирую себя и даю надежды.
    Я здесь вывел 10 долларов и на этом конец.
  4. Thursday, 01 August 2024 16:27
    Hello!

    This post was created for test end fans

    https://www.northdata.de/DENT+MASTER+GLOBAL+GmbH,+Neukirchen-Vluyn/Amtsgericht+Kleve+HRB+17401


    Good luck :)
  5. Thursday, 01 August 2024 16:35
    Medication guide here. Patient drug facts.
    online pharmacys
    Patient pill information. Get information instantly.
  6. Thursday, 01 August 2024 16:40
    click for info hire a hitman
  7. Thursday, 01 August 2024 18:24
    Финансовые трудности не должны вас останавливать! ALL-CREDIT.RU предлагает онлайн займ на лучших условиях. Мы сотрудничаем с надежными МФО, чтобы вы могли получить деньги быстро и без лишних формальностей. Доверьтесь профессионалам!
  8. Thursday, 01 August 2024 18:50
    Unleash your inner CEO

    Get new tokens in the game now Hamster Kombat
    daily distribution Notcoin to your wallets
    Join our project notreward.pro and receive toncoin

    Hamsterkombat reward
  9. Thursday, 01 August 2024 21:41
    Top News Sites for Article Post Permanent

    aljazeeranewstoday.com
    australiannewstoday.com
    bbcworldnewstoday.com
    bloombergnewstoday.com
    bostonnewstoday.com
    britishnewstoday.com

    Dont hesitate to Contact me.
  10. Thursday, 01 August 2024 21:58
    Comprehensive drug facts. Drug leaflet available.
    online pharmacies reviews
    Medication effects explained. Comprehensive drug resource.
  11. Thursday, 01 August 2024 22:01
    best quality wallpaper https://maranuaq.com for your apartment
  12. Thursday, 01 August 2024 23:36
    Романтикам и любителям казино привет!

    Давно изучал тему о казино где можно оплатить с баланса телефона setwalls2 и нашел много полезной информации, которую вы можете найти по ссылке Дживиспин Бет
    10 лучших онлайн казино россии
    автоматы где дают деньги за регистрацию
    список казино 701
    казино где выводят деньги
    казино в реальном времени рулетка

    Хороших профитов!
  13. Friday, 02 August 2024 00:32
    Смелым игрокам посвящается!
    Актуальная информация для тех, кто интересуется казино где можно пополнить с мобильного телефона Скорее кликай и переходи по ссылке Lev о какое казино дает
    онлайн казино на реальные деньги с выводом на карту мир
    вулкан топ игровые автоматы
    какой из вулканов лучше казино
    топ выигрышных казино
    10 казино

    Хороших профитов!