How to install minikube cluster without default images? - configuration

After the creation of minikube in my local machine. I see that the images created by default are the following.
I went trough the documentation and saw that we can provide some configuration that we can use in conjunction with this images. But I don't think I am using so many of this images.
May be for internal purposes some of this images are needed, but what if I don't want to have the dashboard for example?
https://kubernetes.io/docs/setup/learning-environment/minikube/#configuring-kubernetes
How can I start a minikube cluster without those images that are not required?
Thanks for the help

Images for addonManager, storageProvisioner, dashboardFrontend and dashboardMetrics
come from [minikube github repo] and are being added to a list of images to be pulled in this line.
As you can see there is no flag to disable pulling these images at minikube startup.
They are called auxilary images as they are "images that are helpful for running minikube" - according to comments in code.
So the only way to exclude those additional images from minikube startup is to remove those lines and compile modified code.

Related

Utterly confused. css not modifying html

I have no idea what is happening. I don't even know what information would be relevant, so please ask me anything you think could be related. The problem: I write a html script and css to modify it. I put the files on my webserver (Apache2 running on Ubuntu 22.04) and they work perfectly. I can modify the css script (e.g. changing font sizes, margins etc.) and the changes show up on the corresponding html. Yet, if I leave the laptop alone for an hour or so (not changing a thing), and I modify the css script it has zero effect on the corresponding html. It's as if no changes have been made. I can delete the files, write them over again and they work fine; leave it alone for a period of time and it no longer works. This holds true for all my html/css files. All help is greatly appreciated. Thanks.
I tried restarting Apache, restarting the laptop, rewriting the files, renaming the files, moving the files. No matter what I do, after a period I can no longer modify the html with css.
The first step would be to identify the source of the issue. This can be done by checking the Apache server error logs, as well as any other relevant logs from the Ubuntu OS. The error logs may help identify the root cause of the problem, such as a configuration issue or a software bug.
Once the source of the issue is identified, the next step is to attempt to troubleshoot the problem. This could include checking the web server's configuration, ensuring the correct permissions are set for the HTML and CSS files, and ensuring the server has the correct modules installed to support HTML and CSS.
Additionally, it may be helpful to check the browser's cache to ensure the HTML and CSS files are being served correctly, as a cached version of the page may be loading instead of the updated version.
Finally, it could be helpful to test the same setup with a different web server, such as Nginx, to determine if the issue is with the server or something else.
Ultimately, the devil in the details may be something as simple as a configuration issue or a software bug, or it may be something more complex such as an issue with the browser's cache. Identifying the root cause of the issue will be key to resolving the problem.

Can not access file in ipfs

In my ubuntu 18.04 ipfs desktop client i have uploaded a file. But can not access the file with link, which i obtained from Share link option.
Here is my shareable link.
I can not access the other file too, link.
why is this happening?
To keep a file available in the Peer2Peer IPFS system the file mus have been pinned. Remember to pin the files you want to keep available even when your computer is not Peering the file and for longer times.
I'm new to IPFS and found your Stack Overflow question when trying to figure out how to solve the same problem. In my experience I had uploaded a File in the IPFS and it had been reachable over the share link for a period of time until today when it wasn't.
So, after some research I got it working again when I pinned the file. This Medium article was a good read. In the screenshot you provided I can see that only one of the files are pinned, not the one you shared the link to. Most likely the problem will be fixed after you pinned it. This can be done through the client or Terminal commands (see the medium article to learn more about those).
Best of luck!

Website hack line appearing on wordpress homepage

