This will install a Midnight Commander, samba and a set of utilities as described belove.
wget http://palsbo.net/rep/utils.inst.sh sudo sh utils.inst.sh
Purpose:
to create an installation package (as a script file) holding all scripts and data to install the package.
Usage:
sudo makeinst <instdir> <Title>
where <instdir> is a directory structure (see below) and <Title> is a name to display during install.
Example:
sudo makeinst myapp 'My application program'
- creates an installation package named myapp.inst.sh and a gz file myapp.inst.gz from the directory 'myapp.inst' in current directory.
The installation directory structure must reside where the 'makeinst' command is executed from.
The directory structure is as follows:
Usage:
doinst <package-name>
Example:
sudo doinst node
Will install the package node.inst.sh from the repository
Usage:
gettar <package-name>
Example:
soud gettar node
Will fetch the package node.inst.gz from the repository and unpack it to current directory
Used by'makeinst'.
Details here: http://stephanepeter.com/makeself/
Set/Change hostname
Usage:
sambashare <sharename> <share-path>
Example:
sudo sambashare server /server
Will create a directory and share it using samba.
Usage:
sudo sambauser username password
Will create a samba user.
Display system info