- Download CorePure64 iso from www.tinycorelinux.net
https://distro.ibiblio.org/tinycorelinux/9.x/x86_64/release/CorePure64-9.0.iso
- Download VMWare player (latest) from www.vmware.com
https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/15_0
- Install VMWare player
- Start VMWare player
- Create New Virtual Machine
- radio: Install dics image file (iso): pointing to CorePure64-9.0.iso
- Next
- radio: Linux
- Version: Other Linux 4.x or later kernel 64-bit
- Next
- Virtual Machine name: Core64
- Next
- Maximum dusk size (GB): 8 GB
- radio: Store virtual disk as a single file
- Next
- Finish
- Choose newly made VM: Core
- Edit Virtual Machine Settings
- Select Had Disk (SCSI)
- Remove (the just made disk, we want IDE, not SCSI)
- Add
- Select Hard Disk
- Next
- radio: IDE
- Next
- radio: Create new virtual disk
- Next
- Maximum disk size (GB): 8.0GB
- check: Allocate all disk space now
- radio: store virtual disk as a single file
- next
- Core-0.vmdk
- Finish (takes some time)
- OK
- Select Sound Card
- Remove
- Select printer
- Remove
- OK
- Select Network Adapter
- Radio: Bridged
- OK
- Play Virtual Machine
- on prompt boot: <enter>
(Core has autologin for user tc, where tc is a sudoer)
tc@box:~$ sudo fdisk /dev/sda
type: n <enter> p <enter> 1 <enter> <enter> <enter> w <enter>
tc@box:~$ sudo mke2fs /dev/sda1
tc@box:~$ sudo reboot
- on prompt boot: corepure64 tce=sda1 <enter>
tc@box:~$ tce-load -wi joe
tc@box:~$ tce-load -wi openssh
tc@box:~$ cd /usr/local/etc/ssh
tc@box:/usr/local/etc/ssh$ sudo cp ssh_config.orig ssh_config
tc@box:/usr/local/etc/ssh$ sudo cp sshd_config.orig sshd_config
tc@box:/usr/local/etc/ssh$ sudo ssh-keygen -A
tc@box:~$ cd /opt
tc@box:/opt$ sudo joe bootlocal.sh
#!/bin/sh
/usr/local/etc/init.d/openssh start
^KX
tc@box:/opt$ joe .filetool.lst
opt
home
etc/passwd
etc/shadow
etc/sudoers
usr/local/etc/ssh
^KX
tc@box:~$ sudo passwd tc
New password:
Retype password:
passwd: password for tc changed by root
tc@box:~$ sudo passwd root
New password:
Retype password:
passwd: password for root changed by root
tc@box:~$ ifconfig
etho ..... inet addr: 192.168.....
tc@box:/opt$ filetool.sh -b
tc@box:/opt$ sudo reboot
- on prompt boot: <enter>
DONE!! Ready to ssh
- for searching and installing applications use: tce-ab
tc@box:~$ tce-load -wi dotnet-sdk
tc@box:~$ sudo adduser dotnetuser -G staff -h /mnt/sda1/dotnetuser
Changing password for dotnetuser
New password:
Retype password:
passwd: password for dotnetuser changed by root
tc@box:~$ sudo joe /etc/sudoers
dotnetuser ALL=NOPASSWD: ALL
^KX
tc@box:~$ filetool.sh -b
tc@box:~$ exit
Core Linux
box login: dotnetuser
Password: ....
dotnetuser@box:~$ pwd
/mnt/sda1/dotnetuser
dotnetuser@box:~$ mkdir hello
dotnetuser@box:~$ cd hello
dotnetuser@box:~/hello$ dotnet new console
- first time takes some time, downloading .NETCore packages
dotnetuser@box:~/hello$ dotnet run
Hello World!
dotnetuser@box:~/tc$ tce-load -wi ca-certificates
tc@box:~$ dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.100-rc.2.20479.15
Commit: da7dfa8840
Runtime Environment:
OS Name: tinycore
OS Version: 11.1
OS Platform: Linux
RID: linux-x64
Base Path: /tmp/tcloop/dotnet-sdk/usr/share/dotnet/sdk/5.0.100-rc.2.20479.15/
Host (useful for support):
Version: 5.0.0-rc.2.20475.5
Commit: c5a3f49c88
.NET SDKs installed:
5.0.100-rc.2.20479.15 [/tmp/tcloop/dotnet-sdk/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.0-rc.2.20475.17 [/tmp/tcloop/dotnet-sdk/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.0-rc.2.20475.5 [/tmp/tcloop/dotnet-sdk/usr/share/dotnet/shared/Microsoft.NETCore.App]
[code][ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517
tc@box:~$ dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.100-rc.2.20479.15
Commit: da7dfa8840
Runtime Environment:
OS Name: tinycore
OS Version: 11.1
OS Platform: Linux
RID: linux-x64
Base Path: /tmp/tcloop/dotnet-sdk/usr/share/dotnet/sdk/5.0.100-rc.2.20479.15/
Host (useful for support):
Version: 5.0.0-rc.2.20475.5
Commit: c5a3f49c88
.NET SDKs installed:
5.0.100-rc.2.20479.15 [/tmp/tcloop/dotnet-sdk/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.0-rc.2.20475.17 [/tmp/tcloop/dotnet-sdk/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.0-rc.2.20475.5 [/tmp/tcloop/dotnet-sdk/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
tc@box:~$ mkdir hello
tc@box:~$ cd hello
tc@box:~/hello$ dotnet new console
The template "Console Application" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on /home/tc/hello/hello.csproj...
Determining projects to restore...
Restored /home/tc/hello/hello.csproj (in 146 ms).
Restore succeeded.
tc@box:~/hello$ dotnet run
Hello World!
tc@box:~/hello$ ./bin/Debug/net5.0/hello
Hello World!
tc@box:~/hello$ uname --a
Linux box 5.4.3-tinycore64 #2020 SMP Tue Dec 17 17:38:30 UTC 2019 x86_64 GNU/Linux
when using dotnet5-sdk two remarks;
1: don't forget to 'tce-load -wi ca-certificates' when using nuget packages
2: when executing compiled .NET code directly, place the location of the runtime in file /etc/dotnet/install_location
/usr/local/share/dotnet5-sdk and add /etc/dotnet/install_location to /opt/.filetool.lst
$ filetool.sh -b
tc@box:~$ tce-load -wi dotnet6-sdk
tc@box:~$ mkdir hello
tc@box:~$ cd hello
tc@box:~/hello$ dotnet new console
Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.100
The template "Console App" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on /home/tc/hello/hello.csproj...
Determining projects to restore...
Restored /home/tc/hello/hello.csproj (in 80 ms).
Restore succeeded.
tc@box:~/hello$ dotnet run
Hello, World!
tc@box:~/hello$ dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.100
Commit: 9e8b04bbff
Runtime Environment:
OS Name: tinycore
OS Version: 12.0
OS Platform: Linux
RID: linux-x64
Base Path: /tmp/tcloop/dotnet6-sdk/usr/local/share/dotnet6-sdk/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
6.0.100 [/tmp/tcloop/dotnet6-sdk/usr/local/share/dotnet6-sdk/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [/tmp/tcloop/dotnet6-sdk/usr/local/share/dotnet6-sdk/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/tmp/tcloop/dotnet6-sdk/usr/local/share/dotnet6-sdk/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download