Helping a friend's company with their website. They have a random bit of code appearing on a bar near the top of what looks to be just on the homepage:
http://snakeoilcocktail.com/
The line is here according to the source:
<div class='dc'>You take that to bank:same day loans. Buy there a atv armor set</div>
I used a plugin to do a String check to find out where the line is but I can't see where it's located to edit it. Any help would be greatly appreciated.
Thanks!
Looks like there's some malware injected on the site. In the top navigation under "Beverage Catering and Event Mixology" there's what looks like some malicious JS code that's adding a div with a class of "dc". Not sure what your setup is, but I'd advise checking into this plugin: https://wordpress.org/plugins/sucuri-scanner/
It'll tell you if any of the core Wordpress files have been hacked, or if it recognizes any files that aren't part of WP.
They have a free quick scanner, check this out: https://sitecheck.sucuri.net/results/snakeoilcocktail.com/
Revolution Slider is a big risk :) (Note the comment on Sucuri) It's supposedly been patched but they ran into a huge security issue where thousands of WP sites were infected. Happened to a couple of sites I took over as well - I completely removed it.
In other words, if you have to keep the Revolution Slider plugin, update it ASAP. It introduces a vulnerability that allows hackers to upload arbitrary files to your site - bad news. They often upload something that gives them read access to the wp-config.php file so they can get into the database as well. (http://securityaffairs.co/wordpress/35431/cyber-crime/revslider-plugin-vulnerable.html)
It has to be somewhere! So either one of your plugins is outputting that code or it has been hacked into your theme.
First, try to deactivate all the plugins one after each other to find out if a plugin causes that issue. If that doesn't help, you may need to go through each file in the theme until you found the target. Also notice that the code could look different in a file than the code which you have posted in your question.
Your website must gave been infected with a malware/adware of some sort. This usually happens when you are using a free hosting service. Check whether your friend is using a free hosting service to host his website. Some of those providers inject advertising content into free hosted websites to make revenue.
If this is not the case,
Restore to previous backup
Disable any plug-ins used on the website
Check through the code for any suspicious lines.
Delete all the files on the web server if possible and try re-uploading
the source files.
Migrate to a hosting provider such as goDaddy, AWS etc for security of
your website.

How can I customize Hue for Hadoop

I am using the web UI Hue with Hadoop for the purpose of giving users ability to browse and download data. However, I do not want all the functionality of Hue, we have no need to provide capabilities to write queries, browse tables or make changes to the file system. Therefore I would like to make changes to the Hue UI to remove the unnecessary options.
My question is where can I find the files which Hue uses to serve content (i.e. the HTML, CSS, JS). I tried a "find . -name *.html" in the Hue installation directory and couldn't find anything. I am using MapR Hadoop and the installation directory is at /opt/mapr/hue/hue-3.6.0. Does anybody know where I can find the files I need to edit to customize Hue, or how I might be able to find them?
These blog posts documents how to just disable some apps:
http://gethue.com/solr-search-ui-only/
http://gethue.com/how-to-manage-permissions-in-hue/
For developing you could start with:
http://cloudera.github.io/hue/docs-3.7.0/sdk/sdk.html
http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/
I have found a solution that serves my needs partially, will probably prove useful to others. A Hue admin can set up permissions on a per group basis for the various apps in Hue. We can provide access to an app but we can't say it should be read-only, but it's a good place to start. More info: http://gethue.com/how-to-manage-permissions-in-hue/

Is it possible to use Lightroom to upload images to a server?

So what I want to know is whether it is possible to upload images from lightroom via FTP to a server? Each client will get it's own folder and a login and password to view the images. I was hoping lightroom had a nice program that laid out the images nicely and allows password protection and also allows the option to give the image a title.
Is this possible to do? If so, can anyone point me in the direction of some resources showing how to do so? Thanks!
You can find the latest Lightroom 4 SDK at: http://www.adobe.com/devnet/photoshoplightroom.html, which still contains the FTP plugin that #mattcawley referred to.
Adobe used to provide an FTP plugin via their downloadable Lightroom SDK but I'm not sure if this is still the case. However, there are third-party plugins that will do the job equally well.
For example: http://www.presetsheaven.com/2009/10/27/export-to-ftp-with-lightroom/
check out the built-in web galleries - they are easy to use and if they are not enough you can install additional even better ones - you might be interested for example in http://fonto.pl/fontogallery.html - it has the basic feaures you may need