Categories
Mastering Development System & Network

Runas local Administrator, while authenticating as domain user

I am facing a peculiar setup, where I need to use local administrator on a windows machine. The instructions are as follows: Shift-right-click the cmd or Powershell shortcut Select "Run as Administrator" In the resulting UAC screen, authenticate as a domain user different from the current user Do your thing I’d like to be able […]

Categories
Mastering Development System & Network

Configure a webservice as subdirectory of a domain hosted in a different server

I have a website with an hosted domain https://www.somesamplesite.com in a PC (A) with local network IP 192.168.1.10 and a service running on a different server hosted in a different PC (B) running at the address 192.168.1.25/myserver2 with no public domain. Now I want that the service on (B) works as subdirectory of the website […]

Categories
Mastering Development System & Network

Cannot create index patterns in kibana after enabling x-pack security in elasticsearch

After I enabled x-pack security and updated kibana.yml appropriately, kibana sees only its own indices .kibana_1,.kibana_2,.kibana_task_manager, all other indices are unavailable in index pattern creation menu, however I still able to see them if I go to dev tools->console and call /_cat/indices endpoint. I use builtin user elastic for both data load and for kibana […]

Categories
Mastering Development System & Network

Cannot create index patterns in kibana after enabling x-pack security in elasticsearch

After I enabled x-pack security and updated kibana.yml appropriately, kibana sees only its own indices .kibana_1,.kibana_2,.kibana_task_manager, all other indices are unavailable in index pattern creation menu, however I still able to see them if I go to dev tools->console and call /_cat/indices endpoint. I use builtin user elastic for both data load and for kibana […]

Categories
Mastering Development System & Network

How to access to external db with user?

i’m a little bit lost about how to connect to an external server db. So basically I create a user with the following query: CREATE USER ‘remote1’@’web-server-ip’ IDENTIFIED BY ‘password’; GRANT ALL PRIVILEGES ON db_test.* TO ‘remote1’@’web-server-ip’ IDENTIFIED BY ‘password’; When I try to connect from the webserver it says Database ‘db_test’ does not exist […]

Categories
Mastering Development System & Network

App engine –ignore-file not working

Depending on the env I deploy to I want to ignore diffrent files but using –ignore-file option does not work. I have tried: gcloud app deploy app.prod.yaml –ignore-file=.gcloudignore.prod –project project-id gcloud app deploy app.prod.yaml –ignore-file .gcloudignore.prod –project project-id gcloud app deploy app.prod.yaml –ignore-file=.gcloudignore.prod –project project-id –no-cache None of them worked. Am I doing something wrong?

Categories
Mastering Development System & Network

Allowing folder permissions on a Windows server 2012R2 folder under Active Directory

I have a Windows server 2012 under a domain. Users login into this server using Active Directory. There is a folder that is needed to be shared among some logged users through AD. How can I do to setup a group for them to access this folder. I am kind of new for this kind […]

Categories
Mastering Development System & Network

Randomly getting Apache test page instead of website

I have several websites on one server. They all share the same IP address but have different subdomains. I recently installed a SSL wildcard certificate. Now, out of the blue, the web call returns the Apache test page instead of the website. If I restart Apache, the problem goes away on that web site (for […]

Categories
Mastering Development System & Network

Migrate existing install from MBR to GPT without data loss

I would like to convert my current install from MBR to GPT. Indeed, I have a Raid 10 (4 x 3TB drives) limited to 4TB available space certainly due to that. Even if, I am on Ubuntu Server 20.04.1 LTS, the install is not so recent. Otherwise, my actual motherboard is UEFI compatible. In my […]

Categories
Mastering Development System & Network

NGINX frontend HTTPS server rejects requests to local backend http express server

I have an application that’s split into two servers: one is a React application running on port 8080 and the other is an Express server running on 3001. The machine running this application has to run a few other applications as well, so I set up an https reverse proxy using Nginx: ** I disabled […]