Questions tagged as 'linux'

0
answers

Amazon AWS and timeout problem on ssh connection

I created an account in AWS EC2 and started an Ubuntu instance following Amazon's own tutorial, I created the key pair, the elastic ip, I created the security group and configured everything correctly, but every time I try to access via ssh I ge...
asked by 27.10.2017 / 21:37
0
answers

Ubuntu: Restrict user FTP / SFTP access to an existing folder

Consider the following situation on a web server mounted on UBUNTU: /var/www/site 1 <-- apenas root /var/www/site 2 <-- designer 1, root /var/www/site 3 <-- designer 2, root /var/www/site 4 <-- designer 1, root Meaning that...
asked by 29.10.2017 / 20:04
1
answer

Problems with installations in Raspian

I have a problem, I can not install any packages in raspian, the following error appears:    Error: missing server' JVM at / usr / lib / jvm / java-8-openjdk-armhf / jre / lib / arm / server / libjvm.so '.   Please install or use th...
asked by 13.11.2017 / 13:13
0
answers

Error connecting a postegresql database to Laravel

I'm having a problem when using Laravel with postgresql on Linux, when trying to connect to the database it says that I do not find the postgresql driver, I already enabled postgresql in php.ini like this: extension=pgsql.so extension=pdo_pgsq...
asked by 09.10.2017 / 05:41
0
answers

Code with Sockets locking in the middle

Because of college networking stuff, lately I have had experiences to learn how to deal with sockets in C. But today, trying to develop a candle game to practice, I had a rather peculiar problem. Apparently, the code I wrote does not have any syn...
asked by 07.10.2017 / 03:10
2
answers

How do I know which port my arduino board is connected to on Linux?

I'm working on a project with Arduino and found an example of how to connect the pc to the board. However the example was developed in Windows and the port in which the device is connected is informed. In the case of Windows would be the COM por...
asked by 19.09.2017 / 02:00
0
answers

Cron input to call laravel scheduler not working

I'm starting now with laravel, I put a test project of it along with mongodb on an amazon server, but after that I enter the following unique entry "* * * * * php / path / to / artisan schedule: run > & dev / null 2 > & 1 "in CRONTAB a...
asked by 03.09.2017 / 01:01
0
answers

Duplicate paths in the $ PATH environment variable

I have noticed that the paths I add to $PATH in my .bashrc appear duplicates when I open session in tmux (terminal multiplexer): export PATH=$HOME/miniconda3/bin:$PATH export PATH=$PATH:$HOME/Devel/bin If I print $PA...
asked by 28.08.2017 / 05:22
1
answer

How do I make a program in C generate an executable binary? [closed]

Hello, I wanted to know how I can for a program in C to generate another executable binary eg: binary elf x-elf.bin when executed creates another executable binary y-elf.bin     
asked by 23.08.2017 / 05:44
0
answers

Serial Communication PHP - linux

Hello, I made a php code for serial communication, this code worked on windows correctly, however I'm having problems with it in linux. To get the communication done, I need to use the -stty -F / dev / ttyS0 19200 -icanon command. If I do not us...
asked by 17.08.2017 / 16:38