How to install Open edX offline (without internet) - openedx

I want to install Open edX, But I don't have the internet on a production machine. Can I install Open edX offline (without internet)?

You can install OpenedX via Bitnami - https://bitnami.com/stack/edx
You can download the installer on a machine having internet connection and then transfer it to your production machine and run it there. That should work.

Related

RDP printer redirection doesn't work from Windows computer, but works from Mac

I have 1 Mac and 1 Windows.
From the Mac, using Microsoft RDP, I connect to a Windows Server 2019 and I can see my local printer (redirected) in the Windows server. I can print without any problem.
From the Windows, using RDP, I connect do the same Windows server and I don't see my local printer.
Notes:
I configured both RDP to enable local resources (printer)
I didn't install the printer driver in the server. Since I can use it from the Mac, I conclude that I don't need to install it in the server.
Any idea why I can't see the local printer from the Windows computer and how to fix it?
Thanks!

unable to connect google coral using OTG port

When I'm running google coral using serial port I'm able to run demo apps but when I'm trying to run
google coral using data port (type c cable) I'm unable to connect with a dev board
rahul#ubuntu:~$ mdt shell
Waiting for a device...
Connecting to wishful-yarn at 192.168.101.2
Key not present on wishful-yarn -- pushing
It looks like you're trying to connect to a device that isn't connected
to your workstation via USB and doesn't have the SSH key this MDT generated.
To connect with MDT shell you will need to first connect to your device
ONLY via USB.
The problem is caused by the PyPI package mendel-development-tool itself. This error is raised by the 'NonLocalDeviceError' exception as can be seen in line 83 of command.py in the code of the package. Whenever the IP of the device does not start with 192.168.100, this exception is raised by sshclient.py (in line 86). This worked for the last Release of Mendel Linux (chef), since the IP address of the usbnet connection was 192.168.100.2. In my case the new Release of Mendel (day), which came lately in November 2019 had the IP 192.168.101.2. To check the IP check the output of
mdt devices
If you installed the package using pip3 as user, like it is recommended by the documentation (pip3 install --user mendel-development-tool), this can be fixed by a quick local patch:
Open the file in your favourite text editor
vim $HOME/.local/lib/python3.6/site-packages/mdt/sshclient.py +86
Replace line 86, which is
if not self.address.startswith('192.168.100'):
raise NonLocalDeviceError()
by the following code
if not self.address.startswith('192.168.10'):
raise NonLocalDeviceError()
Most likely the authors might update the PyPI package to this solution, since the master branch of command.py already has the proposed code. Once the package has been updated you just have to update it on your host.
pip3 install --upgrade mendel-development-tool
The issue is google coral dev is connecting to WIFI also.
First you need to delete the wifi in google coral using nmtui --> edit connection --> delete.
Then connect your host computer to google coral dev board through USB C OTG data cable.
Through serial console to devboard, delete the contents of the /home/mendel/.ssh/authorized_keys
reset the mdt service in google coral devboard using mdt-keymaster
sudo service mdt-keymaster restart
Delete the mdt key in your host computer through rm ~/.config/mdt/keys/mdt.key
Correct the IP issue in NonLocalDeviceError as above
Then try mdt shell
if nothing working, reflash the coral board by using below procedure
Connect your dev board via serial cable and login [Ist terminal].
Once login hit sudo reboot-bootloader to put devboard in fastboot mode.
Open 2nd terminal and perform below steps to flash mendel linux
cd $HOME/Downloads
curl -O https://dl.google.com/coral/mendel/enterprise/mendel-enterprise-chef-13.zip
unzip mendel-enterprise-chef-13
cd mendel-enterprise-chef-13
bash flash.sh
Once Flashing the board complete shutdown google coral sudo shutdown now
Connect devboard again, then follow the previous steps 1-5 again.

cannot connect: com.github.dockerjava.api.NotFoundException

I am trying to use the new feature of PHPStorm, which is to develop PHP app using docker.
I have installed the docker integration plugin for PHPStorm, when I try to define the Clouds settings, I get this error:
cannot connect: com.github.dockerjava.api.NotFoundException
I have checked the app, and its running in the browser normally at:
http://192.168.99.100:8090/
I didn't specify the certificates folder, as I am using http not https locally.
Any idea? I am on windows 10, I have installed jdk-7u79-windows-x64, I tried both 32, 64 versions, I got the same error..
Although the machine is up and running..
Try that:
The fastest way to connect is via ssh to the interpreter(Like vagrant):
Follow: https://hub.docker.com/r/jorge07/php7-xdebug-ssh/
Once machine is up:
Add remote interpreter:
Languages & frameworks > PHP
(Note that php executable in on: /usr/local/bin/php)
Now add a sftp service:
Build, Execution, Deployment > Deployment
Connect to machine by ssh and map your code folder with the /app folder on interpreter container.
Once you finish, you are done. Good luck!

Is it possible to run my local activedirectory powershell module against a remote dc?

I have completed all the prerequisites for getting remote connection etc. Everything is in place. I am logging in from windows 7 with rsat installed. The server is 2008 NOT R2. I can remote in successfully over https, but how do i get my local activedirectorymodule to be run against the remote server?
PowerShell ActiveDirectory module depends on Active Directory Web Services (ADWS). It's ships with Windows 2008 R2 (and latter) but can also be installed on older DCs. The name of the package is Active Directory Management Gateway (ADMG).
In my experience: if you want to use AD module against selected DC/domain, the best option is to create PSDrive that will point to this server/ domain:
New-PSDrive -PSProvider ActiveDirectory -Name MyAD -Root '' -Server YourDC
Once you cd into this drive, any command you will run will target selected DC.

Can you install Silverlight 3 Tools on Server 2008 (64bit)

I have been able to install 'VS2008 SP1' and 'VS2008 Tools for Silverlight' on my Windows Server 2008 development machine, but I have not been able to install the MSI for 'Silverlight Toolkit July 2009'. The install fails with the following:
"The system administrator has set policies to prevent this installation"
I am a local admin on the box. I have seen something similar when try to to 32-bit MSI on a 64-bit machine. Is that the problem that I am having?
I don't think that you need to install the SL toolkit on the server. At least, we haven't had to. We're using 64-bit Windows Server 2003, and any required Silverlight DLLs, etc., just get included in our .xap file, and get downloaded by the client when it downloads that file. All the server knows is that it's got to pass the .xap file down to a client when it requests it. The only thing that any server-side process might need to know about is the System.ServiceModel.PollingDuplex.dll (if you're using duplex WCF services), but if you simply install the SL 3.0 SDK on your dev machine, and then reference that DLL from your WCF project, it'll get included with your WCF project when you roll it out to the server in question.
The only reason you'd need to install those things on the server is if you're planning to do development on the server, which I suppose you might want to, but certainly isn't normal :-).

Resources