I ran git pull on my Ubuntu VM, and I got Enter passphrase for key '/root/.ssh/id_rsa': remote: Counting objects: 7, done. remote: Compressing objects: 100% (7/7), done. remote: Total 7 (delta 4), reused 0 (delta 0) Unpacking objects: 100% (7/7), don
I am brand new to WSO2 API manager and I am trying to install the API Manager for the first time on a Linux VM machine. Java-8 has been installed. JAVA_HOME is defined and points to /usr/lib/jvm/java-8-oracle. It has been verified by running: echo $J
How to access a file, say test.c, from the Windows 10 Desktop on the Ubuntu Bash shell. Answer to this question: https://stackoverflow.com/questions/38921301/bash-and-ubuntu-subsystem-in-windows-10 I can't comment (less than 50 reputation), and I can
I am using following code and all contents of the specific pdf page are converting in a correct manner. But if there is any image in the middle of pdf page, that image in the HTML shows at the top. PHP CODE: umask(0); $output = shell_exec('pdftohtml
I want to set up apache2 so that the wordpress website is served via port 80 and some other php website served via port 8080. This is on my local machine running Ubuntu 15.10. The sites-available/000-default.conf contains: Listen 80 Listen 8080 NameV
I know in ruby you can do. gem path filename in the terminal when you gem install 'gem-path'and in python you can do >>> import os >>> import inspect >>> inspect.getfile(os) '/usr/lib64/python2.7/os.pyc' >>> inspect.get
I have newly install Ubuntu server with Apache/2.4.7 ,Php 5.5.9 , mysql and uploaded my Cakephp project over there , My cakephp version is 2.4 but i am facing an issue, Its is not finding any css, images, or any other files which is define on webroot
I know how to search for a string in a file, and delete the line with the string in it using sed. sed -i '/pattern/d' ./file But there are quite a few strings that I need to find, is there a way to automate this? For example read the strings line by
This question already has an answer here: Laravel installation: How to place the ~/.composer/vendor/bin directory in your PATH? 15 answers When I try to install laravel 5 in ubuntu, I am getting error like this, laravel: command not found I followed
I am attempting to install mscorefonts on ec2, however I can't seem to find the magic combination of terminal commands to make it happen. I am using an m1.medium instance and uname -a returns Linux worker 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16
I have a Ubuntu server which runs the Dokuwiki and projects system for our LAN When users access the Dokuwiki they get the dreaded No ACL setup yet! Denying access to everyone. and on the projects system appears with the login but once logged in this
I'm on ubuntu running on apache2. <?php $con = mysqli_connect("localhost", "root", "password", "loops"); if (!mysqli_connect_errno()) { echo "Error to connect: ".mysqli_connect_error(); } $firstName = $
I have a websocket service. it's strage that have error:"too many open files", but i have set the system configure: /etc/security/limits.conf * soft nofile 65000 * hard nofile 65000 /etc/sysctl.conf net.ipv4.ip_local_port_range = 1024 65000 ulim
I am just getting familiar with MongoDB and its my first time to use it. I am using Ubuntu enviornment for the development. I installed the MongoDB as per the instructions mentioned in the tutorial available on the MongoDb website. They said that the
I'm doing some initial tests with docker. At moment i have my images and I can put some containers running, with: docker ps I do docker attach container_id and start apache2 service. Then from the main console I commit the container to the image. Aft
I am trying to use libssh in my application, but I keep getting memory leaks. The most simplistic code, I am trying, is: #include <libssh/libssh.h> #define SSH_NO_CPP_EXCEPTIONS assert(0 == ssh_init()); ssh_session m_session; assert(m_session = ssh_
At work a use Smarty templates (on WAMP) in a Windows environment. All just works fine. Just when I want this to make it work at home with LAMP on Ubuntu something strange happens: I see my Smarty templates work in the browser just as normal, but whe
On Ubuntu 12.04, open a new text file and write: #include <stdlib.h> int main() { abort(); return 0; } Now run: g++ yourfile.cpp Then run the executable, which will core dump: ./a.out Now check the mtime of the file: -rw-r----- 1 xxxxx xxxxx 228K 20
I want to install php 5.3.9 in ubuntu 12.04 via apt-get. apt-cache show php5-fpm only lists 5.3.10-1ubuntu3.1 and 5.3.10-1ubuntu3. There is a critical bug in 5.3.10 ( https://bugs.php.net/bug.php?id=61045&edit=1 ) that I am trying to avoid. Is there
So, I have had this working on Ubuntu before. But then I upgraded to 11.10. Now, no such luck. Note: if you are still messing with getting this to work on eclipse, you might want to try this command line stuff... if it doesnt work here, its not going
I just installed JDK in Ubuntu with sudo apt-get install openjdk-6-jdk command, after the installation where's the Java bin directory located? And how can I set the environment path for that directory? I have little experience with Ubuntu, can anyone
We are heavily using VirtualBox on our developer workstations. Since we share the images with other developers quite often, I have tried to automate this process as much as possible (cleaning up ap-get cache, removing tmp and log files...). We are us
I am new to Python and am working on a Linux machine (Ubuntu 10.10). It is running python 2.6, but I'd like to run 2.7 as it has features I want to use. I have been urged to not install 2.7 and set that as my default python. My question is, how can I
I am using eclipse 3.5 on Ubuntu 10.10. I am developing a web application with includes HTML 5 tags, but my eclipse is annoying me with the warning messages. Eclipse 3.5 doesn't support HTML 5 tags. How do I update my Eclipse 3.5 to support HTML 5 ta
I am planning to install LAMP on ubuntu in Vmware but when I isntall Ubuntu I dont see the 'Install LAMP' option as shown in tutorials? I tried installing a few times both server and desktop versions but nothing shows. It just directly installs ubunt
I'm running Ubuntu 10.04 with Apache2 and PHP5. I have a directory structure like this: \www\ \index.php \parts \head.php \body.php Inside my index.php I have a command <?php include("parts/head.php") ?> and the equivalent for body. These
I am having a small issue in setting up speed tracer with ubuntu. any help (document/hints...) will be appreciated.There's a handy tutorial the Google Developers put up at: http://www.youtube.com/watch?v=Sn_3rJaexKc And some examples on how to use it
I'm new to Linux, and I don't understand why apt-get install tomcat6 resulted in two tomcat6 folders, one in /var/lib/, the other in /usr/share/. I'm sure there is a good reason for it, but it caused me a few hours confusion with nothing working. Wha
I am in the process of setting up the wso2 php web services framework on my ubuntu 8.04 development server. However my webservice is failing. Looking into the wsf_client.log (custom log for the framework) file gives me the error in the question. I be
I have a laptop running Ubuntu to which I connect an external monitor when I'm at the office. Usually this requires me to run xrandr --auto in order for the laptop to re-size the display to match the external monitor. It would be nice if this could b