Most voted "ubuntu" questions
Ubuntu is a free operating system, used on desktops and servers, based on Debian GNU/Linux. Remember that http://askubuntu.com is dedicated specifically to Ubuntu issues (in English). Here the tag should only be used for PROGRAMMING QUESTIONS that are specific to Ubuntu. Desktop and shell usage issues are not within the scope of the site.
Learn more…400 questions
Sort by count of
-
0
votes1
answer395
viewsClose libreoffice Writer via terminal on Ubuntu
what command can I use to close the libreoffice Writer via terminal in Ubuntu? Thank you.
-
0
votes0
answers856
viewsUbuntu: Restrict user FTP/SFTP access to an existing folder
Consider the following situation on an UBUNTU-mounted web server: /var/www/site 1 <-- apenas root /var/www/site 2 <-- designer 1, root /var/www/site 3 <-- designer 2, root /var/www/site 4…
-
0
votes0
answers52
viewsng is used to load when it reaches 70% on Ubuntu
I am trying to run my angular application 2, but while executing the command ng serves it carries only up to 70%. Take this message back: "70% building modules 748/748 modules 0 active" I’ve already…
-
0
votes2
answers1785
viewsHow to configure virtualhost for xampp on Ubuntu
Can anyone teach you how to set up a virtualhost for xampp in Ubuntu? I’ve tried this tutorial https://ourcodeworld.com/articles/read/302/how-to-setup-a-virtual-host-locally-with-xampp-in-ubuntu but…
-
0
votes1
answer81
viewsMy Shell script does not work "word Unexpected (expecting "in")"
I have no experience with Shell Script, and I can’t figure out what the problem is with my code. #!/bin/bash echo 'Deseja alterar a data e a hora deste computador (S/N) ?' read dataHoras if…
-
0
votes0
answers232
viewsI can’t see the . htaccess file or binary files on ftp
I use a Ubuntu 16.04+apache+vsftpd instance in Amazon ec2. I cannot see the file . htaccess via ftp, but in vps it is there. What can it be? Binary files I also can’t see via ftp, will the problem…
-
0
votes1
answer170
viewsProblems with "libpq.so. 5": Wrong ELF class: ELFCLASS64 in C
I am trying to run a file compiled in c and I get the following error message: "error while loading Shared Libraries: libpq.so. 5: Wrong ELF class: ELFCLAS64" I did a search and identified that this…
-
0
votes2
answers1117
viewsError trying to install PHP 7.2 on Ubuntu
It’s been almost two days that I’m trying to install PHP, but can’t. I downloaded the package tar.xz from the official PHP website. Execution tar xJf to unpack, but when it arrives in the…
-
0
votes1
answer80
viewsWhat does this -J8 mean?
I am learning how to set up a server and came across this command -J8. I have not found anywhere an explanation of why this command. Could someone help me understand what he does? Thanks in advance…
-
0
votes1
answer41
viewsError checking Apache Cordova version
When I go to check the version of Apache Cordova on Ubuntu appears the message below. Error: EACCES: permission denied, open '/home/henrique/.config/configstore/insight-cordova.json' You don't have…
-
0
votes1
answer102
viewsHow to avoid installing Apache when installing php7.1 on Ubuntu 16.04?
I have the following code that installs php7.1 on Ubuntu 16.04: sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get install…
-
0
votes1
answer111
viewsMongodb extension for PHP 7.2.3 on Ubuntu 18.04
I’ve been running Mongodb together as PHP on Ubuntu Server 17 for some time. I recently installed a copy of Ubuntu Server 18.04 and did the same installation procedure. But even including…
-
0
votes1
answer46
viewsHow to use several sites in Ubuntu Dedicated Server?
Hello, my friends! Context: I have a dedicated server to host web applications. The root directory of it is default/var/www/html of any server. I want to host, first, a website. In the root folder…
-
0
votes0
answers138
viewsUbuntu - error trying to update packages
I am trying to update the packages and is giving the following error when trying to update sudo apt-get upgrade Lendo listas de pacotes... Pronto Construindo árvore de dependências Lendo informação…
-
0
votes0
answers38
viewsHow can I call a.py program on a server within another local.py program?
I’ve been interacting with a server within a program I’m doing using the os.system() function as if I were using the console itself. os.system("ssh [email protected] 'comando a ser realizado'") For…
-
0
votes1
answer36
viewsHow to do a git push to bitbucket programmatically using BASH on Ubuntu16.04?
I have a bash script running in Ubuntu 16.04 whose goal is to create a project (Folder) Expandable and then create that same repository in bitbucket and then push the content to the repository that…
-
0
votes1
answer168
viewsCodeigniter does not present its Welcome screen
I started learning codeigniter a few days ago and I have the following problem: I did the correct installation of LAMP and of Codeigniter /var/www/html/codeigniter But when I try to access the page…
-
0
votes0
answers38
viewsVagrant up puphpet/ubuntu1604-x64 failed
Sepre that I start Vagrant to start a project this error happens: Bringing machine 'default' up with 'virtualbox' Provider... ==> default: Box 'puphpet/ubuntu1604-x64' could not be found.…
-
0
votes1
answer286
viewsProblems when starting Mongodb
I’m starting the mongodb studies on Ubuntu 18.04. I installed it, created the dbpath folder, but when starting with the command mongo appears this error message, how can I fix? did the mongod and…
-
0
votes1
answer40
viewsEquivalent to _kbhit() and _getch() on Ubuntu
Guys, No Windows I used to use the following code: int userQuit = 0; while (!userQuit) { cout << "Algo acontece...\n"; if (_kbhit()) { char key = _getch(); switch (key) { case 32: { cout…
-
0
votes1
answer107
viewsHow to reset Ubuntu bash password from windows 10?
I don’t remember my Ubuntu bash user password on Windows 10 how do I create a new password for my user?
-
0
votes1
answer161
viewsMSSQL query on Ubuntu 18.04 LTS has stopped working
I have a program that has been running on Ubuntu-server 17 for some time. This system performs queries on a database server with MSSQL 2008. I performed the installation of Ubuntu 18.04 LTS, and did…
-
0
votes0
answers46
viewsHow to isolate an "environment" in Ubuntu?
I have the following problem: work in a place where we use a very specific image editing program that only works on Ubuntu 14.04 (the program is called Register). From time to time, the program…
-
0
votes1
answer73
viewsImap works only on CLI
The PHP imap extension works only via the command line. When calling the script from another place the return is: PHP Fatal error: Uncaught Error: Call to undefined function imap_open() When running…
-
0
votes1
answer212
viewsError connecting to Mysql with PHP and Docker
I am running the Docker and in the settings step correctly the credentials for the connection to Mysql(Mariadb), but always returns the following error:…
-
0
votes1
answer191
viewsmod_rewrite does not work on Ubuntu 16.04
I have a VPS with Ubuntu 16.04 but I’m not able to make it work mod_rewrite. By exhuming the command sudo a2enmod rewrite, I receive the following reply: "Module rewrite already enabled" But when I…
-
0
votes1
answer92
viewsError when recognizing Ubuntu SSH?
Next guys I’m with a serious problem,never happened this problem with me of ssh on linux,from one day to the next ssh key stopped working,I tried to repeat the process to make a new but still…
-
0
votes1
answer73
viewsProblem Running Watershed Distance Transform in Opencv 4.0.0
I am working on an object detection project. I use Opencv 4.0.0 and codeblocks 16.01 on Ubuntu 18.04.1. I am testing the Watershed Distance Transform technique using the code of this tutorial:…
-
0
votes3
answers55
viewsInstalar Mongodb
I’ve asked before but I couldn’t solve it, I took some time, I tried again and I’m still having trouble starting Mongodb. I removed it from my Ubuntu 18.04 computer and am installing again based on…
-
0
votes1
answer103
viewsHow to run a python script in Notepadqq?
when I press "RUN" this window appears
-
0
votes1
answer22
viewsGEOS support not enable - Java Binding GDAL
I’m trying to create a method that calculates intersection using the lib GDAL, but when calling the intersection method I get the null return with the following message on the console: GEOS support…
-
0
votes0
answers167
viewsdifficulty with access to mysql
I am trying to connect remotely to a mysql in google cloud, but I can’t. in google I created an Ubuntu vm, last version, this is my ip, this dripping normally: I configured the firewall as follows:…
-
0
votes0
answers688
viewsError: EACCES: permission denied
My environment is Ubuntu and I’m having trouble accessing files that are inside a folder that is subfolder of my project folder. Here’s the code: const httpsOptions = { cert:…
-
0
votes1
answer27
viewsSearch commands in Ubuntu 18.04 applications
I used Ubuntu 16.04 with Unity. In every application I used on the system, when I needed to use a command I didn’t know where to find, I would press the alt key and open a search bar so I could…
-
0
votes1
answer27
viewshorizontal scrolling bash window (turn off line wrapping)
I’ve searched all the forums, and in Bing/google until tired, I didn’t find anything, probably by manezice, is it possible to put a horizontal scroll bar in window bash? I saw in some places that…
-
0
votes0
answers303
viewsKyocera SNMP printer page count
I’m trying to create a script to enter my printer counts in the database. To create a file with the general total counts I use the following OIDs with the following command lines in Ubuntu: Total…
-
0
votes1
answer1188
viewsHow to leave a single version of Python on Linux/Ubuntu?
I even understand the fact that there is Python2.7, which in itself is quite annoying because every time I lower the modules to the wrong place, but when I tried to upgrade the version 3.6 to 3.7…
-
0
votes0
answers27
viewsproblem with installing Ubuntu to do dualboot with windows
during the installation of Ubuntu or even after a while using the system that is on the flash drive starts to give the error below. pcie bus error severity=corrected type=physical layer…
-
0
votes2
answers250
viewsRun . java that imports another class in the terminal
I am trying to run my program on the terminal, as it matters another class I am using the command: javac -cp ./IO.jar MeuPrograma.java The program compiles the .class. However when running with:…
-
0
votes1
answer41
viewsError starting Mysql in WSL
Hello, am having a problem starting Mysql 5.7 on WSL with Ubuntu 18.04. when trying to start the service with: $ sudo service mysql start $ * Starting MySQL database server mysqld -su: 23: .: Can't…
-
0
votes1
answer153
viewsWildcard SSL certificate in Apache 2.2 and Ubuntu 13.04
I am trying to install a Wildcard SSL certificate on an Ubuntu 13.04 server with Apache 2.2, with 3 Virtualhosts: sites-enabled: 000-default intranet.dominio.com forum.dominio.com sites-available:…
-
0
votes1
answer315
viewsAccess permissions on Ubuntu in Angular project
I’m having trouble accessing the files generated by ng new. The problem already starts that I can’t execute the command without the sudo in front. After all Angular folders are generated, the folder…
-
0
votes0
answers147
viewsVSCODE on Ubuntu with Unknown word error
I am using VSCODE with Ubuntu and after copying a program (python) that is working in VSCODE environment with Windows it presents in several lines a few words with error "unknown word" this happens…
-
0
votes0
answers158
viewsDefault Schema in Mysql
I followed the installation indicated on website mysql. After that, I installed Workbench also by following the command indicated on the official website. In college use Windows in Labs and there…
-
0
votes2
answers293
viewsPutting date and time in a backup in file . sh
I’m using a script to back up my database that I have in Mysql, I’m wondering how to put the date and time backup instead of just the date: He gets like this: alex_banco-2019-05-28.sql But I wanted…
-
0
votes1
answer84
viewsMy code for the jug puzzle is not working
First of all, I want to thank everyone who reads my call for help. I’m pretty new to the C language, and I’m pretty sure I made a mistake, and I’m pretty sure I didn’t miss that code. I spent all…
-
0
votes1
answer25
viewsClose ports that start when switching on the system
Good morning, I am using Ubuntu 20.10, I have the problem that whenever I start the computer, it is starting with certain open ports, such as ssh, http, postgresql and ipp. Are there any settings…
-
0
votes1
answer92
viewsError starting JSF application in Apache - CDI Beanmanager instance is not available in JNDI
I have a JSF + Primefaces application that runs smoothly in the development environment. But when it comes to deploying . War in Tomcat, in production, I can’t. The error in the logs is:…
-
0
votes0
answers146
viewsFailed to stop testeci.service: Interactive Authentication required
I’m trying to restart a service in the successful execution of a JOB in Jenkins. Everything works except the fact that Jenkins can’t execute the command systemctl restart testeci.service. It returns…
-
0
votes1
answer26
viewsHow to search within a file in different subfolders using grep?
How can I make a grep searching in a specific file but within several subfolders? Something like grep -R "busca" /home/apps/*/teste.php The asterisk is the indication that I want to search in all…