Questions tagged as 'linux'

2
answers

Access the site via HTTPS - AWS

I am having doubts about accessing the site using the HTTPS protocol for the domains in my hosting. I uploaded a Linux T2.micro São Paulo (Amazon ECS) instance. I have already done the procedure to acquire the certificate (ACM) and its status...
asked by 14.11.2018 / 20:53
1
answer

Error saving directory image with PHP

I made a page that administers a website that is responsible for including new lawyers in a 'bootstrap carousel'. On my machine it works perfectly, but on the server it is impossible to save the image that is loaded. I will explain: The image...
asked by 21.09.2017 / 21:00
1
answer

How to commit using command line in SVN

The folder was created empty in SVN. I need to put the content in it, but I do not want to do all the file and folder additions one by one. I'm in linux and would like to do it by command line, but I still can not, I used the commands: s...
asked by 21.09.2017 / 02:14
1
answer

Change server CRON function through PHP

Is it possible to change some CRON function with PHP or any other language? For example, I have the following non-server function: 30 15 * * 1-5 php /var/www/html/projetos/hist_06.php In this application the user would enter that they wo...
asked by 29.09.2017 / 14:54
1
answer

How to treat avariety in bash?

I'm having a problem, I'm doing a bash script to run using crontab, which syncs my ssd files with the hd and dropbox. Script: #!/bin/bash - PC_DIR="~/Programming" DROP_DIR="~/Dropbox/Programação" PC_FILES="$(find ${PC_DIR} -follow)" DROP_...
asked by 20.12.2017 / 04:40
1
answer

Mass file encoding conversion on linux

Hello, I need to do the file encoding conversion to utf-8 since the application will migrate from server. In this application I have files with several encodings in fact, some in utf-8, others in iso-8859-1 and still files in windows-1252....
asked by 22.09.2017 / 14:22
1
answer

Proxy configuration in java on Linux system

I have proxy configuration on my network, and to run run the java I need to set the proxy properties on it, this in linux. In Windows it is not necessary, it is working perfectly.    "Exception in thread" main "java.net.UnknownHostExceptio...
asked by 26.09.2017 / 14:54
1
answer

How to download the file using wget on an authenticated website?

I am trying to download a backup file that is located on an authenticated site using wget. I crawled http behavior when I login through my browser and these are the parameters: https://quire.io/login continue: s_password: fakepass s_rememberM...
asked by 01.06.2017 / 20:23
1
answer

How to change the Cartesian coordinates of files, in an automated way

I have a certain folder with several files, and these in turn, contains in its interior description of Cartesian X and Y coordinate points. However, I want to replace these points automatically and dynamically, ie use while to run all...
asked by 18.06.2017 / 15:08
1
answer

Forbidden 403 apache2 on Ubuntu

Well this is the error I'm having with my apache. I changed my apache directory to: /media/marcelo/Arquivos/Google Drive/localhost and this directory has 777 permission. Forbidden You don't have permission to access / on this server....
asked by 10.05.2017 / 00:36