This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note : This gist do not tell you how to install ubuntu server , all the steps are after the installation. | |
INSTALL LAMP USING TASKSEL | |
__________________________ | |
1) Check the ip to see if OS is connected to internet : ifconfig | |
// if proper ip is not obtained then check your network settings. | |
2) Install tasksel (to install LAMP): sudo apt-get install tasksel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wordpress overide permision: | |
_____________________________ | |
sudo chown -R www-data:myusername /var/www/html | |
sudo find /path/to/your/wordpress/install/ -type d -exec chmod 775 {} \; | |
sudo find /path/to/your/wordpress/install/ -type f -exec chmod 664 {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Faced the same problem after end of life. The process to upgrade to 20.04 was first to upgrade to 19.10. Following is how I upgraded 19.04 to 19.10 | |
Open /etc/apt/sources.list | |
Delete everything and replace it with the following: (you might want to keep a backup just in case) | |
deb http://old-releases.ubuntu.com/ubuntu eoan main | |
deb http://old-releases.ubuntu.com/ubuntu eoan-updates main | |
deb http://old-releases.ubuntu.com/ubuntu eoan-security main | |
Finally, just run these commands one by one: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This will remove Apache | |
sudo service apache2 stop | |
sudo apt-get purge apache2 apache2-utils apache2.2-bin | |
sudo apt remove apache2.* | |
sudo apt-get autoremove | |
whereis apache2 | |
sudo rm -rf /etc/apache2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------- | |
# .gitignore | |
# Bare Minimum Git | |
# https://salferrarello.com/starter-gitignore-file/ | |
# ver 20220128 | |
# | |
# From the root of your project run | |
# curl -O https://gist.githubusercontent.com/salcode/10017553/raw/.gitignore | |
# to download this file | |
# |