Whys and Wherefores | Installation | Configuration | Log Files | Tweaks |
This section covers the installation of the Apps we need. Originally it also included the installation of Tiny Core but I've now split this out as an article in its own right. (See here if you need it).
Having got a basic installation of Tiny Core we now need to add the Apps specific to our application.
Run the AppBrowser and download and install:
...plus anything else you may want.
Now we've got the basics in place it's time for a few more necessary tweaks.
For the websites I like to create individual users on the system - 'ptowers' and 'idive' in this example. Also, if we wish to log in remotely as the user tc, tc has to have a password set. To do the former we use the adduser command, for the latter the passwd command.
tc@mirror:~$ sudo adduser ptowers -G staff Changing password for ptowers New password: Retype password: Password for ptowers changed by root tc@mirror:~$ sudo adduser idive -G staff Changing password for idive New password: Retype password: Password for idive changed by root tc@mirror:~$ passwd tc Changing password for tc New password: Retype password: Password for tc changed by tc tc@mirror:~$
Adding the users has updated the two files: /etc/passwd and /etc/shadow - but only in RAM. We need to make these changes persistent which we do by adding the files to /opt/.filetool.lst. You can either edit the file directly or just use echo to add them. Having added them we need ensure they are backed up to the mydata.tgz file.
tc@mirror:~$ echo etc/passwd >>/opt/.filetool.lst tc@mirror:~$ echo etc/shadow >>/opt/.filetool.lst tc@mirror:~$ filetool.sh -b Backing up files to /mnt/sda1/tce/mydata.tgz Done tc@mirror:~$
NB When ever we add a file to the .filetool.lst file there is NO leading '/' in the path.
That's got the basic system set up, next we move on to look at configuring the individual applications.