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

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

  1. Friday, 12 July 2024 08:59
    Dedicated to the brave players!!
    At Mega Casino World, I found everything necessary for a rewarding gaming experience: high odds, bonuses galore, and a rich selection of games. The operational mirror ensures continuous access, with withdrawals handled swiftly. It's recommended for all gaming enthusiasts!
    Since registering at MCW Casino recently, I've already celebrated several wins. The generous bonuses and top-notch service have exceeded my expectations. The always-available working mirror and convenient app further enhance my gaming experience. I enthusiastically recommend it!
    Catch the site where everything is in the best shape! - MCW Casino
    MCW Casino sports nutrition
    download free MCW Casino app for free
    Mega Casino World app download for free
    aviator MCW Casino
    Mega Casino World download apk

    Good profits!
  2. Friday, 12 July 2024 09:02
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">посредники по доставке из сша в россию
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">мейлфорвадеры доставка из сша
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка посылок из америки
    </a>
  3. Friday, 12 July 2024 09:04
    Здравствуйте!
    Мы изготавливаем дипломы психологов, юристов, экономистов и прочих профессий по выгодным ценам.
    Мы можем предложить документы ВУЗов, которые расположены в любом регионе России. Можно приобрести диплом за любой год, в том числе документы СССР. Дипломы и аттестаты печатаются на бумаге самого высшего качества. Это позволяет делать настоящие дипломы, которые не отличить от оригиналов. Документы будут заверены необходимыми печатями и штампами.
    Где заказать диплом по актуальной специальности?
    istoriya-kino.ru/kinematograf/alph0015.shtml
  4. Friday, 12 July 2024 10:08

    Привет, друзья!
    Всегда считал, что покупка диплома о высшем образовании — это миф. Но, оказалось, что все возможно! Сначала искал информацию по теме: купить диплом монтажника, купить диплом железнодорожника, купить диплом в прокопьевске, старые дипломы купить, купить диплом в симферополе, а затем перешел на дипломы вузов. Подробнее можно узнать здесь:
    https://wiki.mysupp.ru/index.php?title=russianydiplomans
    https://moolookoo.ru/content/diploman
    https://telegra.ph/Kvalifikacionnaya-kategoriya-i-novye-stepeni-vysshego-obrazovaniya-Sopostavlenie-v-2024-godu-02-23
    http://mtpkrskstate.ru/forum/user/192399/
    https://terra-terra.ru/products/stul-detskij-corona-TDTCOR03/#comment_155461

    Оказалось, что все возможно и официально, с упрощенными программами обучения. Теперь у меня диплом московского вуза нового образца, и я рекомендую вам воспользоваться этим шансом!
    Успешной учебы!
  5. Friday, 12 July 2024 10:41
    Goats work as caddies at this Oregon ranch
    kraken14.at

    To most, goat is simply the name for a horned ruminant mammal. For those in sporting circles, it’s a four-letter acronym bestowed upon the greatest of all time.

    Venture through the myriad pine forests and winding creeks into the Blue Mountains of Eastern Oregon though, and both apply simultaneously.

    https://web-kraken13.at
    kraken2
    Silvies Valley Ranch offers a slice of Wild West luxury to travelers and – for the golfers among them – the opportunity to be caddied for by a rigorously trained team of goats.

    A world first when launched in 2018, the current team is the best to ever do it, as far as Silvies owner Dr. Scott Campbell is concerned – and they have even convinced some initial skeptics.

    “A lot of people said it was a stupid idea,” Campbell told CNN.

    “They thought it would make people call us a goat track. Nothing could be further from the truth. Everybody has a good time … People come from all over the world.”

    New career path
    The radical setup was born from a practical problem.

    McVeigh’s Gauntlet – Silvies’ seven-hole challenge course – was far too steep for golf carts to safely traverse. With players only requiring a few clubs to play the course, carrying such a load was well within the capabilities of the ranch’s 3,000 grazers, whose ancestors were transporting cargo long before golfers were planting tees.

    “The goats were asking for different career opportunities, and as an equal opportunity employer, we developed a new career path for them,” Campbell joked.

    A three-month evaluation process sees potential caddies as young as six months old scouted on their friendliness and physical aptitude. Those that progress to the next stage are fitted with a custom-made golf bag – tailored by Oregon-based company Seamus Golf – to see if they’re comfortable carrying it.

    The bag is near-empty for training, but for full-time caddies contains six clubs, extra balls and tees, six drink cans and their daily wage: a few dozen peanuts.

    Chosen candidates are taught the course and put on a carefully monitored physical and nutrition regime before starting their new role from two years old, working six-hour shifts three to four days a week. An on-site vet visits the caddy shack – situated next to the club house and open to visitors throughout the day – on a weekly basis.

    Eight goats make up today’s caddie team – Chunky, Mulligan, Harry, Bogey, Birdie, Charlie, Carrot and Jack – with nine yearlings in training and 10 three-month-old prospects waiting in the wings.
  6. Friday, 12 July 2024 11:18
    Southern Baptists are poised to ban churches with women pastors. Some are urging them to reconsider
    кракен 12
    From its towering white steeple and red-brick facade to its Sunday services filled with rousing gospel hymns and evangelistic sermons, First Baptist Church of Alexandria, Virginia, bears many of the classic hallmarks of a Southern Baptist church.
    https://kraken-20at.net
    kraken17.at
    On a recent Sunday, its pastor for women and children, Kim Eskridge, urged members to invite friends and neighbors to an upcoming vacation Bible school — a perennial Baptist activity — to help “reach families in the community with the gospel.”

    But because that pastor is a woman, First Baptist’s days in the Southern Baptist Convention may be numbered.

    At the SBC’s annual meeting June 11-12 in Indianapolis, representatives will vote on whether to amend the denomination’s constitution to essentially ban churches with any women pastors — and not just in the top job. That measure received overwhelming approval in a preliminary vote last year.

    Leaders of First Baptist – which has given millions of dollars to Southern Baptist causes and has been involved with the convention since its 19th century founding — are bracing for a possible expulsion.

    “We are grieved at the direction the SBC has taken,” the church said in a statement.
    https://kraken-18at.net
    kraken22.at
    And in a Baptist tradition that prizes local church autonomy, critics say the convention shouldn’t enshrine a constitutional rule based on one interpretation of its non-binding doctrinal statement.

    By some estimates, women are working in pastoral roles in hundreds of SBC-linked churches, a fraction of the nearly 47,000 across the denomination.

    But critics say the amendment would amount to a further narrowing in numbers and mindset for the nation’s largest Protestant denomination, which has moved steadily rightward in recent decades.

    They also wonder if the SBC has better things to do.

    It has struggled to respond to sexual abuse cases in its churches. A former professor at a Southern Baptist seminary in Texas was indicted in May on a charge of falsifying a record about alleged sexual abuse by a student in order to obstruct a federal investigation into sexual misconduct in the convention.
  7. Friday, 12 July 2024 11:35
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка товаров из сша в россию
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">мейлфорвадеры доставка из сша
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка товаров из сша в россию
    </a>
  8. Friday, 12 July 2024 12:16
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка товаров из америки в россию
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">мейлфорвадеры доставка из сша
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">посредники по доставке из сша
    </a>
  9. Friday, 12 July 2024 12:41
    Hello Dear

    Upload your Files Soft/Games to DailyUploads Filehost &amp; earn upto 10$ /1k Downloads.

    Signup Link:
    https://dailyuploads.net/free1.html

    Use this Coupon Code to get Free Premium account for 1 year.

    Coupon: Free360

    Regards
    DU Support Team
  10. Friday, 12 July 2024 13:21
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">посредники по доставке из сша
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">мейлфорвадеры доставка из сша
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка товаров из сша в россию
    </a>
  11. Friday, 12 July 2024 13:24
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка посылок из сша
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">мейлфорвадеры доставка из сша в россию
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка посылок из америки
    </a>
  12. Friday, 12 July 2024 13:54
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка товаров из америки в россию
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">посредники по доставке из сша в россию
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка посылок из америки
    </a>
  13. Friday, 12 July 2024 14:15
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка товаров из америки
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка посылок из сша в россию
    </a>
    <a href="https://telegra.ph/posredniki-dostavki-tovarov-iz-ssha-v-rf-07-08">доставка товаров из америки в россию
    </a>
  14. Friday, 12 July 2024 14:36

    Привет всем)
    Хорошо быть студентом, пока не придет пора писать диплом, что и произошло со мной, но не стоит отчаиваться, ведь есть хорошие компании что помогают с написанием и сдачей диплома на хорошие оценки!
    Изначально искал информацию про купить диплом фармацевта, купить диплом в владикавказе, купить диплом в улан-удэ, купить диплом цена, купить диплом для иностранцев, потом попал на http://testforum.1stbb.ru/viewtopic.php?f=3&amp;t=338 и там решили все мои учебные заботы!
    Успешной учебы!