Sometimes a small project is not so small. For some reason my Odoo Server does not pass through my Comcast Home system at all well. Solution was to put a dedicated PC into my office... but, I didn't want to just have RDC available for all comers (who sure came fast).
I remembered that I had a VPN equipped router. I won't say the model. Anywy, the company who made it was aquired and the aquiring company, as they are want to do, killed most support links about the router. Turns out there were several other routers that used the same software for access, and yes, I got it too work. Honestly, I think it is just a small step in security, not a big one.
In the end I was able to get the correct VPN client by simply downloading the off of a link to a later, still supported router from the company. The client is no where as nice as OPENVPN for granularity, but it does work.
I also found that "NOIP" (https://noip.com) provides a functional way to address a dynamically assigned IP address. There are a few other ways but this was the most direct and within the budget.
Things are working for now despite the EOL from the router builders new owner.
I had mentioned in the earlier version of this post that it might be interesting to rewirte the firmware to the Router, and get it working as a OPENVPN router. That remains interesting but likely easier to do that with some other hardware and software.
EOL is one of the LEAST SUSTAINABLE parts of IT and I do not like the planned obsolesence which rules the industry.
Learning anything takes some practice. I have been hoverting around my reentry for a bit now and went in for a landing. I am going to do my best to build a customized set of builds based upon the Turnkeylinux set of apps, but one which is more flexible and more customizable to my own needs.
Here are some of my process notes. It seems to be going pretty well.
- Sign on to hub.turnkeylinux.com
- Set up a Micro Server via the hub to run TKLDEV
- Sign on to Github
- Go to your https://github.com/turnkeylinux-apps
- Choose the Core App
- Fork it into your own repository set (this will be suggested by Github)
- Choose the TKLDEV App
- Fork it into your repository set
- Choose someother App you want to work with (I will do Joomla and Odoo for now)
- Fork it (or them separately) into your repository set.
- Go to your Repository Root
- For each new repository
- Make a new "Branch" with some operative name for your work
- Option - but recomended
- Make the new branch be the "default" branch for you (rather than "master" being default)
- Log into your TKLDEV Box via SSH - ie Putty. Iin my case the TKLDEV generated on hub.turnkeylinux.com)
- cd / (out of /root)
- cd turnkey (1 and 2 together could be "cd /turnkey")
- cd products (1 and 2 and 3 together could be "cd /turnkey/products")
- Clone each of your repositories (using the -b default_branch_name) to your products directory using a command like the following
- git clone https://github.com/your-user-name/your-turnkeyapp-repository -b default_branch_name
- cd (from products) to one of the new cloned directories
- issue the "make" command
- If you want to remove and start over I use the following
- rm -rf directory_name
- I may have to "restart" the server if I cannot complete because some chroot is running after a "make command".. After reboot again use the rm -rf directory_name command to clear it.
- I am right there now. I will start working with Git on my personal branches and see what modifications I can run
- My specific focus will be on TKLDEV modifications.
- If I want to use those modifications actually "inside" my operating TKLDEV appliance I will likley need to Link the Code directly - which means this is a Line of my TODO list.
- Now to BuildTasks
- Forked https://github.com/turnkeylinux/buildtasks into my repository set -ie https://github.com/my-user-name
- Created a Branch - my name
- Made the Branch "Default"
- Opened GitHub Desktop
- Cloned https://github.com/my-user-name/buildtasks into my GitHub Desktop
- copied bt-xen into bt-mine
- copied /patch/xen/ into /patch/mine (min is a pseudonym)
- Made a Commit with Summary and Detail Annotation
- Pushed the Commit with Summary and Detail Annotation
- Opened my TKLDEV Machine with PUTTY (SSH)
- Navigate with
- dir (to be sure)
- rm -rf buildtasks
- that removed the buildtasks directory so that I can clone my repository
- git clone https://github.com/my-user-name/buildtasks -b my-branch-name
- technically the branch part should be covered automatically as I set it as default in github directly, but I try to be safe and specify the branches explicity.
That takes me to where I am now.
I need to start working on my Build Processes next. Also, quite explicitly, I will need to overtly change the "include" command for buildtasks if I go to make new TKLDEV systems that use my buildtasks. However, it seems easy enough just to change it manually as I have just done to my working TKLDEV server.
- 3 Changes made in Buildtasks (XEN) directory
- Committed Changes
- Pushed Changes
- Went to Putty: Git Pull (3 Changes Made)
Lets Test a build
The Build process worked well. I then had to wrangle (again) with network settings inside of my Server Build, but those were not related specifically to the TKLDEV process.
From here I will move the changes I made into my own BT-process and see if I can replicate my results and also get the few more tweaks for my server build integrated as well.
I need to understand a-bit about the Patching process and how it applies to files outside of build tasks (ie, small changes to the Core build). I also will need to test various updates from REPOS and TKLBAM to see that I can have my changes from TKLDEV stick.
All for Now. Very excited about the project.
To build in XEN, ie (check /mnt/isos for valid build names after)
Looking back at my notes, I started working with Magebridge (from Yireo) in at least 2013 and perhaps earlier.
It was a great idea fraught with difficulties. Its purpose was to bridge Magento into Joomla
Magebridge discontinued by Yireo a few years ago now, but on my side I just disabled it. Yireo discontinued because of the forthcoming Magento 2 and all the changes there. I am not convinced it could not have been brought forward, but I think the greater issue was the extreme complication the program was itself.
Today, I gave it one last try. Nope... no go. And now I am free.
Everything has been removed (uninstalled yes) including Compnents, Plugins, Packages, Libraries, Menu Items, Modules etc etc etc. As the attempt also disabled the Magento server I also have a full restore running there as well (to last night's state). I will likely kill the Magento server next. Also not worth the hassle.
The site is fast. I did resurrect for the time being Dynamic404 from Yireo (Yireo has gone away from all things Joomla). It seems to have some good rerouting and be able to redirect what it cannot find in the overt redirection tables (lets see how that goes).
This is not, of course, big news, but it is news about Old and New. I have long wanted everything to stay functioning, but sometimes we have to clear the decks... They are clear now and we won't try that again. (I log that I spent almost 4 hours on this attempt this morning).
And so it goes.
I have been running Magento since about 2012 with 1.3x in my memory bank. Up to 1.9x now and really just using Magento as a repository now.
Magento 2.x (2.3x to be precise) is here. It does not work, at present, with this CMS system so I have a linkage taking place through Filemaker from J2Store to Magento and by extension to Odoo.
I will quite likely just take the Magento system down. It will not be supported with updates after this coming June and the time investment of getting 2.x running and keeping it running does not seem available just now). We will see.
Anyway, for now, I am going to start redirecting the URL's to land into this system. Lets see what a pain that becomes. Likely worth the effort but also perhaps now.
Sad, but Magento was aquired by Adobe and like Odoo, they are making it more and more difficult to use it as a Open Source software. Not that either are impossible, but the reigns are steering the team towards privation.
Somewhat the nature of things these days I will say.
All good software, just a bit too time intensive.
This is a very functional system which brings the ability to work the "backend" of Magento by actually building and purchasing items you sell,
- Functionally you get all of the aspects of Odoo, including CRM, Product Management and more
- You also get the great E-Commerce capabilities of Magento, and its increditble extensability.
(to do: more detail)