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

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

  1. Saturday, 31 August 2024 05:18
    вывод из запоя круглосуточно сочи (вывод из запоя круглосуточно в Сочи) http://www.vyvod-iz-zapoya-sochi11.ru .
  2. Saturday, 31 August 2024 05:54
    https://gayblowjob.tv/videos/3873/twink-boys-tube-mobile-and-sissy-gay-sex-xxx-jackcompanions-son-miller/

    https://thetranny.com/videos/89873/trans-daisy-taylor-gets-fucked-and-hogtied-in-the-kitchen/

    https://teen-lesbian-tube.com/videos/3066/colombian-real-estate-advisor-agreed-to-fuck-her-client-in-the-house-to-convince-her-to-buy-it-porn-in-spanish/

    https://bdsmporn.one/videos/88/tms-25-part-two-miniature-dilettante-mother-i-d-like-to-fuck-otk-spanked-paddled-caned-receives-drilled-doggy-style-with-creampie/

    https://asianxxx.one/videos/553/deviante-big-tits-short-latina-asian-milf-security-lady-finds-a-fleshlight-in-lucky-mans-luggage/

    https://asianxxx.one/videos/9222/asian-teen-sasha-grimacing-doggy-sex/

    https://analxxx.one/videos/2746/moms-teach-sex-redhead-legal-age-teenager-receives-sex-lesson-from-lascivious-stepmommy/

    https://latinaporn.one/videos/2294/i-work-in-a-hotel-in-mexico-and-i-met-this-shy-big-ass-latina-in-the-locker-room-i-invited-her-to-a-coffee-and-we-ended-up-fucking/

    https://voyeurporn.one/videos/199/large-butt-mother-i-d-like-to-fuck-exhibitionist-rubs-her-snatch-at-a-public-park/

    https://thetranny.com/videos/64204/sister-wants-sex-with-her-transgender-sibling/

    https://asianxxx.one/videos/840/busty-asian-amateur-milf-with-big-boobs-gets-a-real-passionate-and-rough-pussy-fuck-cumshot-on-her-face/

    https://thetranny.com/videos/84795/emma-rose-pierce-paris-lily-lovecraft-cucklish/

    https://bragx.com/videos/33134/two-big-dicks-fucking-short-fat-booty-bottom-merecly/

    https://xlilith.com/videos/24380/full-video-of-ebony-lesbian-fucking-infront-of-stranger-on-ft-add-new-snapchat/

    https://hentai0day.com/videos/15132/married-day-hardcore-sex/

    https://zeenite.com/videos/10725/hardcore-boob-sucking/

    https://outdoorporn.one/videos/7121/indian-outdoor-village-hardcore-sex-in-hindi-clear-voice/

    https://analxxx.one/videos/11190/large-dildos-ding-dong-fuck-my-wazoo/

    https://analxxx.one/videos/2017/soccer-mamma-wants-to-try-a-bbc-in-the-ass-oh-yeah/

    https://asianxxx.one/videos/3413/indian-teen-first-night-sex-after-marriage-roleplay-with-hindi-voice/
  3. Saturday, 31 August 2024 05:54
    https://gay0day.com/videos/299555/bbc-desi-boy-hard-fuck-to-his-office-staff-and-cumshot-in-asshole-doggy-style-gaysex-big-dick-hard-fuck-boysex/

    https://twinkporn.one/latest-updates/

    https://bragx.com/latest-updates/

    https://gay0day.com/videos/293329/bangladeshi-gay-boys-sex-video/

    https://erhe.me/most-popular/

    https://gay0day.com

    https://zeenite.com/most-popular/

    https://bragx.com/videos/15671/indian-gym-gay-fuck-cute-boy/

    https://bdsmporn.one/videos/950/i-crave-you-to-treat-me-like-a-sissy-whore/

    https://squirting.world/videos/35229/sexy-girl-hard-fucked-by-her-boss/

    https://outdoorporn.one/videos/12723/teacher-and-student-outdoor-pussy-fucking-village-girl-friend-hot-desi-indian-girl/

    https://hentai0day.com/videos/20652/hentai-hole-in-the-wall-slut-in-skirt-lets-her-housemate-fuck-her-wet-pussy/

    https://outdoorporn.one/videos/21712/indian-desi-school-girl-sex-yoursoniya-full-hd-viral-video/

    https://xlilith.com/videos/30864/desi-londa-rani-darling-jija-ne-sali-ko-rasoi-me-choda-desi-hindi-video-clear-audio/

    https://xlilith.com/videos/16590/hd-lesbian-sexxx/

    https://sweetbigboobstube.com/videos/1832/testing-my-stepmom-s-self-defense-skills-jane-cane/

    https://bdsmporn.one/videos/742/footfetish-witn-butt-and-snatch-of-female-dominator/

    https://outdoorporn.one/videos/23268/desi-sexy-soniya-bhabhi-fucked-when-talking-with-devar-outdoor-farms-sex-hindi-audio/

    https://amateurxxx.one/videos/16428/real-big-beautiful-woman-dilettante-pair/

    https://xlilith.com/videos/34119/part-2-indian-aunty-lesbian-videos/
  4. Saturday, 31 August 2024 06:38
    buy priligy pakistan The comparison of the linearly transformed mean values of the EORTC QLQ C30 data was performed the very similar global health status P 0
  5. Saturday, 31 August 2024 10:04
    Hey guys, let's be real, who among you has performed balancing your drive shaft? And more importantly, did you see any improvement?

    I came across this piece that says without balancing, my car might break down eventually. But so far, it shakes but still runs. Maybe it's just the automotive version of homeopathy - nothing to worry about, but not exactly helpful?"
    Article : Shaft imbalance