Starting with laravel on ubuntu


Question I'm trying laravel as a PHP framework, I have already extracted the laravel zip into ~/opt/xampp/htdocs/laravel but when I go to localhost/laravel or localhost/laravel I get a 403 error message saying: Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. I read somewhere that I need to edit the storage folder inside of laravel so it can be readable and writable so I chmod -R 766 laravel/storage but still no luck, I'm doing this from Ubuntu 12.…
Read more ⟶

How do I find the maximum stack size?


Question I am working on Ubuntu 11.04. How do I find out the maximum call stack size of a process and also the size of each frame of the stack? Answer A quick Google search should reveal some information on this subject. > ulimit -a # shows the current stack size …
Read more ⟶

The meaning of export command in Ubuntu [closed]


Question Closed. This question is off-topic. It is not currently accepting answers. </div> Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 years ago. Improve this question What does export mean in Ubuntu? For example: export PATH=$PATH:/usr/src/hive/build/dist/bin/ Answer export is a command in the Bash shell language. When used to set a variable, as in your example, the variable (PATH) will be visible ("…
Read more ⟶

How to install pip for Python 3.6 on Ubuntu 16.10?


Question I'd like to start by pointing out that this question may seem like a duplicate, but it isn't. All the questions I saw here were regarding pip for Python 3 and I'm talking about Python 3.6. The steps used back then don't work for Python 3.6. I got a clear Ubuntu 16.10 image from the official docker store. Run apt-get update Run apt-get install python3.6 Run apt-get install python3-pip Run pip3 install requests bs4 Run python3.…
Read more ⟶

What does the colon (:) and dash (-) in an Ubuntu dpkg version number mean?


Question I'm trying to get the version number of an already installed package, in order to build a dependencies list for a dpkg. If I type "dpkg -l | grep libqtcore4" into my terminal I get the following result: ii libqtgui4 4:4.7.4-0ubuntu8 Qt 4 GUI module ii libqtgui4:i386 4:4.7.4-0ubuntu8 Qt 4 GUI module My question is; what on earth does the colon (:) mean in the version number, and what does the -0ubuntu mean on the end?…
Read more ⟶

Completely Remove MySQL Ubuntu 14.04 LTS


Question I somehow have messed up my MySQL on my Ubuntu server and cannot fix it. I have tried every single combination of apt-get remove --purge mysql-server, apt-get autoremove, apt-get purge, Googled for hours and nothing. I have literally given up. Every time I try to reinstall I get error. I've had enough. I want to remove every single file associated with MySQL on my server. I get this error every time I try to reinstall which seems to be common but not one "…
Read more ⟶

How to check if sed has changed a file


Question I am trying to find a clever way to figure out if the file passed to sed has been altered successfully or not. Basically, I want to know if the file has been changed or not without having to look at the file modification date. The reason why I need this is because I need to do some extra stuff if sed has successfully replaced a pattern. I currently have:…
Read more ⟶