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

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

  1. Monday, 01 July 2024 18:43
    smartblip home gadgets https://smartblip.com best price
  2. Monday, 01 July 2024 19:41
    Получай азарт и адреналин в 1win казино, зарабатывай деньги.
    Увлекательные слоты в 1win казино, подарят незабываемый опыт.
    1win казино - место, где рождаются победы, попробуй и убедись сам.
    Играй и побеждай вместе с 1win казино, получай крупные выигрыши.
    1win казино - твой шанс на удачу и успех, подари себе азарт и адреналин.
    Играй и выигрывай в 1win казино, становись победителем.
    1win казино - твой путь к успеху и богатству, получить все, что ты заслуживаешь.
    Победы и азарт в 1win казино, гарантировано доставит тебе радость.
    1win вход https://luchshiye-onlayn-kazino-rb.com/ .
  3. Monday, 01 July 2024 21:26
    Попробуй свою удачу в 1win казино, становись богаче.
    Азартные игры в 1win казино, гарантируют яркие эмоции.
    1win казино - это возможность испытать удачу, попробуй и убедись сам.
    Играй и побеждай вместе с 1win казино, закрывай невероятные джекпоты.
    1win казино - твой шанс на удачу и успех, воплоти свои мечты в реальность.
    Играй и выигрывай в 1win казино, получай награды без границ.
    1win казино - твой путь к успеху и богатству, в котором ты можешь стать лучшим.
    Победы и азарт в 1win казино, сталкивайся с удачей и побеждай.
    1win вход https://luchshiye-onlayn-kazino-rb.com/ .
  4. Monday, 01 July 2024 21:35
    Попробуй свою удачу в 1win казино, выигрывай крупные суммы.
    Лучшие игровые автоматы в 1win казино, подарят незабываемый опыт.
    1win казино - место, где рождаются победы, выигрывай и радуйся.
    Играй и побеждай вместе с 1win казино, становись миллионером.
    1win казино - место, где рождаются победы, подари себе азарт и адреналин.
    Наслаждайся азартом без ограничений в 1win казино, становись победителем.
    1win казино - твой путь к успеху и богатству, в котором ты можешь стать лучшим.
    Победы и азарт в 1win казино, гарантировано доставит тебе радость.
    1win зеркало https://luchshiye-onlayn-kazino-rb.com/ .
  5. Monday, 01 July 2024 21:41
    Попробуй свою удачу в 1win казино, зарабатывай деньги.
    Увлекательные слоты в 1win казино, гарантируют яркие эмоции.
    1win казино - это возможность испытать удачу, попробуй и убедись сам.
    Разгадай тайны удачи с 1win казино, закрывай невероятные джекпоты.
    1win казино - это мир азарта и возможностей, воплоти свои мечты в реальность.
    Наслаждайся азартом без ограничений в 1win казино, становись победителем.
    1win казино - это место, где рождаются чемпионы, получить все, что ты заслуживаешь.
    Удовольствие и адреналин в 1win казино, которое ждет тебя прямо сейчас.
    1win зеркало https://luchshiye-onlayn-kazino-rb.com/ .
  6. Monday, 01 July 2024 23:00
    Sensual relationships between men and women are a organic quality of gentle bond, playing a pivotal capacity in emotive and physical well-being. But, achieving and maintaining a healthy reproductive relationship requires reconciliation, communication, and common respect. Here are some crucial points to mull over:

    Communication is Guide: Guileless, honest conversations take desires, boundaries, and expectations can nick partners be aware each other healthier and frustrate misunderstandings. It’s grave to be aware securely expressing your needs and concerns.
    https://gay0day.com/tags/orgasm/
    Assent and Trait: Authorize is the cornerstone of any hale and hearty sexual relationship. Both partners should feel cordial and fanatical almost friendly in any activity. Respecting each other's boundaries is crucial notwithstanding structure make and intimacy.

    Nervous Relevance: Natural intimacy is in many cases enhanced through a foul fervid bond. Taking measure to bolt emotionally can intensify the procreant relationship, making it more fulfilling in the interest of both partners.

    Understanding Differences: Men and women can contain different approaches to sex and intimacy. Sagacity and appreciating these differences can cause to a more sympathetic and comforting relationship.

    Exploring Together: Sexuality is a voyage that partners can review together. Vexing fashionable things and being unlatch to each other’s fantasies and preferences can board the relationship galvanizing and dynamic.

    Health and Protection: Prioritizing sex healthfulness is essential. Typical check-ups, practicing riskless sexual congress, and discussing erotic form openly with your friend can prevent vigorousness issues and promote a healthier relationship.

    Dealing with Challenges: Every relationship faces challenges. Whether it’s a mismatch in lustful desires, stress and strain, or other life factors, addressing these issues together with empathy and imperturbability is crucial.
    https://thetittyfuck.com/tags/fuck-slut/
    Seeking Help When Needed: At times, couples may prerequisite knowledgeable cure to direct their carnal relationship. Therapists and counselors can make valuable insights and strategies benefit of overcoming difficulties.

    Not later than focusing on these aspects, couples can help a carnal relationship that is not only enjoyable but also nurturing and respectful. What are your thoughts and experiences on maintaining a in good health procreant relationship? Percentage your insights and fail's discuss!
  7. Tuesday, 02 July 2024 00:22
    Профессиональные seo https://seo-optimizaciya-kazan.ru услуги для максимизации онлайн-видимости вашего бизнеса. Наши эксперты проведут глубокий анализ сайта, оптимизируют контент и структуру, улучшат технические аспекты и разработают индивидуальные стратегии продвижения.
  8. Tuesday, 02 July 2024 00:42
    Профессиональные seo https://seo-optimizaciya-kazan.ru услуги для максимизации онлайн-видимости вашего бизнеса. Наши эксперты проведут глубокий анализ сайта, оптимизируют контент и структуру, улучшат технические аспекты и разработают индивидуальные стратегии продвижения.
  9. Tuesday, 02 July 2024 00:42
    Лучшее казино для игры - 1win, не упустите свой шанс!
    1win казино: ваш ключ к азартным играм, всегда побеждайте вместе с 1win казино!
    1win казино: лучший выбор для азартных игр, начните игру прямо сейчас!
    Играйте и выигрывайте с 1win казино, станьте победителем вместе с 1win казино!
    1win казино: играйте и выигрывайте, получите удовольствие от азарта с 1win казино!
    1win официальный сайт https://populyarnoye-onlayn-kazino-belarusi.com/ .
  10. Tuesday, 02 July 2024 00:43
    Fleshly relationships between men and women are a brisk standpoint of human friend at court and intimacy. They can bear blessing, nourish bonds, and help to entire well-being. In any case, fostering a thriving animal relationship requires exploit, pact, and common respect. Here are some basic points to maintain in resent:

    Clear Communication: Conspicuous and reliable communication hither desires, boundaries, and expectations is crucial. Discussing these topics helps partners understand each other and can baulk misunderstandings or conflicts.
    https://thetittyfuck.com/tags/hard-dick/
    Reciprocal Concede: Allow is the inauguration of any sturdy sexy relationship. Both partners should the feeling warm and happy to participate in any sexual activity. It’s formidable to appreciation each other’s boundaries and make sure that both parties are enthusiastic about the interaction.

    Heated Intimacy: Construction a heady excitable reference can augment medico intimacy. Compelling the time to fasten on an hotheaded level can take to a more fulfilling sensuous relationship, where both partners deem valued and understood.

    Appreciating Differences: Men and women may eat different perspectives and approaches to sexual congress and intimacy. Recognizing and appreciating these differences can persuade to a more congruous relationship, where both partners suffer their needs are met.

    Inspection and Discrepancy: Keeping the carnal relationship sensuous can entail exploring immature experiences together. Being well-known to each other’s fantasies and preferences can add hurly-burly and excavate the connection.

    Prioritizing Health: Procreant haleness is an notable aspect of a strong relationship. Frequenter check-ups, practicing safe sex, and discussing sexual trim openly can usurp prevent issues and move up a healthier connection.

    Navigating Challenges: Every relationship encounters challenges. Whether it’s a unlikeness in sexy desires, suffering, or other life factors, addressing these issues together with empathy and self-control is essential.
    https://desiporn.one/tags/tamil/
    Seeking Practised Management: If challenges evolve into overwhelming, seeking balm from a psychiatrist or counselor can be beneficial. Professionals can present strategies and suffer to usurp couples navigate their procreative relationship more effectively.

    By way of focusing on these elements, couples can make a reproductive relationship that is not lone enjoyable but also gentlemanly and nurturing. How do you say a healthy sensuous relationship? Share your experiences and tips with the community!