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

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

  1. Thursday, 25 July 2024 03:44
    Защитите свои данные с помощью резидентских прокси, предлагаем этим инструментом.
    Какие преимущества у резидентских прокси?, прочитайте подробностями.
    Советы по выбору резидентского прокси, рекомендации для пользователей.
    Какие задачи решают резидентские прокси?, узнайте возможностями.
    В чем преимущество безопасности резидентских прокси?, обзор функций безопасности.
    Какие риски может предотвратить резидентский прокси?, анализируем важные аспекты.
    Как резидентский прокси помогает повысить эффективность?, проанализируем основные плюсы.
    Как быстрее работать в сети с резидентским прокси?, рекомендации для оптимизации работы.
    Почему резидентский прокси стоит использовать для парсинга, обзор возможностей для парсеров.
    Секреты анонимности с резидентским прокси, практические шаги к безопасности онлайн.
    Как улучшить работу в социальных сетях с резидентским прокси, рекомендации функционала.
    Зачем арендовать резидентские прокси и какие бонусы?, проанализируем лучшие варианты.
    Как использовать резидентские прокси для защиты от DDoS-атак, подробно изучим меры безопасности.
    Почему резидентские прокси пользуются популярностью, рассмотрим основные факторы.
    Сравнение резидентских и дата-центровых прокси, подсказки для выбора.
    резидентные прокси купить https://rezidentnieproksi.ru/ .
  2. Thursday, 25 July 2024 05:32

    Carbon Fibre - TPU, Мийки для 3D принтерів
  3. Thursday, 25 July 2024 08:40
    оборудование для конференц зала готовые решения oborudovanie-dlja-konferenc-zalov.ru .
  4. Thursday, 25 July 2024 09:16
    about his https://hamsterkombat.zone
  5. Thursday, 25 July 2024 11:46
    Вы когда-либо задумывались, почему стоит входить на наш вебсайт? В случае если да, продолжайте разбирать, и вы узнаете, почему такое может быть лучшим заключений, которые вы когда-либо принимали.
    Что мы хотим предложить?
    Мы хотим предложить вам разнообразные и увлекательные заметки на самые различные темы. Независимо от такого как, собственно что вас интересует - урок, технологии, культура, путешествия либо личностное становление - у нас есть что-то для любого. Наши создатели - мастера с многолетним опытом, коие тщательно изучат любую тему и деют для вас самую важную и полезную информацию.
    Наши читатели нас ценят https://www.555.md/index.php?tp=10&bid=503262
    знаете ли вы, что больше 80% наших читателей ворачиваются к нам любой месяц за свежими заметками? А 90% из их рекомендуют наш сайт своим приятелям и коллегам. Эти цифры подтверждают, собственно что наш контент действительно ценен и увлекателен широкой аудитории.
    Постоянные инновации и улучшения
    Мы каждый день трудимся над улучшением нашего вебсайта и внедряем новейшие технологии для вашего удобства. Наш вебсайт имеет удобный интерфейс, резвую загрузку страниц и персонализированные рекомендации на основе ваших интересов. Вы можете с легкостью сохранять статьи для чтения офлайн и получать уведомления о новых публикациях по вашим возлюбленным темам.
    Реальные ситуации наших читателей
    Анна, наша преданная читательница, поделилась: "Любое утро я начинаю с чтения статей на данном сайте. Это может помочь мне быть в курсе последних новостей и расширять кругозор. Я отыскала тут много полезной информации, которая помогает мне в ежедневной жизни."
    Игорь, очередной наш неизменный читатель, рассказал: "Я люблю читать заметки на вашем веб-сайте во время обеденного перерыва. Здесь практически постоянно можно отыскать что-нибудь свежее и интересное. Особенно ценю раздел о науке и разработках."
    Полезные советы и рекомендации
    · Подпишитесь на нашу рассылку, дабы всегда быть в курсе новых публикаций.
    · Сохраняйте интересные заметки в закладки, чтобы возвратиться к ним позднее.
    · Делитесь понравившимися материалами в соц сетях, чтобы обсудить их с приятелями.
    · Читайте комментарии иных читателей и участвуйте в обсуждениях, чтобы узнать разные точки зрения.
    Почему стоит выбрать наш сайт?
    · Проф авторы с многолетним навыком.
    · Широкий выбор этим и актуальная информация.
    · Комфортный интерфейс и современные функции.
    · Положительные отзывы и высокий процент возвращающихся читателей.
    Не откладывайте! Приедете в наш сайт прямо сейчас и откройте для себя мир интересных заметок и полезной инфы.
  6. Thursday, 25 July 2024 17:25
    Have you ever faced the issue of your credit report unexpectedly “declares” you dead? Experiencing an erroneous death marker in your TransUnion credit report can be a significant ordeal for anyone. This mistake not only creates a sense of anxiety and stress but can also have long-term consequences for your financial life, affecting your ability to obtain loans, insurance, and even employment.

    Comprehending the Gravity of the Situation
    The erroneous listing of you as deceased in TransUnion’s databases is not just a small oversight. It’s a mistake that can block your access to the most critical financial tools and services. It’s crucial to realize that behind this “digital” problem lie real-life inconveniences and obstacles, such as issues with the social security administration death index and wrongful denial of coverage.

    Statistical Overview
    Let’s consider some statistics that illustrate the prevalence of the problem. For instance, credit bureau reports deceased and social security administration death notification errors occur frequently. Experian death notification and Equifax death notice errors are also common.

    These figures underscore the importance of timely detecting and correcting such errors. If you find your credit report says I am deceased or your credit report shows deceased, immediate action is required.

    Why Choose Our Law Firm
    Choosing our company to solve your problem with your credit report is a choice in favor of professionalism and reliability. Thanks to deep knowledge of the FCRA law and experience in handling similar cases, we offer you the following benefits:

    Guarantee of no expenses on your part: the costs of our services are borne by the respondent.
    Numerous satisfied clients and substantial compensations confirm our effectiveness.
    Full service from interacting with credit bureaus to protecting your interests.
    Real-Life Problems Encountered by People
    Mistakenly reported as deceased TransUnion – denials of credit and financial services.
    Credit report is showing deceased TransUnion – problems with insurance applications and insurance company refusal to pay.
    Flagging TransUnion account as deceased – difficulties with employment due to background check errors.
    TransUnion deceased alert – inability to sign financial contracts, leading to insurance claim denial and long-term care claim lawyer consultations.

    These issues not only create financial and emotional difficulties but also undermine your trust in the credit monitoring system. When errors like a deceased indicator on credit report occur, it's essential to have an experienced insurance attorney on your side to navigate the complexities.

    Have you been mistakenly reported as deceased on credit report? Are you dealing with a social security number reported as deceased or credit report deceased errors? Our firm specializes in resolving these issues, ensuring your records are corrected swiftly. Contact us to enforce insurance promises and get your financial life back on track.

    If your credit report says I am deceased, don't wait. Our experienced team can help you prove you are not deceased and address inaccuracies such as deceased indicator meaning and credit bureau reports deceased. Trust us to handle your case with the dedication of a skilled insurance lawyer.

    https://bucceri-pincus.com/experian-deceased-alert-showing-deceased/
  7. Thursday, 25 July 2024 19:06
    Discover the thrill of winning big at our premier casino bitcoin online usa, where every spin of the wheel promises excitement and opportunity. Immerse yourself in a world of luxury and glamour, where the lights are bright, and the stakes are high. Our casino offers an unparalleled gaming experience with a vast selection of classic and modern games tailored for all levels of players. Join us and feel the adrenaline rush as you take your chance at fortune in an atmosphere of elegance and sophistication.