Questions tagged as 'ubuntu'

2
answers

Which way to save images to a server?

I know the answer to this question is not accurate, but I am asking because of the alerts I received from a client hosting (DV medium) The system I developed saves the images as follows: /uploads/nome-do-modulo/ano/mes/dai/nome-imagem-encrip...
asked by 07.07.2015 / 14:16
3
answers

Socket error in MySQL installation

I am not able to uninstall and run MySql 5.5 on my Ubuntu Linux 14.04.LTS, every time I try to access it, I get the following message:    ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'...
asked by 10.08.2015 / 20:21
3
answers

Delete the .bashrc, .bash_profile, and .profile files: what are the consequences?

I've been trying to install Ruby and Ruby on Rails through RVM but during the installation process I had some problems. I tried to uninstall RVM through the commands: rvm implode gem uninstall rvm After performing these commands, I...
asked by 27.02.2014 / 23:06
1
answer

Help with installing the Ionic Framework for Mobile Development

To install the nodejs , I followed the example given through the website below, in the error note below, it says that the version I'm using is: 0.13.0-pre link I followed this tutorial to install the Ionic Framework software on my U...
asked by 04.09.2015 / 20:49
3
answers

After "apt-get dist-upgrade" command was installed PHP 7. How to get back to 5?

I use Ubuntu 14.04. And when I ran this apt-get dist-upgrade command here on my machine, it installed PHP 7. I've already removed PHP 7 like this: apt-get purge php.* But when I do this: apt-get install php It reinstalls PHP...
asked by 04.01.2016 / 16:08
1
answer

An Exception PDO occurs when localhost is used as host

Consider the following adapter class DbAdapterMySQL that extends the class PDO : class DbAdapterMySQL extends \PDO implements DbInterface { public function __construct(array $config) { $dsn = "mysql:dbname={$confi...
asked by 29.02.2016 / 16:22
2
answers

problem with daylight saving time and java applications on ubuntu server 16.04

This weekend we had the switch to DST here in my area, I have some machines running ubuntu server 16.04 with java applications. All of them with JBOSS , POSTGRES for one application and one with GLASSFISH , MYSQL . If I type the com...
asked by 18.10.2017 / 16:49
1
answer

How to configure github in ubuntu?

Now that I've finished my final project at C and delivered it at the end of this first semester. I'm trying to set up and post my project on github . I followed a video lesson and got configurar a repositório on my no...
asked by 17.12.2015 / 22:51
1
answer

How to call a linux executable program in php code?

I have a question, I have a web application in PHP from which I will receive a txt file. I need to call a program in linux that will execute this txt file and, I would like to know, how would I call a linux program in PHP code by sending the txt...
asked by 25.07.2017 / 23:17
1
answer

Print array value in bash by PHP shell_exec

I have another script, but I simplified it to simulate the problem that persists. test.sh #!/bin/bash ARRAY=('like' 'a' 'stone') echo ${ARRAY[0]} In the file below, I have already made sure that shell_exec is actually executing...
asked by 31.07.2016 / 21:16