Questions tagged as 'servidor'

2
answers

What is the best way to save an image in MongoDB?

I'm developing a JS system with Node server and need to save images in MongoDB in a way that saves as much space as possible, and I'm currently converting the image to Base64 String and saving as an attribute of a document in the collection. B...
asked by 08.10.2017 / 23:50
1
answer

How to remove a user from the server? [closed]

I use a server with Ubuntu and installed Git to share code remotely. I created a Git user with the command: $ sudo adduser git What command should I use to remove a user?     
asked by 16.11.2017 / 13:30
1
answer

Differences between Cache and CDN usage

What are the advantages and disadvantages of using Content Delivery Network (CDN) and Cache and how can they complement each other?     
asked by 11.03.2017 / 14:47
1
answer

Restrict access by htaccess

I have a dedicated server separate from my site hosting, some content like image, videos, texts and etc. will be pulled from that dedicated, the problem is that I would like to restrict access to these files directly by URL, and make them access...
asked by 30.10.2016 / 15:51
1
answer

Why is this server crashing?

from socket import* Host = "localhost" Port = 255 sockobj = socket(AF_INET, SOCK_STREAM) sockobj.bind((Host, Port)) sockobj.listen(5) while True: conexão, endereço = sockobj.accept() print('Server conectado por', endereço) while Tru...
asked by 06.01.2017 / 15:25
2
answers

mysql: unknown variable 'key_buffer = 16M'

On Linux, through the command line, when I try to login with: mysql -u root -p You should receive the prompt : Enter password: But instead I get the error: mysql: unknown variable 'key_buffer=16M' Where does this error originat...
asked by 13.01.2015 / 20:06
1
answer

How to work with mirrored systems? [closed]

I would like to know the logic of working on a web system where I would have a main site and would distribute sites to franchisees in their domains. p> The entire checkout process should be done on the franchisee's site but the information...
asked by 12.01.2015 / 21:30
4
answers

Filter using only month and year in SQLSERVER

I need to mount a select, in which the filter is used only the month and year in the parameters. This is the select I'm currently using, but I need the 'day' not to influence my search. SELECT NOME_CLIENTE, COUNT(NUMERO_BILHETE) AS...
asked by 03.01.2019 / 14:45
1
answer

Select in SQL Server with index

I would like to know if it is possible to make a select in the Sql Server of a table that does not have an index column, but in this select it presents a sequential index column in ascending order. Ex. Table: Letters Coluna D E S And maki...
asked by 27.08.2014 / 17:08
1
answer

Server wildfly

Wildfly standalone <interfaces> <interface name="management"> <inet-address value="${jboss.bind.address.management:127.0.0.1}"/> </interface> <interface name="public">...
asked by 24.04.2018 / 20:52