Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Saturday, April 16, 2022

How To: Run A Web Server On Tiny Core Linux Using BusyBox HTTP Daemon (httpd)

 



1) Run Tiny Core Linux

2) Install BusyBox Httpd

tce-load -wi busybox-httpd.tcz

3) Create Home directory

Go to /mnt/sda1/ directory

cd /mnt/sda1/

Make a new directory wwwsite

sudo mkdir wwwsite

4) Create html page

sudo vi index.html

Type vi command: [ESC] i

<h1>HelloWorld</h1>

Type vi command: [ESC] :wq!

5) Run httpd command

sudo /usr/local/httpd/sbin/httpd -p 80 -h /mnt/sd1/wwwsite/

6) View the website in the web browser



You can automate the entire process by following the next article:


Thursday, April 14, 2022

How To: Set Up Tiny Core Linux On VirtualBox

 


1) Download Tiny Core Linux OVA file

https://archive.org/download/tiny-linux-vm/Tiny%20Linux%20VM.ova


2) Run VirtualBox, import the OVA as a new appliance.

Import new appliance


New VM imported


3) Run

4) Install Nano Text Editor

tce-load -wi nano

meaning:

"tce-load [-w -i {-r -f} ] extname"

"tce-load, use -w (wget) , -i (to install i.e mount the app), -r (force tcz to ram) and -f (force symlinker)"

ref:https://tinyurl.com/2wd39n8r

Check installation

cd /usr/local/etc

ls



5) Install OpenSSH

tce-load -wi openssh

Check installation

cd /usr/local/etc

ls



6) Configure OpenSSH for remote connection

sudo cp ssh_config.example ssh_config

sudo cp sshd_config.example sshd_config



7) Start OpenSSH

sudo /usr/local/etc/init.d/openssh start


8) Set user password for remote connection

(assuming that the user is tc)

passwd

make it a bit harder e.g. P@ssw0rd

enter for two times.

9) Check IP number for the VM

ifconfig



10) Run Putty application in host PC (which acts as a remote PC).

Host Name: tc@192.168.68.129

Port: 22


11) Accept connection to the OpenSSH service

Accept connection


Connected



READ ALSO:

https://iotbytes.wordpress.com/configure-ssh-server-on-microcore-tiny-linux/

https://skootsone.yolasite.com/netbox-tcore-ssh.php

https://www.lrz.de/services/compute/courses/x_lecturenotes/191007_PuTTY_Tutorial_2019.pdf















Saturday, April 9, 2022

How To Compile And Run Java In Different Directory In Windows?



Assuming ...

your java compiler is in the path: C:\java\jdk1.8.0_111\bin

your codes is in the path: C:\test\HelloWorld.java


To Compile:

"C:\java\jdk1.8.0_111\bin\javac" "C:\test\Hello.java"


To Run:

"C:\java\jdk1.8.0_111\bin\java" -cp "C:\test" Hello




Download Oracle Portable JDK

.


 

Oracle™ JDK portable


Java Development Kit (JDK) is an implementation of the Java Platform released by Oracle Corporation.

.

https://portapps.io/app/oracle-jdk-portable/ 

.


Tuesday, April 5, 2022

Download Portable NetBeans 7.1 J2EE

 


.

Other than Java FX 2.0 support (the main theme for this release), this version overall adds a lot of Java EE polish (mainly in the area of CDI), and remains a top-notch Maven IDE capable of scaling to very large projects.

.

https://sourceforge.net/projects/netbeansj2ee/

.