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

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

  1. Wednesday, 03 July 2024 04:42
    Привет!
    Для многих людей, заказать диплом университета - это необходимость, возможность получить достойную работу. Однако для кого-то - это желание не терять время на учебу в универе. Что бы ни толкнуло вас на это решение, наша фирма готова помочь вам. Оперативно, профессионально и по разумной цене изготовим документ любого года выпуска на подлинных бланках с реальными подписями и печатями.
    Заказать документ о получении высшего образования можно в нашей компании в столице. Мы оказываем услуги по продаже документов об окончании любых университетов Российской Федерации. Вы сможете получить необходимый диплом по любым специальностям, любого года выпуска, включая документы образца СССР. Гарантируем, что при проверке документа работодателем, никаких подозрений не возникнет.
    Плюсы наших дипломов:
    • используем настоящие бланки "Гознак";
    • все подписи должностных лиц;
    • все печати учебного заведения;
    • водяные знаки, нити и другие степени защиты;
    • идеальное заполнение и оформление - ошибки исключены;
    • любая проверка оригинальности документа.
    Наши специалисты предлагают выгодно купить диплом, который выполнен на оригинальной бумаге и заверен печатями, штампами, подписями. Наш документ способен пройти любые проверки, даже с использованием специфических приборов. Достигайте свои цели быстро с нашими дипломами.
    Где заказать диплом специалиста?
    https://aquaglo.ru/gallery/image/1453-osnovnye-prichiny-pochemu-seychas-ochen-mnogie-zakazyvayut-diplomy/
    https://mic.org.ru/blogs/1/zachem-trebuetsya-priobretenie-diploma-v-seti-glavnye-prichiny.php
    http://site2.liodiz.ru/2023/12/23/v-kakoy-imenno-magazin-obratitsya-esli-nuzhen-diplom-vuza.html
    http://npo.bestbb.ru/viewtopic.php?id=304
    http://ls.ruanime.org/2024/01/31/klyuchevye-dostoinstva-nashego-onlayn-magazina-kachestvo-diplomov.html

    Успехов в учебе!
  2. Wednesday, 03 July 2024 04:49
    На сайте представлены игровые автоматы, которые можно играть бесплатно и без регистрации, а также получить удовольствие от азартных игр в любое удобное время.
  3. Wednesday, 03 July 2024 06:48
    https://sps134.ru вызов сантехника.
    вызов сантехника https://sps134.ru.
    срочный вызов сантехника https://sps134.ru.
    сантехник вызов https://sps134.ru.
    https://sps134.ru сантехник на дом.
    https://sps134.ru сантехнические работы.
    https://sps134.ru сантехнические услуги.
    сантехнические работы вызвать мастера https://sps134.ru .
    мастер сантехник https://sps134.ru .
  4. Wednesday, 03 July 2024 08:47
    https://sps134.ru вызов сантехника.
    вызов сантехника https://sps134.ru.
    срочный вызов сантехника https://sps134.ru.
    сантехник вызов https://sps134.ru.
    https://sps134.ru сантехник на дом.
    https://sps134.ru сантехнические работы.
    https://sps134.ru сантехнические услуги.
    сантехнические работы вызвать мастера https://sps134.ru .
    мастер сантехник https://sps134.ru .
  5. Wednesday, 03 July 2024 08:56
    Привет!
    Для некоторых людей, заказать диплом о высшем образовании - это острая потребность, уникальный шанс получить достойную работу. Но для кого-то - это очевидное желание не терять массу времени на учебу в ВУЗе. С какой бы целью вам это не потребовалось, наша компания готова помочь. Быстро, качественно и выгодно сделаем диплом нового или старого образца на настоящих бланках со всеми требуемыми печатями.
    Наша компания предлагает выгодно приобрести диплом, который выполнен на оригинальном бланке и заверен мокрыми печатями, штампами, подписями. Данный диплом пройдет любые проверки, даже при использовании специфических приборов. Достигайте своих целей быстро и просто с нашей компанией.
    Основные преимущества наших дипломов:
    • используем настоящие бланки "Гознака";
    • подлинные подписи должностных лиц;
    • мокрые печати ВУЗа;
    • водяные знаки, нити и прочие степени защиты;
    • идеальное качество оформления - ошибки полностью исключены;
    • любые проверки документов.
    Дипломы об окончании учебных учреждений РФ:
    - Способны повысить статус своего владельца;
    - Открывают большие возможности на рынке труда;
    - Повышают рейтинг в глазах окружающих;
    - Повышают собственную самооценку.
    Где приобрести диплом по необходимой специальности?
    https://socialtechnet.com/story2679348/%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B8%D1%82%D1%8C-%D0%B4%D0%B8%D0%BF%D0%BB%D0%BE%D0%BC-%D0%B1%D1%80%D0%BE%D0%BA%D0%B5%D1%80%D0%B0
    Успешной учебы!
  6. Wednesday, 03 July 2024 09:02
    https://sps134.ru вызов сантехника.
    вызов сантехника https://sps134.ru.
    срочный вызов сантехника https://sps134.ru.
    сантехник вызов https://sps134.ru.
    https://sps134.ru сантехник на дом.
    https://sps134.ru сантехнические работы.
    https://sps134.ru сантехнические услуги.
    сантехнические работы вызвать мастера https://sps134.ru .
    мастер сантехник https://sps134.ru .
  7. Wednesday, 03 July 2024 11:11
    Isolated and inexperienced: A portrait of the judge overseeing Trump’s documents case from veterans of her courtroom
    blacksprut com
    Judge Aileen Cannon had been on the federal bench for little more than a year when a senior judge offered to preside over one of her first criminal trials in her isolated south Florida courthouse.

    “It’s very lonely,” Senior Judge Paul C. Huck told CNN of Fort Pierce, a small fishing and citrus community on the edge of the Southern District of Florida where Cannon is the only federal judge. “It’s a pretty sleepy town with a pretty sleepy courtroom.”
    https://blacksprutbs2best.net
    блэк спрут ссылка
    Huck ultimately presided over the March 2022 criminal trial – not because Cannon needed help, he said, but because he enjoys volunteering for trials in courts across Florida.

    “I thought I’d go up there and just spend some time with her and get to know her better,” Huck said of Cannon, whom he recalled as “very smart” and “very personable.”

    Two years later, Cannon is now presiding over one of the most consequential and complex cases in America: the criminal prosecution of former president Donald Trump over his handling of the nation’s secrets. And she’s attracting nationwide scrutiny for how she’s approached the case.
    Since Trump was first indicted a year ago, Cannon has dragged out the proceedings in ways that have flummoxed legal scholars and put a trial initially scheduled to begin last month on hold indefinitely.

    Several attorneys who have practiced in front of Cannon – and who spoke to CNN for this story – pointed to her isolation as one explanation for her conduct. Cannon’s solitary post in the Fort Pierce courthouse, one that rarely sees high-profile action, deprives her of the informal, day-to-day interactions with more seasoned judges who sit at the other courthouses and could offer her advice, the lawyers told CNN.
    https://bs2bestat.net
    спрут
    They also said Cannon’s lack of trial experience, both as a lawyer and a judge, is apparent. In her seven years as a Justice Department attorney, Cannon participated on the trial teams of just four criminal cases.  And on the bench, she’s only presided over a handful of criminal trials – and Huck took over one of them.

    For this account of Cannon’s judicial demeanor, CNN spoke to ten attorneys who have had cases – both criminal and civil – before her. The lawyers spoke to CNN on the condition of anonymity because of the professional and ethical risks of speaking to press about a sitting federal judge in front of whom they practice.
  8. Wednesday, 03 July 2024 12:33
    видеостена под ключ kupit-videostenu.ru .
  9. Wednesday, 03 July 2024 14:36
    Здравствуйте!
    Мы предлагаем быстро заказать диплом, который выполнен на оригинальном бланке и заверен печатями, водяными знаками, подписями. Данный диплом способен пройти любые проверки, даже с применением профессионального оборудования. Достигайте цели быстро и просто с нашей компанией.
    Где заказать диплом специалиста?
    http://forumkk.listbb.ru/viewtopic.php?f=12&t=392
    Хорошей учебы!