Linux Technology

Why my web server doesnt work ? (ubuntu)

Check 80 port on your server :

sudo netstat -tulpn | grep :80

In my case I saw my 80 port have gotten by Nginx but I want to give it to Apache so I used this command :

sudo systemctl stop nginx
sudo systemctl start apache2.service

and it worked perfectly

devops Linux Technology

How to run our own Smart DNS to bypass geo restrictions – let’s run something like

The article in the link below helps in this way.

Check it out.

Linux Technology

Linux Disk became readonly

it sometimes happens because you have multiple Operating systems, for example, i have windows and Linux on my machine so I got this problem:

after you tried to mount and unmount your disk you can use the command below as super admin:

sudo fsck -f /dev/sdxx

sdxx is the name of your disk, you can get disk names by command below :

sudo mount
Linux Shell Technology

Define Shortkey in the command line, Linux (Ubuntu)

For bash you have to do the following steps:

1) Open your .bashrc

sudo nano ~/.bashrc

2) Add new alias (at the end of the file)

alias phpstorm='cd ~/Downloads/phpstorm/bin/./'

3) Save and close the file

4) Source the .bashrc file

source ~/.bashrc

reference :

Linux Shell Technology

Linux Crucial commands – Chmod Command in Linux (File Permissions)- part 2

See file permissions :

ls -l example.txt

-rw-r--r-- 12 linuxize users 12.0K Apr  8 20:51 example.txt
|[-][-][-]-   [------] [---]
| |  |  | |      |       |
| |  |  | |      |       +-----------> 7. Group
| |  |  | |      +-------------------> 6. Owner
| |  |  | +--------------------------> 5. Alternate Access Method
| |  |  +----------------------------> 4. Others Permissions
| |  +-------------------------------> 3. Group Permissions
| +----------------------------------> 2. Owner Permissions
+------------------------------------> 1. File Type

What is chmod in Linux:

in UNIX OSes, chmod is a command to change files and directories permissions.

chmod stands for “change mode”.

one of the most important reasons for Linux to be on the list of safe OSes is that every user has their own permission for each file and folder.

devops Linux Shell Technology

Linux Vim commands

quit of editor without saving
devops Shell

Linux Crucial Commands – Part 1

To restart your machine :
sudo reboot
To see a list of files and folders in Directory simple:
To see a list of files and folders in Directory with complete detail as list :
ls -la
To see a list of files and folders in Directory with complete detail as list :
ls -la
Fix bugs and problem

Linux Manjaro screen recorder problem (record blank)

I’m using OBS Studio in Manjaro Gnome 40. Fix black screen in wayland session.

Open Terminal

sudo nano /etc/gdm/custom.conf

enter root password

looking at #WaylandEnable=false

and remove “#”

should be like this


Ctrl+x to save and exit
y for yes then enter

Restart the computer and start again OBS Studio

reference :