Questions tagged as 'ubuntu'

0
answers

Installing Swift on Ubuntu 14.04 LTS

I'm having trouble installing. Following a tutorial, I did all the procedures but when I type to compile the command ./swift it presents an error that is in the image. Thank you in advance.     
asked by 12.02.2016 / 00:22
1
answer

Error installing apache2

When executing the command sudo apt-get install apache2 the following error is returned: Os pacotes a seguir têm dependências não satisfeitas: apache2 : Depende: apache2-bin (= 2.4.7-1ubuntu4.9) mas não vai ser instalado E: Não foi poss...
asked by 17.02.2016 / 14:48
0
answers

2 different versions of PHP (cli) in Ubuntu 14.04LTS

I installed PHP 5.6 on Ubuntu 14.04LTS using the following commands: sudo add-apt-repository ppa:ondrej/php5-5.6 sudo apt-get update sudo apt-get install php5 But when I run the command php -v I get the following response: PHP 5.3....
asked by 17.02.2016 / 17:14
1
answer

Crash when editing my.cnf - MySQL

Whenever I try to do the adjustment of the variables in Ubuntu by editing my.cnf located in etc / mysql / my.cnf and restart the system, crashes related to connection failure Can not connect to local MySQL server through socket '/v...
asked by 18.01.2016 / 19:31
0
answers

autocomplete using a script in ubuntu does not work

The autocomplete on the terminal stopped working after upgrading to ubuntu 14.04. If I use the command below, it works:    java hfs.io.rsegy filename = 0314 pressing tab I get   java hfs.io.rsegy filename = 0314-1005_PSTM.sgy   I put the comm...
asked by 19.10.2015 / 15:45
1
answer

How to increase the memory limit of a process? [closed]

Is there a way to limit the memory used by a process in Ubuntu?     
asked by 09.07.2015 / 20:19
1
answer

Gem :: LoadError Specified 'mysql2' for database adapter, but the gem is not loaded. Add 'gem' mysql2 '' to your Gemfile

This error appears constantly, in my case, I installed ruby, gems, rails, mysql2 all right. But when I tried: rake db:create Another error appeared: Gem :: LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded. A...
asked by 15.09.2015 / 17:52
2
answers

Enable .htaccess on Ubuntu 14.10, Apache / 2.4.10

I'm trying to enable .htacces on Ubuntu 14.10, but I saw at the time of setting up the new version of Apache / 2.4.10 the configure mode 'is different from the previous ones. I'm putting the files in / var / www / I've tried it already but...
asked by 24.06.2015 / 03:35
0
answers

Command exec and system CentOs

Galera, I try to execute a kill, killall -9 to kill process with PHP and it does not work, do I have to enable something inside php? Simpler commands like whoami picks up ... OBS: I'm using CentOS and Ubuntu. <?php exec("killall -9 2119");...
asked by 18.05.2015 / 13:13
1
answer

chrome and mysql do not open after changing permission in / opt folder

I would like help to solve the following problem. I was using XAMPP to run PHP applications, and I needed to edit the php.ini file in / opt / lampp / etc / OBS: dentro da pasta opt/ tem outras 2 pastas google/ e lampp/ When you sav...
asked by 31.03.2015 / 20:56