Do you need to tunnel to another machine frequently?
Would you like an App to save time and make it more user friendly?
Well, good news!
There’s a solution for Linux and Apple machines.
For Linux you can try Gnome SSH Manager.
From their website:
gSTM is a front-end for managing SSH-tunneled port redirects. It stores tunnel configurations in a simple XML format. The tunnels (local, remote and dynamic) can be managed and individually started/stopped through one simple interface.
Another option for Linux is IOSSHy.
From their website:
IOSSHy provides an easy to use desktop tool to quickly create and destroy SSH tunnels and launch commands based on a preconfigured setup.
Password are stored in the keyring provided by the operating system (ES: gnome’s keyring, kde’s kwallet, osx keychain, etc…)
For MacOS (OSX) it’s called Tunnel Manager.
From their website:
SSH Tunnel Manager is a macOS application to manage your SSH tunnels. If you don’t know what that is, quite honestly, maybe you don’t need SSH Tunnel Manager, but if you appreciate the power of connecting together two networks using the SSH protocol, then STM is for you.
Did you know: SSH Tunneling is also commonly referred to as LocalForwarding, RemoteForwarding, Local Port Forwarding, Remote Port Forwarding.
Follow these instructions and set your email to receive notifications.
apt-get install unattended-upgrades apt-listchanges
Set your email to receive notificaitons:
To activate unattended-upgrades, you need to ensure that the apt configuration stub /etc/apt/apt.conf.d/20auto-upgrades contains at least the following lines:
dpkg-reconfigure -plow unattended-upgrades
Alternatively, you can also create the apt configuration file /etc/apt/apt.conf.d/02periodic to activate unattended-upgrades:
Using unattended-upgrades on Debian and Ubuntu
apt-key adv --keyserver subkeys.pgp.net --recv-key E58FE9B3FE3B0470525159BD6DC3D600CDEF74BB
apt-get install dirmngr
This issue may be caused by a buggy package installation script causing incorrect repositories to be added to the software sources repository list. If after troubleshooting the issue remains unresolved contact your vendors by opening a support ticket with the error details.
Other error message:
gpg: failed to start the dirmngr ‘/usr/bin/dirmngr’: No such file or directory
Working with Meteor templates one must understand how to access data context in the various sections of templates.
These links provide good explanations:
The defautl vm.swappiness value for Proxmox 5.2.x is 60
Run this command in Shell in order to reduce swappiness to an absolute necessity when the system is out of RAM.
sysctl -w vm.swappiness=0
Other performance tips
Proxmox OpenVZ SWAP and Performance
After adding a mongodb you may experience an error about the GPG PUB KEY like teh following.
W: GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/testing Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 68818C72E52529D4
E: The repository ‘http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/testing Release’ is not signed.
You can fix this issue by adding the PUB KEY for MongoDB’s repository.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68818C72E52529D4
Try update again
I don’t like to use big repeating command and I was searching for a solution where I will be setting a variable embedded with something so every time I start my meteor app; the MONGO_URL will set to environment automatically. So this what I did:
In the package.json file I replaced the start parameter as below:
"start": "MONGO_URL=mongodb://username:password@host_url:portnumber/dbname meteor run"
When trying to setup a meteor up node on proxmox CT the console will give out this error.
failed to register layer: ApplyLayer exit status 1 stdout: stderr: permission denied
This is because a container is being created within a container.
The soluton is to create a VM instead of a CT.
Another common error:
Error: Cannot find module ‘@babel/runtime/helpers/builtin/interopRequireDefault’
How to fix:
This has been traced in the forums as an incompatibility with the latest version of
@babel/runtime. Change the corresponding line in the package.json file
and then do
meteor npm install
Configure your instance using this guide to install the necessary packages and setup VNC to start on reboot.
Tip: You will want to connect via SSH tunnel to your VNC server. That is the safest way to do it.
Specify the resolution using this format
vncserver :1 -geometry 1600x1200