This project offers an automated script to set up a full development environment on Ubuntu-based systems, installing essential tools and software, and managing dependencies, making it ideal for developers to quickly and easily configure their workspace.
Follow these steps to set up the development environment on your system:
# Clone the repository
git clone https://github.com/quocnv2/setup-automatic-linux.git
# Navigate into the project directory
cd setup-automatic-linux
# Grant execution permission for the script
chmod +x setup.sh
# Run the script
./setup.sh
The setup script will install and configure the following tools and software:
build-essential
: Compilation tools likegcc
andmake
.curl
: Command-line tool for transferring data with URLs.wget
: Utility for non-interactive download of files from the web.git
: Version control system.htop
: Interactive process viewer for Unix systems.vim
: Advanced text editor.tmux
: Terminal multiplexer.zsh
: Shell designed for interactive use.
- NVM (Node Version Manager): To manage multiple Node.js versions.
- Node.js (Latest LTS version): JavaScript runtime environment.
- Python 3 and pip: Programming language and package manager.
- OpenJDK 11: Java Development Kit.
- Docker: Containerization platform.
- Docker Compose: Tool for defining and running multi-container Docker applications.
- Visual Studio Code: Code editor optimized for building and debugging modern web and cloud applications.
- Google Chrome Dev (Unstable Version): For developers who need to test the latest features and updates.
- MySQL: Relational database management system.
- PostgreSQL: Advanced open-source relational database.
- Redis: In-memory data structure store.
- Postman: API testing tool.
- Slack: Communication and collaboration platform.
- Spotify: Music streaming service.
- Heroku CLI: Command line interface for managing Heroku apps.
- AWS CLI: Command line interface for interacting with AWS services.
- Oh My Zsh: Framework for managing Zsh configuration.
After running the script, your development environment will be fully configured. You can start using the installed tools and software immediately. To ensure all changes take effect, restart your terminal or log out and log back in again.
-
Docker requires sudo to run: If Docker commands still require
sudo
after running the script, try logging out and logging back in or restarting your computer to refresh group memberships. -
Node.js not recognized: Make sure NVM is loaded correctly by adding the following lines to your
.bashrc
or.zshrc
:export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
-
Permission denied errors: Ensure you have the necessary permissions to execute the script. Run
chmod +x setup.sh
and try again. -
Issues with package installations: Make sure your system is up-to-date before running the script. Use
sudo apt-get update -y && sudo apt-get upgrade -y
.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or support, feel free to reach out:
- Nguyen Van Quoc - [email protected]
- Project Repository: https://github.com/quocnv2/setup-automatic-linux