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
-
3
votes2
answers278
viewsStarting GIT from Terminal
I’m trying to give git init to the terminal and when I type in this command it accuses that the 'config' and '.git' folder already exists, etc. Also when I try to use git add * it takes time to add…
-
3
votes1
answer891
viewsHow do I update C++ to C11 on Ubuntu 14.10?
How can I upgrade the version of C++ to C11? Details: Ubuntu 14.10 32b GCC 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
-
3
votes2
answers300
viewsCreate virtualhost in windows (apache in Ubuntu)
I’m trying to set up mine apache to access a folder in my HD with windows, have 2 hds on the machine, a ubuntu and the other the windows. The apache already installed, including I have created the…
-
3
votes3
answers1056
viewsRedirect "dominio.com.br" to "Subdominio.xyz.com.br"
I have a redirect/pointing problem and I believe it is some incorrect server configuration. I have a VPS (digital Ocean) running Ubuntu14 (terminal) with Apache, PHP5, Mysql. I have full access to…
-
3
votes1
answer956
viewsHow to run my project Phonegap Cordova on a mobile with Android 2.3.6?
Hello I am developing a game with Html5 and javascript as tcc. I’m using Cordova to generate versions for different platforms, I have several Androids to test the project, but I can only do it with…
-
3
votes1
answer418
viewsProblem when creating Android Studio project on Ubuntu
I installed Android Studio, but when I create a project or open an existing one appears the following message: Error:Could not determine Java version using Executable…
-
3
votes1
answer107
viewsHow do I run Ooo4kids on Ubuntu?
Ooo4kids is no longer developed and when trying to run on Ubuntu (from 15.04) I get the following error: /usr/lib/ooo4kids-1.3/program/soffice.bin: /usr/lib/ooo4kids-1.3/program/> ..…
ubuntuasked 8 years, 8 months ago Pedro Martins 31 -
3
votes1
answer10517
viewsFolder permission /var/www/html
I installed Apache, Mysql and PHP. But when I try to create phpinfo to test PHP in the folder, it gives permission denied. I already signed as root and ran the chmod 777. but continues to give…
ubuntuasked 8 years, 1 month ago Rafael Dias 35 -
3
votes2
answers1773
viewsHow to make code include in Shell Script files
How can I perform the following process: Add the arquivoa.sh and arquivob.sh in the arquivoc.sh, and then perform the defined functions within each file archivoa.sh #!/bin/bash echo "Arquivo A"…
-
3
votes2
answers159
viewsnodejs installation on Ubuntu
In ubuntus the Node.JS package was renamed to nodejs pq already existed another Node package. How do I make npm understand that nodejs is already installed on the system, but the name of different?…
-
3
votes1
answer84
viewsMy php system is working on Windows but is giving error on UBUNTU
I’m using auto-load PSR-4. The error is as follows: Fatal error: Uncaught Error: Class 'App Models Bll Professor' not found in /var/www/html/unaprojetos/App/Controllers/Professor.php:12 Stack trace:…
-
3
votes2
answers2549
viewsHow to set Python 3 as default in linux?
When I type the command python, Ubuntu runs Python 2.7. However, in the new versions of Ubuntu, Python 3 is also installed. When I run python -V, appears "Python 2.7.12", but I would like to use the…
-
3
votes1
answer810
viewsHow to run linux desktop application remotely via command?
I have a server on a client where I use a remote application, sometimes some user goes there and closes the application (I don’t know if unintentionally or the owner, for fear), so I can’t connect.…
-
2
votes1
answer156
viewsCakephp via Shell returns error: class Helloshell could not be Loaded
I configured and installed everything with respect to Cakephp to use via command line in Ubuntu. I created and saved the following: class HelloShell extends AppShell { public function main() {…
-
2
votes3
answers579
viewsDelete . bashrc, . bash_profile and . profile files: what are the consequences?
I’ve been trying to install the Ruby and the Ruby on Rails through the RVM but during the installation process I had some problems. I tried to uninstall the RVM through the commands : rvm implode…
-
2
votes1
answer224
viewsMy site loads different pages on different Operating Systems
I’m going through a very strange problem. When using Windows (Windows 7), my page loads as expected: @extends + index.php Already on Linux (Ubuntu 13.10) it is redirecting me to the route…
-
2
votes2
answers601
viewsProblem with friendly url
I am facing problems with friendly url on my website. My requests loop if I do this: RewriteEngine On Options +FollowSymLinks RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ sessao.php If I…
-
2
votes3
answers474
viewsGetting Output Terminal History on Ubuntu
Is there any way to get Output History from the Ubuntu terminal? Like a log of everything that rolled into a terminal?
-
2
votes1
answer136
viewsPHP Mailer or postfix redirecting to gmail?
I have an Ubuntu (LAMP) server and I need to send emails via PHP, but using my gmail account, I don’t want to have an email server of my own. I need to define one of the two ways below to do this:…
-
2
votes1
answer142
viewsDoesn’t Crontab kill the lawsuits after they’re done?
I’m using the Crontab to run a PHP script every 10 minutes the problem is that the processes are running on the server, that is to say every 10 minutes I have another process running. crontab -e */5…
-
2
votes1
answer964
viewsUbuntu Server 12.04 rcuos processes
Good morning People, I noticed that after updating the packages of Ubuntu server 12.04 the number of processes increased dramatically, running a ps Ax I found this list of processes I had never seen…
-
2
votes3
answers1147
viewsUpload to another server error
I am trying to record some images on another server pointing the IP and the folder, in my PHP code I pointed the path of the folder $_UP['pasta'] = '\\\\172.23.25.4\\\manutencao\\';and the following…
-
2
votes2
answers894
viewsProblem with SUDO "must be setuid root"
So I think the title is self-explanatory. I’m beginner in Linux, I went to try to install Steroids (testing environment for hybrid APP’s) following this tutorial (the second, installation), and now…
-
2
votes1
answer325
viewsphp script without permission in root document
I would like to create a log with information from visitors to the page, but the script is not writable. How to proceed? PHP Warning: fopen(log.txt): failed to open stream: Permiss xc3 xa3o denied…
-
2
votes1
answer121
viewsCreate an ALIAS for a . /configure File?
I cloned the Github repository, and to execute the command I always need to type, . /directory name/vv I imagine that this "file" is of the Linux CONFIGURE type, correct? I wonder how I create an…
-
2
votes1
answer2049
viewsHow to install older versions of PHP below php 5.5?
I heard that in the Ubuntu contains packages already available for installation, well, I confirmed and really it’s true, I just installed that came with php5.5, I need the php5.2.17, for…
-
2
votes1
answer701
viewsAccentuating problems on the most up-to-date server
I have 2 servers with the following settings: Server 1: PHP 5.3.10 Apache 2.2.22 Mysql 5.5.43 Ubuntu 12.04.5 LTS Server 2: PHP 5.6.9 Apache 2.4.7 Mysql 5.5.43 Ubuntu 14.04.2 LTS I’m using the Yii…
-
2
votes2
answers2244
viewsWhat is the right way to save images to a server?
I know the answer to this question is not exact, but I am asking because of alerts I received from a client’s hosting (media temple - DV Developer) The system I developed saves the images as…
-
2
votes3
answers1614
viewsHow to increase session time in phpMyAdmin on Ubuntu?
When I’m developing a system, I usually leave my phpmyadmin open. Then, when a while goes by, this message below appears: How can I set up my phpmyadmin so that I can increase that session time (or…
-
2
votes1
answer4332
viewsOpen project with Localhost - Ubuntu
I’ve searched all day and I’ve asked a lot of people for help but I can’t find what I’m really looking for. I need a step-by-step tutorial on how to open a project with apache on Ubuntu. apache2 is…
-
2
votes1
answer106
viewsHow to install Magento in virtual host?
I’m trying to install Magento on my localhost using virtual host (so it can work) but even I’ve already created the file on /etc/apache2/sites-available with the name magento.conf with the code:…
-
2
votes1
answer2597
viewsHelp with installing Ionic Framework for Mobile Development
To install the nodejs more clearly, I followed the example given through the site below, in the error note below, says that the version I am using is: 0.13.0-pre…
-
2
votes0
answers64
viewsError installing libapache2-mod-Passenger on Ubuntu
I am unable to install libapache2-mod-Passenger on Ubuntu. I tried this command: sudo apt-get install libapache2-mod-passenger But returns the following error: Action 'configtest' failed. The Apache…
-
2
votes1
answer1638
viewsHow to set up github in Ubuntu?
Now that I’ve finished my final project on C and delivered at the end of that first semester. I’m trying to configure and post my project to github. I followed a video lesson and got configurar one…
-
2
votes3
answers2082
viewsAfter "apt-get dist-upgrade" command, PHP 7 was installed. How to go back to 5?
I use Ubuntu 14.04. And when I went to execute this command apt-get dist-upgrade here on my machine, he installed PHP 7. I’ve already removed PHP 7 like this: apt-get purge php.* But when I do so:…
-
2
votes1
answer501
viewsError installing Mongo-hack on Ubuntu 14.04
When installing Mongo-hack on Ubuntu the following error is being generated: npm install -g Mongo-hacker | [email protected] install /usr/lib/node_modules/Mongo-hacker make install cat config.js…
-
2
votes2
answers58
viewsError using alias and read in Shellscript
I’m trying to create a command on. Ubuntu bashrc, however I’m having a problem, I’m trying to create a folder with the variable typed when calling the alias, but it’s giving error. When I open the…
-
2
votes1
answer311
viewsInstall ASP.NET 5 on Linux
I read some news that it is possible to install ASP.NET 5 on Linux. Would someone please have a nice tutorial that could help me with this? I would like to install on Ubuntu.
-
2
votes1
answer106
viewsHow can I use Django 1.9.6 within my virtual environment?
I’m trying to use version 1.9.6 of Django in the virtual environment 'myvenv' that I created through the Ubuntu terminal, but even after having done the installation through the command pip3 install…
-
2
votes1
answer577
viewsHow to communicate between java in Prolog?
Good morning! I need to develop an expert system as a college job. I thought of doing it using java to create the interface and Prolog as the engine of inference and basis of facts. But the links I…
-
2
votes0
answers145
viewsInterface between python and Prolog
Good morning. I need to make the communication between Prolog and Python. I ended up finding a pySwip api that interface between these two technologies, but I can’t make it work because Prolog needs…
-
2
votes1
answer410
viewsRun Rails commands on the Ubuntu terminal
I’m learning Ruby through an Alura course and I have a question. Every time I want to execute a Rails command, for example startar the server with the command rails server the following error occurs…
-
2
votes2
answers5400
viewsMysql not connecting connects by socket error
Good afternoon friends, after having correctly installed Mysql 5.7 on my Ubuntu 16.04, while trying to connect to the bank, I get an error message saying that I could not connect through the socket.…
-
2
votes1
answer711
viewsDjango - Unicodedecodeerror: 'ascii' codec can’t Decode byte 0xc3 in position 32: ordinal not in range(128)
Good night, you guys! I am with Ubuntu 16.04, trying to get back to Django, ms when I try to start a project of that error here: raceback (Most recent call last): File…
-
2
votes1
answer208
viewsPrint array value in bash by PHP shell_exec
I have another script, but I simplified it for this to simulate the problem that persists. test sh. #!/bin/bash ARRAY=('like' 'a' 'stone') echo ${ARRAY[0]} In the file below, in another moment I…
-
2
votes0
answers679
viewsVisual Studio Code does not work on Ubuntu 16.04
I’m trying to use Visual Studio Code on Ubuntu 16.04 x64, but I was not successful. I tried to install via . deb package and the whole procedure apparently went well. But when trying to open the…
-
2
votes1
answer416
viewsReinstalling Python on Ubuntu 14.04
I’m new to linux and was trying to make an example using Scrapy. I did the installation of Python 3, but I already had Python 2 installed in my computer and I thought I would need to delete Python 2…
-
2
votes3
answers225
viewsUpdate Python on LE 4.0 (Ubuntu 10)
Hello I need to use Simplehttpserver and only have for Python 2.6.6 and above and LE 4.0 is Python 2.6.5. As it has no software centre (at least I did not find) I tried this code on the terminal but…
-
2
votes0
answers45
viewsUnknown error in android-studio VDM
I’m having trouble creating a device on android-studio because of much searching on the net I decided to put a question here to see if someone can answer. I use Ubuntu 16.04 and the project in…
-
2
votes2
answers761
viewsStore paths containing directory with space in name
I have the following problem: I need you to store a path from an X directory in a variable in my script. The big problem is that one of the folders in this path contains space in the name and for…