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
***Things To Do After Installing Ubuntu 18.04 LTS Desktop*** | |
# This command will update & upgrade your system | |
sudo apt update && sudo apt-get upgrade --fix-missing | |
# Install the package build-essential for making the package and checkinstall for putting it into your package manager | |
sudo apt install build-essential checkinstall |
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
node -v | |
nvm -version | |
npm -v | |
#I run followingh commands: | |
' | |
sudo apt-get remove nodejs | |
sudo apt-get purge nodejs | |
sudo apt autoremove | |
sudo apt-get remove npm |
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
##Install Node.js and NPM from Ubuntu official repository | |
sudo apt update | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
nodejs --version | |
sudo apt install npm | |
npm --version |
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
MEAN Stack On Ubuntu 18.04 LTS (MongoDB, Express.JS, Angular.JS, Node.JS) | |
The MEAN stack (mean.js) is an open-source JavaScript (JS) framework used for developing robust web applications. It is a set of software tools that include everything needed for building dynamic websites and web applications. | |
As it uses a single programming language, JavaScript, in each layer of the stack, it has a big role in simplifying development. | |
MEAN is an acronym of the following programs: | |
MongoDB (document database) |
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
Install Swift and Vapor on Ubuntu 18.04 | |
https://youtu.be/-El30oW3_Wg | |
##Step 1 — Installing Swift | |
sudo apt-get update | |
sudo apt-get install clang libicu-dev libpython2.7 | |
wget https://swift.org/builds/swift-5.1.2-release/ubuntu1804/swift-5.1.2-RELEASE/swift-5.1.2-RELEASE-ubuntu18.04.tar.gz |
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
##Install golang and beego framework in linux ubuntu 18.04 LTS | |
#Download and decompress the Golang 1.x.x archive | |
mkdir golang_source | |
cd golang_source | |
wget https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz | |
sudo tar -zxvf go1.9.1.linux-amd64.tar.gz -C /usr/local | |
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
sudo apt update && sudo apt -y upgrade | |
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev | |
If you get an error for subversion package on Ubuntu like below: | |
E: Package 'subversion' has no installation candidate | |
Then add universe repository and install subversion from it: |
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
sudo apt update | |
sudo /etc/sudoers /etc/sudoers.bk | |
sudo nano /etc/sudoers | |
# visudo | |
Defaults env_reset,pwfeedback | |
or |
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
Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language, and Java WebSocket technologies. It is one of the most widely adopted applications and web servers in the world today. Tomcat is simple to use and has a robust ecosystem of add-ons. | |
sudo apt update | |
sudo apt install default-jdk | |
java -version | |
sudo useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat | |
wget http://www-eu.apache.org/dist/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz -P /tmp |
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
sudo apt-get update | |
sudo apt-get install libfontconfig1 libxrender1 | |
wget http://s4.softaculous.com/a/ampps/files/Ampps-3.8-x86_64.run | |
sudo chmod 0755 Ampps-3.8-x86_64.run | |
sudo ./Ampps-3.8-x86_64.run | |
cd /usr/local/ampps | |
sudo ./Ampps | |
!If get error then try |