Configuring Plesk panel on Google Compute Engine - centos

I am trying to configure Plesk panel on Compute Engine running CentOS.I am very new to all this, so I'm sorry if this is a stupid question! After the install, I can't access my Plesk panel. I understood from the documentation that I could access it by navigating to myipaddress:8443. This does not access any web page. Does anyone have an idea what I'm doing wrong? Thanks so much!

1) From the developers console, click on your application that has the google compute engine instance installed on it.
2) Click on Compute (left menu)
3) Click on Networks (left menu)
4) Click on the default IP at the top of the page
5) Under firewall rules, click new
6) In the popup enter a name (i.e. open my ports)
7) In PROTOCOLS & PORTS enter tcp:8443
8) Save and you're done!
Note: If you want to add extra ports, like ftp access, enter tcp:8443,21

Related

Disabled touch-ui but unable to find sidekick when i switched to classic-ui

Is there any way that i can do it for whole site?
For individual user instance, Go to user account settings > Preferences > Author mode, select classicUI
more info here: https://docs.adobe.com/docs/en/aem/6-3/author/author-environment/user-properties.html#Account Settings
Alternatively, to have all users of an AEM instance use the Classic UI by default, start off by going to the AEM Web Console Configuration (/system/console/configMgr). Make sure you’re signed in as an admin and do a find for “WCM Authoring UI Mode Service.” If the service is not visible, click on the OSGi button at the top followed by Configuration, and then do another find. Click on “WCM Authoring UI Mode Service” and change the “Default authoring UI mode” to “CLASSIC” (or back again to “TOUCH,” depending on what you want to do). You must enter “CLASSIC” or “TOUCH” in uppercase letters or an error message will show up when opening a site. Changing this setting will make the chosen UI the default for all sites of the AEM instance. When opening a site with /siteadmin, or /sites.html/content, the site should now open using the Classic UI. This should be the case for all users.

How do I publish just 1 HTML file in author instance of aem server?

I want to create a simple HTML file
/content/1.html
in the author instance in the aem server and publish it. How should I publish it - either through the UI or command-line is fine?
Two options for easier, to handle from browser itself,
1) Go to tree activation page and select the page path which you want to activate and click on the Activate button use the check boxes ( Only Modified, Only Activated, Ignore Deactivated) according to your need,
2) Go to crx/de console select the page that you want to activate under the content node. use the right side Replication Tab Replicate button to replicate the node.
Note that when using this node level replicate action you need to
activate all the child/individual nodes that are required to your page
content.
There are several other ways of doing replication by code, CURL, etc. as which one to use depends on your comfort levels.
package manager Image
Simplest ways are already mentioned above but i am mentioning one more way .
check it out if you are more comfortable with it.
You can replicate it or publish your file using Package manager.
1.Goto http://localhost:4502/crx/packmgr
2.Goto your package[/content/1.html] and edit it.
3.Save it and choose the replicate option under the more tab.
In the page side kick, you click on properties then "activate"

How to search through all the ajax responses in network tab in Chrome?

How to search through all the ajax responses in network tab in Chrome?
I want to do this is because it is difficult for a JavaScript developer to get to know which information is coming from which service call, especially if you are new to the project and business logic is not clear. Also, opening each service in a network tab and searching in responses of so many service calls is difficult and time consuming.
This has now been implemented on the Network tab. Whenever a search criteria is added, Chrome will offer searching through all headers and bodies.
More from offical doc,
Open the Network panel then press Command+F (Mac) or Control+F (Windows, Linux, Chrome OS) to open the new Network Search pane.
This is similar to another question this morning to search json responses. The solution is the same, star this issue this issue. Starring is triggered via the star icon in the far left area of the blue title are just under search.
Starring issues let's the developers know what people need. The more stars something has, the more likely it is to get worked on sooner.
Currently this functionality is not provided and extensions are unable to add this type of functionality since the network panel isn't extensible in this way.
In Firefox you can save all the responses as a HAR file and then search through the file in a text editor (Chrome truncates the responses).
Inspector of Microsoft Edge browser offer such feature. Useful when you need to search through traffic made by an HTTPS web site that Fiddler cannot inspect (like Facebook web site).
There doesn't seem to be a way to do this in Chrome or Firefox. My solution has been to use Fiddler, which does support it.
Edit: I believe this was working for all resources at the time of writing, but please see comments because people say it is not/no-longer working as expected.
As of Chrome version 91, if you want to search through all resources (not just AJAX/fetched resources), then you need to open DevTools and then press Ctrl+Shift+F to open a search box. If you just type into the "filter" text input then it only searches through the URLs, rather than also searching the contents.

Use fiddler only for some processes

I was wondering if I could use Fiddler2 on only some processes instead of all applications which use system proxy settings. I know there is a filter option in Fiddler2, but as far as I know, it only hides information and the traffic is captured anyway.
There is a "Any Processes" button on fiddler toolbar. Drag the icon to a window to show traffic from only that process. Click the icon again to cancel the filter.
This is the best and simplest way to filter by process.
Or, in File menu, don't check the "Capture Traffice" item. Then set proxy in your others applications which need to be captured by fiddler.
If you capture HTTPS, open the https config dialog(Fiddler Options >> HTTPS), you'll see a list box with these list items:
...from all processes
...from browsers only
...from non-browsers only
...from remote client only
Here is a video which shows you how to filter by processes in fiddler. Towards the end of the video, you can learn how to filter by browser or even the tab of a browser.
https://www.youtube.com/watch?v=qZYl3a60-Uc
Steps (Fiddler 4.3x) -
Fiddler > Filters Tab
Use filters - check it!
Client processes : Show only Traffic from - check it! > Choose your process (a browser or tab in browser) from the adjacent drop down menu.
Actions button > Run filterset now - click it!
Done !
To use Fiddler for capturing traffic from a specific process/Application fiddler has provided a option - "Any Process"
Steps :
Open/Launch the application which you want to monitor.
Select "Any Process" option and Drag it to the you application.
Now you have restricted Fiddler to capture the traffic from a specific Process/Application.

How would I show an HTML page in Eclipse at Design Time?

When I'm writing crappy code in eclipse and I'm looking at a website for help I am constantly flipping back and forth between the browser and eclipse. To help me write crappy code faster is there a way to have a View that has a web page in it? I need to be able to set the URL and if I'm navigating around the site have a button to have it return to the original URL. So a URL Address box and 1 favorite link.
BTW I'm not a Eclipse plugin developer.
menu: window / show view / other ...
enter browser in the search box on top
select internal web browser
i would recommend you to install the web development tools
menu: help / install new software
select the software site for your eclipse installation (in my case it's "Helios - http://download.eclipse.org/releases/helios")
enter "web" in the search bar (and wait a little bit) and select "Eclipse Web Developer Toos" and "Web Page Edtior (Optional)"
Just open your HTML file with web page editor. This will open in view where you can view the html code as well as the design it is going to create at run time.