Skip to content

Tag: linux

How to install Python packages under Linux environment?

Recently I am using the virtual machine to do the Python coding. The system is under Linux, which means I have to use Command Lines to install the Python packages. I am familiar with Anaconda to do Python coding at school. But in the real working environment, to save money, I have to use Linux. Now I have a p…

AH01630: client denied by server configuration in Django

My website is working but it is not displaying static files present in my project folder. I am getting this error AH01630: client denied by server configuration: /home/ubuntu/project/static/js/homepage.js, referer: http://test.com/home/ Here is the configuration for static in my .conf file: I have followed an…

Debugging Linux process hangs, which code is it running?

I have a process running on a very weak Linux embedded device, which could not run gdb / gdb server on itself. I let it provoking a function X from a shared library repeatedly (there are also some others process calling it at the same time with much less frequency), it usually hangs somewhere inside the share…

Stop grep message from posting

I am working on a script that take 1 string argument and a file. I want it so that if a file is put in that doesn’t exist, then it will display the “filename cannot be read” message. That part does work however it also displays a “grep: grep.txt: No such file or directory” messag…