Run the ipython notebook from centos server to windows browser - ipython

I have installed a virtual centos 7.3 server on my windows machine. And on centos server i have installed ipython notebook, by using pip
I have browser installed on my same windows machine.
When i'm trying to run the ipython notebook from centos server using the command ipython notebook --allow-root
It is giving me the link something like:
http://localhost:8888/?token=eaa9719ae6456b5d56fd419208a849b1886d8003051714
and i'm pasting this link to browser, then i'm getting the warning as not able to connect.
I'm new to ipython, so it would be really helpful if someone could guide me.

After, lot of searching, i just tried unblocking the firewall, and yeah it worked.
I followed the below steps:
Check the status of firewall systemctl status firewalld
Disabling the firewall systemctl disable firewalld
stop the firewall systemctl stop firewalld
and yeah, it worked.

Related

Ubuntu 22.04 LTS automatic shutdown when log off to use RDP

I am experiencing some issues with Ubuntu 22.04 LTS.
I have logout from the Ubuntu server and connect to my Ubuntu server using Remote Desktop (Windows 11). This is the process to be able to connect to RDP.
However, after a short period of time, i experience that the server shutdown/ or go to sleep mode. I need to physically turn it off and ON again.
Can someone please share some information on why does this happen? And any possible fix?
Thank you.

VSCode remote ssh: Can't install extensions on remote server

I am trying to install an extension (as an example cmake tools) on my remote server (ubuntu Arm 64). I have enabled remote.downloadExtensionsLocally feature). When I try to install the extensions, it seems downloaded locally but can't be installed on the target server.
My Host: Windows 10
My Server: Ubuntu 64 ARM running on a rasp4
Here are my user settings (I have enabled a proxy. no diff with/without proxy):
and here are my remote settings:
and this is my windows trace logs after clicking on install button (As can be seen the extension has downloaded successfully):
and my remote server log:
Please check if your Linux kernel/version is compatible with the doc. I guess that the requirements on your server are not met. Please check them:

Cannot access headless PI via SSH after upgrading from Buster to Bullseye

Yesterday I upgraded my PI from headless Buster to headless Bullseye. I can ping my PI, but SSH no longer works. The connection is refused.
I tried to fix this problem by adding an ssh file on the boot drive. Unfortunately, ssh is not activated. The ssh file is not deleted.
Does anyone have any idea how I can solve this problem? Can I connect an external monitor to a headless installation to change the raspi-config directly on the device? A fresh installation is unfortunately not an option.

How to run windows installation of PostgreSQL on wsl?

So I'm trying to get PostgreSQL to work on my windows device. I installed it through wsl and it all works, but I hear its safer to do the windows install and run it through wsl. How do I do this? What port do i give to the windows installation of PostgreSQL? Thanks!

Can't start minikube v1.1.1 on Ubuntu 19.04

Problem with starting minikube 1.1.1 on Ubuntu 19.04:
X Unable to start VM
* Error: [VBOX_HOST_ADAPTER] start: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
I've seen this question: How to fix VM issue with minikube start ? however I'm running ubuntu 19.04, not OSX. I've also done Minikube not starting on Ubuntu, throwing errors a couple of times too.
Now, I've installed the dkms package, I've modprobed vbox-dkms into the kernel, UEFI secure boot is set up as part of the dkms installation, but I still can't get minikube to start
Anyone have any ideas where to look next or what the problem might be?
Ps. I'm running virtualbox 6.0.6_Ubuntu r129722