GithubHelp home page GithubHelp logo

88plug / manjaro-headless Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 3.0 18.22 MB

Use manjaro linux as a headless server

Shell 100.00%
manjaro manjaro-linux headless-server headless server linux arch

manjaro-headless's Introduction

๐Ÿง Welcome to manjaro-headless ๐Ÿš€

Screencast of Manjaro Headless

The manjaro-headless script is designed to help users set up a headless server using Manjaro Linux. By uploading the Manjaro XFCE minimal ISO to any VPS provider that supports console and ISO upload image, you can configure your server with a default installation and your normal user account via the console of your VPS. This is a one-shot installer, meaning that once it runs, your machine will be fully configured. ๐ŸŽ‰

๐Ÿ“ Requirements:

  • 8GB Disk
  • VPS provider with console support
  • VPS provider with ISO upload image support (.iso)
  • Time

๐Ÿ”ง Features

Updates system packages and mirrors using pacman-mirrors.
Enables SSH for remote access.
Removes XFCE4 or GNOME GUI if detected.
Installs Docker, Docker Compose, glances, htop, bmon, jq, whois, yay, ufw, wireguard kernel module, lvm2, and fail2ban.
Configures Docker and adds the current user to the docker group.
Sets up firewall rules and limits SSH access.
Rotates logs to manage disk space.
Sets up a fail2ban jail for SSH attempts.
Starts and enables fail2ban and Docker services.
Performs a final system reboot.

๐Ÿ’พ Installation:

  1. Download the Manjaro Minimal with XFCE ISO from https://manjaro.org/downloads/official/xfce/.
  2. Upload the ISO to your VPS provider or server, such as Vultr, and use the host console to install with default options, including a normal user and password.
  3. Run the automated installer with the following commands:
git clone https://github.com/88plug/manjaro-headless
cd manjaro-headless
sudo ./run.sh

The script will update and reboot the machine and enable SSH on the host. After the installation is complete, you can log in to the new headless machine with the user you created during the install.

  1. Let the machine reboot. Yes, it will do it automatically! ๐Ÿค–

๐ŸŽ Optional Add-ons:

๐Ÿ’ก Tips:

  • Remember to wait until the system reboots before logging in.
  • Don't worry if there is no display available during the reboot process. Be prepared with SSH.
  • After the final reboot, set your hostname with "sudo hostnamectl set-hostname YOUR-H

manjaro-headless's People

Contributors

88plug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.