Community discussions

MikroTik App
 
AlexT
newbie
Topic Author
Posts: 30
Joined: Thu Mar 29, 2018 9:51 am

How to install Mikrotik CHR on Oracle Cloud always free instance?

Wed Aug 31, 2022 12:37 pm

Hello!
Please help installing CHR or x86 image on Oracle Cloud which no longer has the ability to create custom disks/images (30 days have passed).

After the following procedure:
  • unzip install-image-7.4.1.zip
  • dd if=install-image-7.4.1.img of=/dev/sda
  • echo 1 > /proc/sys/kernel/sysrq
  • echo b > /proc/sysrq-trigger

I am stuck at this step:
1.png
After selecting the highlighted item above (Boot Install...), the process stops on the next:
2.png

Perhaps there is another way to install on Oracle Cloud?
You do not have the required permissions to view the files attached to this post.
 
poisons
just joined
Posts: 17
Joined: Wed Sep 18, 2013 3:50 pm

Re: How to install Mikrotik CHR on Oracle Cloud always free instance?

Fri Sep 09, 2022 7:49 am

I hope you download the chr image to ramdisk? If not there is a possibility that you overwrite your chr image with chr image.
 
p4t
just joined
Posts: 3
Joined: Thu Jan 21, 2016 9:46 am

Re: How to install Mikrotik CHR on Oracle Cloud always free instance?

Sun May 14, 2023 10:06 am

Hi!

Custom images are not an option for Oracle Always Free tier after the trial period expires.
So you can install the image from inside the vm.
If anyone interested, here's a way to do it.

1) Create instance. Under "Image and shape" choose "Rocky Linux 9.1 - Free (x86_64)". Save Private key. Create.
2) Open puttygen, "Load" the private key, "Save private key" as mikrotik.ppk
3) Open putty, "Connection->SSH->Auth->Credentials", browse for ppk on the first and private key on the second.
Return on Session and enter rocky@(your vm's public address) on "Host Name (or IP address)" box and open.
4) Execute
sudo -i
yum install unzip
umount -l /dev/sda1
curl -L https://download.mikrotik.com/routeros/ ... .9.img.zip | funzip | dd of=/dev/sda bs=1M
sync
reboot
(you may need to force reboot it from the console)
5) Firstly check the console's firewall (Networking->Virtual cloud networks->yourvcn->Security Lists)
and the connect through the public ip and secure RouterOS from inside.
 
kovalr
just joined
Posts: 8
Joined: Wed Apr 26, 2017 9:13 pm

Re: How to install Mikrotik CHR on Oracle Cloud always free instance?

Mon Jan 22, 2024 4:05 pm

Hi!

Custom images are not an option for Oracle Always Free tier after the trial period expires.
So you can install the image from inside the vm.
If anyone interested, here's a way to do it.

1) Create instance. Under "Image and shape" choose "Rocky Linux 9.1 - Free (x86_64)". Save Private key. Create.
2) Open puttygen, "Load" the private key, "Save private key" as mikrotik.ppk
3) Open putty, "Connection->SSH->Auth->Credentials", browse for ppk on the first and private key on the second.
Return on Session and enter rocky@(your vm's public address) on "Host Name (or IP address)" box and open.
4) Execute
sudo -i
yum install unzip
umount -l /dev/sda1
curl -L https://download.mikrotik.com/routeros/ ... .9.img.zip | funzip | dd of=/dev/sda bs=1M
sync
reboot
(you may need to force reboot it from the console)
5) Firstly check the console's firewall (Networking->Virtual cloud networks->yourvcn->Security Lists)
and the connect through the public ip and secure RouterOS from inside.
Has anyone tried this procedure?
 
gammy69er
Frequent Visitor
Frequent Visitor
Posts: 79
Joined: Sun May 18, 2014 3:01 am

Re: How to install Mikrotik CHR on Oracle Cloud always free instance?

Tue Feb 06, 2024 3:52 pm

Has anyone tried this procedure?
I did... Failed for me.

But anything more than a Linux instance is failing for me

https://youtu.be/Wlns9J9a2K8?si=_v0IAbzl7dHz75b_

This video has a solid guide, but I was still unable to get my instances working at all.

Maybe you'll have more luck

Who is online

Users browsing this forum: No registered users and 2 guests