Most voted "linux" questions
For SOFTWARE DEVELOPMENT issues that are specific to the GNU/Linux operating system. Mere use of shell and desktop, installation and support are not within the scope of the site. If your question is not about development or development but has nothing to do with Linux Apis or Linux-specific behavior you should not use this tag, even if you are running on Linux.
Learn more…1,005 questions
Sort by count of
-
1
votes1
answer103
viewsDocker and Nodejs
I have an application in Nodejs and need to configure the architecture of this application, I am new with Docker and need to create some containers for this application, the application must have…
-
1
votes1
answer392
viewsHow to list all files in ". ts" format of folders and subfolders to be converted to ". avi"?
I found a shell-script and modified it to meet my need and stayed like this: #!/bin/bash [ "$1" ] && cd "$1" ls -1 *.TS [ "$?" -ne 0 ] && echo 'Sem arquivos TS nesse diretório'…
-
1
votes1
answer48
viewsApplication problem read xlsx file in centos error: libgcc_s.so. 1: Wrong ELF class: ELFCLASS64
I have a big problem and I can not solve tried to look for some tips on the internet but it did not work. That’s why I’m here and I was wondering if any of you could help me. I have a web…
-
1
votes1
answer461
viewsHow to make condition receive a parameter followed by an argument
I’ve been trying to create a structure if..else with a parameter passing. See: Example $ opt-get -i pacote.tgz Yes, I’m creating something similar to tool apt-get of the Operating System Debian. I…
-
1
votes1
answer75
viewsbash program shows no data output
Good afternoon, I program in C and it’s the first time I’m programming in Bash (shell-script). I did some functions in bash, learned to call and created an interactive menu with the user, my program…
-
1
votes2
answers8830
viewsError: Failed to find 'ANDROID_HOME' Environment variable
I am beginner in mobile development and was studying IONIC, when I went to try to generate the test project apk gave the following error: WARN: Ionic.project has been renamed to Ionic.config.json,…
-
1
votes1
answer260
viewsProblem to install gcc in Ubuntu
I’m trying to install GCC in Ubuntu. When I type sudo apt-get instal gcc asks for a password, but I can’t enter the password. What might be the problem?
-
1
votes2
answers4575
viewsHow to use Sip debug in Asterisk?
In Asterisk software, it is possible to debug a phone number only? without it being peer from my server? I know there are commands: sip set debug peer 1000 sip set debug ip 172.16.0.100 similarly to…
-
1
votes1
answer1229
viewsConfigure Slim Framework and Apache 2
Hello, good afternoon. I recently hired a linux hosting service. My site uses the Slim Framework, but I’m not able to access its routes when it’s in production, but in the xampp localhost, it was…
-
1
votes0
answers68
viewsError when compiling HM (Standard HEVC) software on linux virtual machine
I followed the following steps: 1 - I created a Linux virtual machine on my Mac 2- I downloaded the HM software from the site (https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/tags/HM-16.0/) 3 -…
-
1
votes1
answer163
viewsapt - Apache2 package does not have "apache2.conf" file
I recently started using Ubuntu 16.04 I’m following this tutorial to install the LAMP. sudo apt-get install apache2 After encountering several errors, I realized that the package is coming without…
-
1
votes1
answer116
viewsAlternativa Cron Job
I need to run this cron job ***** wget --spider -O - http://dominio.com/cron >/dev/null 2>&1 But the hosting doesn’t let me use ">" , would have some alternative to this task? look what…
-
1
votes3
answers1757
viewsProblem creating script . sh to enter a directory
I am creating a script. sh that the first step is to enter a directory. 1. #!/bin/bash cd /home/salariosbrasil/consulta-ninja #git pull pwd this directory exists and yet the cd doesn’t work.. but if…
-
1
votes0
answers246
viewsHow to debug python code in Geany IDE?
I am learning python programming and for this I am using the GEANY IDE in Fedora 24. I’m loving using it, but I can’t debug my code. I’ve already installed the debugging plugin. Would anyone know…
-
1
votes1
answer185
viewsAsterisk 13 - Replacement for Agentcallbacklogin
Is there any default function to replace the AgentCallbackLogin (discontinued in Asterisk 1.4 and removed in Asterisk 1.6)? Using the Agentcallbacklogin function the agent can turn off the call and…
-
1
votes1
answer1359
viewsCorrect way to install Laravel on Linux
I’m starting on the Laravel Framework and I’m having some problems with the installation on Linux. I did the installation by Composer using the command php Composer.phar global require…
-
1
votes1
answer33
viewsDo not view Dominio my site
built a homemade server ( debian Linux + no-ip+ apache + mysql + wordpress + clud dns ). my problem is that : it accesses www.prensanuble.cl BUT when I try to access any link of the site ceases to…
-
1
votes1
answer158
viewsDebugging error on TDS 11.2 (Eclipse) on Linux Mint 18
I configured the debug with the path of smartclient.exe (use via Wine), the build works, only the debug that gives a permission error in java. Iniciando TOTVS Application…
-
1
votes2
answers351
viewsUse of Uniq
I have been researching without much success, something that in theory I believe is quite simple, however I did not find the correct command. I have a LOG file with a lot of information, but certain…
-
1
votes1
answer2597
viewsError error `while loading Shared Libraries: libcrypto.so. 1.0.0:...` when running Packettracer 7 on Receiver 25
When trying to run the Packet Tracer on Receiver 25 it shows the following error. ./PacketTracer7: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such…
linuxasked 7 years, 7 months ago Guilherme Cesar Medeiros 171 -
1
votes2
answers573
viewsHow do I change the language of Git to English on Linux?
I installed Git on my Ubuntu but it is in Portuguese. How can I change to English language?
-
1
votes1
answer203
viewsSearch with REGEX in VI
I have a regex that is valid according to the test site https://regex101.com/ , but in the vi she does not work: 2017\/04\/26 12:24:(.*)(89418644) Follow an example that this REGEX should marry:…
-
1
votes2
answers53
viewsApache problem - 2 domains
good afternoon... I’m trying to set up 2 domains on 1 server: _Debian Linux _Apache2 I created the following file: pclinx.conf , then applied a2ensite , enabled and restarted apache2.…
-
1
votes2
answers623
viewsapt-get install -y <program> What is the -y option for?
I don’t have much knowledge of linux and I got the following doubt when performing the installation of a new software on Ubuntu 16: What is the -y option for the apt-get package installer?…
-
1
votes0
answers26
viewsMaintenance of Debian Linux Offline Packages
Due to internet problems where I am living, I need to maintain a mechanism to update my linux installations without always relying on the internet. In case I need to download the packages to a small…
-
1
votes1
answer112
viewsLARAVEL - How to share images between projects
I have several projects Laravel on the same server. Often, I need to use employee photos and, as I have programmed, I copy the photos from the directory public/assets/images from an existing project…
-
1
votes1
answer49
viewsCode analysis in production
Hello, I wonder if there is any open source tool for me to analyze memory/processing usage allocated by my methods in production. I would like to know what methods need attention and improvements,…
-
1
votes0
answers237
viewsLinux script to e-mail the result of the find command
I need a help in a script to send a result by email to a search (find) and run every day at 8:00 am without using contrab on linux
-
1
votes1
answer1866
viewsHow to disable mysql password validation with Zoneminder: ERROR 1819 (HY000)
I loaded the password validation plugin in Mysql 5.7 on Ubuntu Server 16.04 to leave the system with more protection, but it seems that this plugin forces all passwords to comply with certain rules…
-
1
votes1
answer112
viewsWhy does the cd command not work via ssh on the GOCD?
I’m trying to run the command down at the terminal GOCD, but always the error occurs: Commando ssh root@host 'cd /var/www/gda-frontend/ && docker-compose up -d --build' Error bash: cd…
-
1
votes0
answers36
viewsError displaying report created with Jasper report in VPS with S.Linux
I’m having difficulty displaying the report in a hopedada application on a VPS. I added the font in the project dependency Maven, as shown below: When I try to generate the report there is error:…
-
1
votes1
answer56
viewsPreparing Linux Development Server
I am using the Debian 9 distro on my server, while searching through PHP packages I noticed that php-fpm seems to be an alias for php7.0-fpm. If I am correct, I can install my packages like this:…
-
1
votes1
answer941
viewsHow to use both versions of anaconda on linux?
Good afternoon guys, I’m studying python for projects and I was recommended to use the anaconda package. I am a linux user (Ubuntu) and have therefore installed the two packages on my system.…
-
1
votes2
answers1452
viewsPhpmyadmin gives 404 error on Linux
I followed the installation as per that link, but when I type http://localhost/phpmyadmin, gives error 404. It seems that installed correctly. Need some permission or something? I restarted Apache…
linuxasked 7 years, 3 months ago user24136 -
1
votes1
answer781
viewsHow to add new domains to Let’s Encrypt SSL certification while maintaining existing certificates?
I already have some domains using Let’s Encrypt SSL certificate. Through command certbot-auto, i install a certificate for a particular domain. For example: sudo certbot-auto --apache -d meusite.com…
-
1
votes1
answer807
viewsHow to install Java 8 32bit on Linux Deepin x86_64
sudo apt install oracle-java8 install java 64bits, someone knows how to force the installation of java 32bits?
-
1
votes1
answer133
viewsInstalling web environment with shell script
The shell script below performs some simple tasks for me, however, I would like to leave the code a little but elegant: #!/bin/bash echo "#######################" echo "Preparando servidor web" echo…
-
1
votes0
answers118
viewsCorrect path to get into a folder outside the www server using php and linux
I have a program in php on a linux server and wanted to know how it is possible to access an element that is outside the www folder. for example, I have the www folder and a folder for my project…
-
1
votes1
answer220
viewsHow to execute commands from a Ubuntu executable in php?
run in Ubuntu the following line: needle alvo.txt modelo.txt when running it displays these lines: Needleman-Wunsch global alignment of two sequences I need to enter to go as default in this: Gap…
-
1
votes2
answers71
viewsLinux / Node.js Error by Require
I got this error when I ran the file "Typeerror: Cannot read Property 'require' of Undefined" var Main = Electron.remote.require('./payment.js'); Where could I be wrong?... Confused... The so-called…
-
1
votes1
answer259
viewsConvert . log file to . txt in Bash
Hello, I wonder how I can convert a. log file generated in a container in Docker and convert it to a txt file using Bash.
-
1
votes1
answer1006
viewsHow to make HTTP access available to my apache web service on Linux
For a simple programmer we are used to creating web servers and working on localhost, my big question is, and when it comes to leaving this server online? Today we have cloud but would like to know…
-
1
votes1
answer147
viewsSlow bash script
I use a bash script to translate words from other languages into Portuguese. It always worked very well, but from a few days to here became extremely slow, to the point that I could not use it. some…
-
1
votes1
answer390
viewsHow to create a Script inside a program in the terminal?
I’m looking to develop a script to automate some repetitive tasks I’ve been doing on the terminal. However. I can only create Scripts for Commands directly in the terminal, not for commands within…
-
1
votes3
answers505
viewsRun Mysql command when starting the system
Other commands I managed to execute when Boot in the OS normally in these two ways: 1 - Creating a file .sh in the briefcase /etc/init.d/ and put the command inside. 2 - Placing at the end of the…
-
1
votes1
answer382
viewsSocket Operation on non-socket
I’m learning to program sockets but I’m having problems when it comes to exchanging messages between the client and the server, the two codes work as "should" only the problem is time to send a…
-
1
votes1
answer5830
viewsHow to run shell commands on debian startup?
I need you to call my Raspberry pi 3 for it to execute the following scripts: $cd ~/Desktop $source ~/.profile $workon cv $python raspberry.py only that, then it will already run my program…
-
1
votes1
answer241
views -
1
votes1
answer393
viewsHow to use GIT and system update right after commit
I am having a difficulty that I will illustrate to you: I’m starting to work with git right now and I don’t know much about it, but basic and intermediate commands are coming out. In my case, I have…
-
1
votes1
answer3365
viewsWrite linux bash exits to a file
I need to do some tests on the linux command line, but doing all the tests is very time consuming, someone can help me, if you have, to write code in shell script to run all the tests, and record…