How can we help you?

Knowledge Base   /   Linux

Linux

cp -r path/dirname to/path
sudo do-release-upgrade
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL df -h  https://askubuntu.com/questions/182446/how-do-i-view-all-available-hdds-partitions  
sudo chown -R www-data:www-datagrp /var/www/html
sudo service cron start sudo service cron stop sudo service cron restart  
sudo passwd username userdel username  
Try with this command: sudo a2enmod cgi  
You need to edit /etc/ssh/sshd_config, and comment out the following line: PermitRootLogin without-passwordStrictModes yes Just below it, add the following line: PermitRootLogin yesPassword...
sudo -ipasswdorsudo passwd  
https://www.digicert.com/kb/csr-ssl-installation/ubuntu-server-with-apache2-openssl.htm
sudo apt-get install software-properties-commonsudo add-apt-repository ppa:ondrej/php or sudo add-apt-repository ppa:tomvlk/php-archive sudo apt-get updatesudo apt-get upgradesudo apt-get instal...
chown -h username:groupname foldername
root@linux:~$ sudo vi /etc/netplan/00-installer-config.yamlorroot@linux:~$ sudo nano /etc/netplan/00-installer-config.yamlnetwork:  ethernets:    enp0s3:    ...
sudo apt updatesudo apt upgrade sudo apt install apache2 //enable Apache2 service sudo systemctl enable apache2.service  
sudo ufw allow 80/tcpsudo ufw allow 443/tcp sudo ufw status  
sudo chown www-data:www-data /var/www/html/ -R  
sudo apt install php7.4 libapache2-mod-php7.4 php7.4-mysql php-common php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline  
sudo apt install mysql-server
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04   sudo apt updatesudo apt upgrade sudo apt install apache2 sudo ufw app li...
sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl or sudo apt install phpmyadmin https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-...
$ sudo chown -h mj:mj test1 $ ls -l test* -rw-r--r-- 1 mj mj 0 Jul 27 08:47 test lrwxrwxrwx 1 mj mj 4 Jul 27 08:47 test1 -> test