Giter Club home page Giter Club logo

nopanel's Introduction

nopanel

Simple Server Set Up without Panel, easy deployment and easy migration. Please make sure your server has SSH key. To check it please do this command

sudo su
cat ~/.ssh/id_rsa.pub

if there is no key appears, plese generate the key also set global config of git and please add the public key to your github profile.

ssh-keygen -t rsa -b 4096 -C "[email protected]"
git config --global user.email "[email protected]"
git config --global user.name "Rolly Maulana Awangga"
cat ~/.ssh/id_rsa.pub

Connect Source Code to Git

Please create git repo first and copy ssh uri, for example :

[email protected]:awangga/crot.git

use it in replace with : git remote add origin Go to your website folder for example in : /var/www/html/siap

cd /var/www/html/siap
git init
git commit -m "first commit"
git remote add origin [email protected]:awangga/crot.git
git pull origin master --allow-unrelated-histories
git push origin master

MariaDB Database migration

If database name is dbname then, On Source Server :

mysqldump -u root -p --opt dbname > dbname.sql
scp dbname.sql [email protected]:~/

then go to target server:

ssh [email protected]
mysql -u root -p dbname < dbname.sql

SSH Without Password

Using git bash create yout key, you dont have to do this if you already have a key

ssh-keygen -t rsa -b 4096 -C "[email protected]"

send key to the server

cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys'

ssh into server and change permission

chmod 700 .ssh; chmod 640 .ssh/authorized_keys

Check Disk Usage

sudo du -hc --max-depth=1 /

nopanel's People

Contributors

awangga avatar minions18 avatar dirgabrajamusti avatar divakrshnm 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.