Skip to content

Tag: centos

Could not run Ec2-server on port 80

I could run the server on port 8000 but when i try to use 80 with python manage.py runserver myip:80 I get: You don’t have permission to access that port. If I use sudo python manage.py runserver myip:80 I get: If I write python in the console I get version 3.5.5 and my env is activated. EDIT: Using sud…

How to run commands on CentOS reboot

I want to run the following commands one after the other upon reboot of the server after I do shutdown -r now but not sure how to do it: getenforce setenforce 0 systemctl start httpd.service I’m running CentOS 7.x Answer Technically you can crontab it and add the line and put the 3 commands in the myscr…

How to install konsole on Cent OS 7?

I have Cent OS 7. Since konsole tool is in kde package, I’ve installed it: But still konsole isn’t installed. So, how can I install it? Answer You can just install the konsole package. yum provides konsole Will return: konsole-4.10.5-4.el7.x86_64 : KDE Terminal emulator So you just have to install…