Problem with Docker(sudo: status: command not found)

I have a problem. I want to check docker status but there is an error which sudo: status: command not found. Btw I have install the docker and sudo. >Solution : Instead use sudo you can manage docker as a non-root user. You need read this: Post-installation steps for Linux

GLM linking in CMakeLists.txt

I cannot link glm library with my executable. I tried link via ${GLM_INCLUDE_DIRS}, ${GLM_LIBRARIES} and ${GLM_LIBRARY_DIRS} cmake variables but it does not work. How can I link libraries and inludes of glm with my executable? I am using find_package() method : find_package(glm REQUIRED PATHS "${GLM_BINARY_DIR}" NO_DEFAULT_PATH) And does not have any problem with find_package() but… Read More GLM linking in CMakeLists.txt

Creating a new file and add some text to it using bash

I’m making a basic installation script (my first to be precise) for LAMP, and I experienced some difficulties: I trying to put some configuration in a new file, in this case for ssl-params My humble code: cat > /etc/apache2/conf-available/ssl-params.conf << ENDOFFILE SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 SSLHonorCipherOrder On Header always set X-Frame-Options… Read More Creating a new file and add some text to it using bash

Unable to install certain python modules

I’m trying to follow a tutorial about creating and hosting an HTTP proxy. When I try to install the modules, it fails. (SimpleHTTPServer and SocketServer) Tutorial used: Output: pip install SimpleHTTPServer ERROR: Could not find a version that satisfies the requirement SimpleHTTPServer (from versions: none) ERROR: No matching distribution found for SimpleHTTPServer pip install… Read More Unable to install certain python modules