Vesta Control Panel/Jenkins - amazon-web-services

do not want the port number to be part of the URL of Vesta Control Panel installed on Ubuntu 18.04 Ec2 instance
it's posssible ? if possible please suggest steps.
same as it's jenkins is on same server.
For example-https:localhost:8083/list/user to https://localhost:/list/user/

Related

How to set a remote django develop environment?

I have to set a development environment on a ubuntu machine(16.04).
It's django+postgresql+Nginx, I.think I could install all these things together on that machine,but I totally don't have any idea about how to connect it by using pycharm running on my pc, and how to manipulate the database.
Is there anyone could tell me how to connect it. This is the first time I have to use a remote machine.
By the way, my pc and ubuntu machine are in the same LAN, but there is another person who were asked to write db are not.
I hope I could get some suggestions from the community.
One of the best and common way is to use SSH.
Here you can find an official guide on how to enable SSH server on Ubuntu 16.04
You can use Putty to connect from Windows PC to your SSH server or if you're using Mac or Linux, there should be already installed SSH client. So, just ssh username#servername
Use SSH. Assuming you're on Linux, open a terminal and type:
ssh username#local-ip-address-of-machine
and then type your password when prompted. Your terminal window essentially acts as a terminal on your remote machine. From here, I suggest you research Docker in order to set up a custom environment for your Django project. I have only told you how to connect since that's your question, and there are plenty of tutorials on setting up Django and Docker. If the other person wants to connect, you will need to port forward on your router port 22 on the local IP of the machine.
If you haven't got SSH set up, this page tells you how.

Unable to connect remotely from other devices + Vorlon

Vorlon dashboard is not showing all connected devices.
I have desktop and installed a Vorlon, I am using localhost of this desktop from laptop or ipad its displays webpage but it is not showing devices in vorlon, but it show if i open from the same desktop.
I was my bad. I am using localhost:1337 to load vorlon.js. We have to use ip address instead of localhost from other machine
There can be a few different problems at play here.
First you need to find the IP address of the computer that is hosting your application/site i.e. 192.168.10.4.
start vorlon
c:/> vorlon -v
start webserver, ensure you use the same IP address found above
c:/>python web2py.py --i 192.168.10.4 -p 8000
add script tag for vorlon
Both python and nodejs have to be allowed through the firewall, so next add rules for both the python executable you are using (which could be a virtualenv) and nodejs.
Finally you need to ensure that there are no other firewall rules that match the ports or applications you use, this is critical as I had a conflicting firewall rule for nodejs that was blocking the connection to nodejs and hence the script /vorlon.js cannot be found.
Hope this helps.

Unable to setup Django in production on EC2 instance running Ubuntu 14.04

I have set up an EC2 instance with Ubuntu and able to login via ssh.
Now I have installed Apache, MySQL (worked fine) and Django also tried to configure it to run with apache. I have tried doing so with mod-wsgi but it still shows a apache default page instead of django (Congratulation ! It works) page. Can someone please provide me instructions for how to setup all this after login into EC2 via SSH.
Here is a tutorial provided by Django.
You need to make sure the apache config file is in /etc/apache2/sites-enabled/ or wherever your apache configuration files rest.
Another silly problem and this might be your issue is whenever I start a new instance of EC2 there is always a config called "000-default" already in the apache sites-enabled. This needs to be DELETED or DISABLED for apache to read from your config instead.
Hopefully this helps!
For a example check the Step 2 of this link. yum + git + pip + python requirements

Unable to access puppet enterprise web console

Hi I am beginner to puppet. I have setup learning puppet VM with virtual box 4.3.7 on win 7. Other puppet commands are running properly, but I am unable to access Puppet enterprise web console.
I have tried it using "https://ip_address_of_vm" on a web browser on win 7. I have tried to ping that ip address on command prompt, still its not connecting to it.
What should I do? Any kind of help is appreciable.
Make sure that the NIC is set to 'bridged' mode in VMWare/Virtualbox.
Also, can you ping the ipaddress?
To get mine to work, I changed my VirtualBox VM network settings to 'Host-only Adapter'.
facter ipaddress then returned a working IP.
I am running OSX 10.8.5 and VirtualBox 4.3.8

What are the necessary steps for deploying application on micro-cloud-foundry?

I want to configure the cloudfoundry environment correctly and test some small application. If any one know, please help me to configure this environment correctly and let me know any use full reference document is available for this, thanks a lot.
I have registered with cloudfoundry and got downloaded following stuffs:
1) micro-1.2.0.zip
2) VMware-Player-4.0.2-591240.x86_64.bundle
3) springsource-tool-suite-2.9.1.RELEASE-e3.7.2-linux-gtk-x86_64.tar.gz
You have everything you need. In short you will need to:
Install Ruby and then VMC or STS plugin for CF
Install VMWare player and run the micro instance within it. Basically you will open the *.vmx file in micro through VMWare player. Your machine has to support and enable virtualization for this
Do necessary configurations and validate your CF with token received online when you created account and domain
open vmc and change target to point to local CF use command "vmc target CFM_ADDRESS"
Deploy and test your application
You can follow this tutorial if it helps you: http://cloudspring.com/get-in-the-cloud-with-cloudfoundry/