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

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

  1. Monday, 15 July 2024 22:23
    The media is in meltdown over Caitlin Clark
    kraken3yvbvzmhytnrnuhsy772i6dfobofu652e27f5hx6y5cpj7rgyd.onion
    The male-dominated sports media apparatus is stumbling over Caitlin Clark.

    It is trying to pretend that it hasn’t ignored the WNBA for decades until the superstar rookie came along. But rather than admitting its blind spots, several male commentators are parachuting themselves into a league they barely understand and dismissing anyone who suggests they could do better.
    https://kraken-18at.net
    кракен 15
    In the flurry of hot takes that followed Chennedy Carter’s foul against Clark over the weekend, ESPN host Pat McAfee went on his show Monday to argue that Clark — whom he casually called the “White b*tch for the Indiana team” — was singularly responsible for the sudden surge of WNBA popularity and therefore she should be given more respect. He later apologized for using the slur, emphasizing that his broader thesis was that Clark’s star power created a halo around a league that’s been languishing in obscurity.

    “I was talking about how I hoped that the WNBA and sports media, ex-WNBA players, would show a little bit more respect to Caitlin Clark for what she has brought to the WNBA,” McAfee said on his show Tuesday.

    Of course, it’s not that the league was dormant before Clark got there, it’s that most of the mainstream press weren’t paying attention. The impact of Clark’s arrival is undeniable. But McAfee and the four men flanking him in his Indiana studio are not the best people to lead that conversation on one of the most influential sports networks in America.
    https://kraken-15at.net
    kraken2trfqodidvlh4aa337cpzfrhdlfldhve5nf7njhumwr7instad
    McAfee’s right that the ground is shifting for women’s basketball — it’s one of those pivotal moments when journalists and analysts would normally call up an expert or two and try to absorb some of the complexities of the situation. Instead, the male commentariat have done too much talking and not enough listening.

    Clark, a White, straight phenom, has become male sportscasters’ proxy in a league built primarily by Black and LGBTQ athletes whom the mainstream felt fine skimming over in the past. And in covering the league, they’re relying on outdated tropes about how women are supposed to behave. Charles Barkley recently called women “petty” for being rough on Clark.
  2. Monday, 15 July 2024 22:29
    Complete drug overview. Find medication information.
    generic accutane
    Medicine essentials explained. Comprehensive medicine resource.
  3. Tuesday, 16 July 2024 00:21
    Здравствуйте!
    Где приобрести диплом по нужной специальности?
    Полученный диплом со всеми печатями и подписями полностью отвечает стандартам Министерства образования и науки, никто не сможет отличить его от оригинала.
    Купить диплом ВУЗа.
    http://web.nioch.nsc.ru/medchemschool2020/index.php/cb-profile/pluginclass/cbblogs?action=blogs&func=show&id=157
    https://tweecampus.com/read-blog/81545
    https://www.nextvio.net/read-blog/545
    https://sonnick84.idblogz.com/28740909/%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D1%8B%D0%B5-%D0%B7%D0%B0%D1%82%D1%80%D0%B0%D1%82%D1%8B-%D0%B8%D0%B7%D0%B3%D0%BE%D1%82%D0%BE%D0%B2%D0%B8%D1%82%D0%B5%D0%BB%D1%8F-%D0%B4%D0%B8%D0%BF%D0%BB%D0%BE%D0%BC%D0%BE%D0%B2-%D0%BE%D0%B1%D0%B7%D0%BE%D1%80
    https://www.theclubtv.xyz/index.php?/gallery/image/115-%D0%BA%D0%B0%D0%BA%D0%B8%D0%B5-%D0%BC%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD%D1%8B-%D1%81-%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D0%B0%D0%BC%D0%B8-%D1%81%D1%83%D1%89%D0%B5%D1%81%D1%82%D0%B2%D1%83%D1%8E%D1%82-%D0%BD%D0%B0-%D1%81%D0%B5%D0%B3%D0%BE%D0%B4%D0%BD%D1%8F%D1%88%D0%BD%D0%B8%D0%B9-%D0%B4%D0%B5%D0%BD%D1%8C/
  4. Tuesday, 16 July 2024 00:23
    Большие выигрыши на спортивных ставках | Легальные ставки на 1win | 1win - ваш путь к успеху | Стань частью 1win| 1win помогает воплотить мечты в реальность| 1win - ваш путь к успеху в ставках| 1win - платформа для успешных ставок| 1win - выбор успешных игроков| 1win поможет вам стать чемпионом| 1win - это надежность и качество
    1win беларусь 1win беларусь .
  5. Tuesday, 16 July 2024 00:27
    Привет, друзья!
    Приобрести документ о получении высшего образования вы сможете у нас в Москве. Мы оказываем услуги по продаже документов об окончании любых ВУЗов РФ.
    Наша компания предлагает выгодно заказать диплом, который выполняется на оригинальном бланке и заверен печатями, водяными знаками, подписями должностных лиц. Наш диплом пройдет лубую проверку, даже при помощи профессиональных приборов.
    http://medgora.ru/users.php?m=details&id=127537
    http://xn--b1aafrvecb0f6b.xn--p1ai/forum/messages/forum4/topic840/message264518/?result=reply#message264518
    https://bestnet.ru/support/forum/index.php?PAGE_NAME=profile_view&UID=137524
    http://andi67.bplaced.net/dokuwiki/doku.php?id=diploman
    http://www.simsonviglu.cz/phpBB/phpBB3/viewtopic.php?f=1&t=32867
  6. Tuesday, 16 July 2024 02:01
    Ставки на спорт с высокими коэффициентами | 1win делает игру увлекательной | 1win создан для настоящих победителей | Будь успешным с 1win| Выбор успешных игроков - 1win| 1win дарит много возможностей| 1win - это стиль жизни победителя| 1win - путь к финансовой независимости| 1win - это высокие шансы на выигрыш| 1win всегда поддерживает своих игроков
    1win вход https://1win-bk.by/ .
  7. Tuesday, 16 July 2024 02:08
    Medicine facts available. Complete medication overview.
    buy finasteride
    Pill overview available. Administration guidelines here.
  8. Tuesday, 16 July 2024 02:09
    Ставки на спорт с высокими коэффициентами | Надежные ставки на 1win | 1win предлагает многочисленные варианты для победы | 1win - верный помощник для ставок| Выбор успешных игроков - 1win| 1win - ваш путь к успеху в ставках| 1win - это мир больших выигрышей| Ставки с 1win - это верный путь к успеху| 1win - это высокие шансы на выигрыш| 1win - это надежность и качество
    1win 1win .
  9. Tuesday, 16 July 2024 02:16
    Высокие коэффициенты на спортивные события | 1win уверенный выбор игроков | 1win дает возможность выиграть крупный приз | Присоединяйтесь к сообществу 1win| 1win - доверие и надежность| 1win дарит много возможностей| 1win приближает к победе| Ставки с 1win - это верный путь к успеху| Ставки на 1win - это ваш выбор| 1win всегда поддерживает своих игроков
    1win скачать 1win скачать .
  10. Tuesday, 16 July 2024 04:47
    Ваш принтер Canon требует заправки картриджа? Превратите затраты на новые картриджи в экономию с нашей услугой по заправке картриджей для лазерных устройств Canon в Киеве!

    Наша группа опытных специалистов гарантирует высококачественное обслуживание вашего аппарата Canon, используя только высококачественные расходные материалы. Распрощайтесь с остановленными на половине процессами печати и переплатой за новые картриджи – с нашей компанией вы сберегаете свои финансовые средства!

    Заправить картридж для Canon - https://printershub.com.ua/ru/zapravka-kartridzha/zapravka-kartridzhej-canon

    Не теряйте время и материальные ресурсы – положитесь к профессионалам от ПринтерсХаб!
  11. Tuesday, 16 July 2024 05:22
    Pinup casino

    Placera ditt spel hos pin up online - direkt prestigeious bookmaker
    Pin up casino
  12. Tuesday, 16 July 2024 05:31
    1win - ваш идеальный партнер для ставок
    Выигрывайте с 1win без усилий
    Попробуйте свои силы на платформе 1win
    1win - надежный партнер для всех любителей ставок
    1win: самый простой способ выигрывать
    1win - ваша дверь в мир азарта и выигрышей
    1win - ваш ключ к миру ставок и азарта
    Сделайте свою жизнь ярче с помощью 1win
    Победы становятся легко доступными с 1win
    1win: ваш выбор номер один в мире ставок
    1win - это лучший способ сделать свою игру еще более захватывающей
    Присоединяйтесь к миллионам победителей на платформе 1win
    Ставки на спорт становятся простыми с 1win
    Начните свой путь к успеху с 1win|Получайте удовольствие от ставок с 1win
    Ставки на спорт без ограничений с 1win|1win - ваш уникальный шанс стать настоящим победителем|1win делает вашу игру интересной и прибыльной|1win - это ваша возможность делать ставки с выгодой|Играйте и выигрывайте с 1win|1win - это ваш персональный билет в мир азарта|Завоюйте мир ставок вместе с 1win|1win предлагает вам только лучшие условия для игры|Получайте максимум удовольствия от ставок с 1win|Начните свой путь к победе с 1win|1win - ваш партнер в мире ставок и азарта|Увеличивайте свои шансы на успех с 1win|1win - это ваш ключ к финансовой стабильности|1win радует своих клиентов только лучшими условиями|1win гарантирует вам только выигрышные ставки|Начните свой путь к успеху с 1win|1win - ваш проводник в мире азарта|Ув
    1win скачать 1win скачать .