Code Monkey home page Code Monkey logo

da_files's Introduction

N@lled By: Nguyễn Trung Hậu
Email: [email protected]
Facebook: http://fb.com/haunguyenckc

INSTALL DIRECTADMIN

# Install command for Directadmin 1601 centOS7 centOS8 x64
yum -y install wget && wget --no-cache -O setup.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/da-1601-centos7-centos8.sh" > tmp 2>&1 && chmod +x setup.sh

# Install command for Directadmin 1604 centOS7 centOS8 x64
yum -y install wget && wget --no-cache -O setup.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/da-1604-centos7-centos8.sh" > tmp 2>&1 && chmod +x setup.sh

# Install command for Directadmin 1620 centOS7 centOS8 x64
yum -y install wget && wget --no-cache -O setup.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/da-1620-centos7-centos8.sh" > tmp 2>&1 && chmod +x setup.sh

# Install command for Directadmin 1620 only centOS8 x64
yum -y install wget && wget --no-cache -O setup.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/da-1620-centos8.sh" > tmp 2>&1 && chmod +x setup.sh

# Install command for Directadmin 1624 centOS7 centOS8 x64
yum -y install wget && wget --no-cache -O setup.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/da-1624-centos7-centos8.sh" > tmp 2>&1 && chmod +x setup.sh

# Install command for Directadmin 1624 only centOS8 x64
yum -y install wget && wget --no-cache -O setup.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/da-1624-centos8.sh" > tmp 2>&1 && chmod +x setup.sh


# To Get Help
./setup.sh -h

# To Setup
./setup.sh m h p i n

option "m": Mode
+ opsf: Auto setup version package (Default: Openlitespeed, PHP81, PHP74, PHP70, PHP56, Mariadb)
+ auto: Auto setup version package (Default: Openlitespeed, PHP81, Mariadb)
+ normal: You can select version package with custombuild

option "h": Server hostname (Default: server.test.com)
+ xxx.yyy.zzz (Ex: server.hca.com)

option "p": Password admin
+ You can input password or input: "rand" -> for random password

option "i": IP server
+ Auto detect IP if input: detect | or you can input local ip server (Command: "ip a" to show local ip server)

option "n": Network Card (Default: hca)
+ For using license.key, Directadmin 1604 no needed config option "n", Other Directadmin version needed config "n"
+ Input network card  attached IP Server


Ex: Install DA 1604 in VPS (Do nothing)
./setup.sh auto server.nguyentrunghau.me admin@123
+ Mode: auto | Host: server.nguyentrunghau.me | Pass: admin@123 | IP auto detect | Card: hca

Ex: Install DA version > 1604 in VPS (Set network card for run)
./setup.sh auto server.nguyentrunghau.me rand detect eth0
+ Mode: auto | Host: server.nguyentrunghau.me | Pass random | IP auto detect | Card: eth0

Ex: Install DA version > 1604 in Local Server (Set local IP and network card for run)
./setup.sh auto server.nguyentrunghau.me admin@123 1.2.3.4 eth0
+ Mode: auto | Host: server.nguyentrunghau.me | Pass: admin@123 | IP: 1.2.3.4 | Card: eth0

Ex: Install DA 1604 in Local Server (Set local IP for run)
./setup.sh auto server.nguyentrunghau.me rand 1.2.3.4
+ Mode: auto | Host: server.nguyentrunghau.me | Pass random | IP: 1.2.3.4 | Card: hca
	
... You can select option!
	

CONFIG NETWORK IF YOU CONFIG FAIL

# Download File And View Your VPS Network Card
wget --no-cache -O network.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/network.sh" && chmod +x network.sh
./network.sh

INSTALL SSL FOR ADMINPAGE

# Point The Subdomain Server.XXX.YYY to IP Server (A Record)
wget --no-cache -O adminssl.sh "https://raw.githubusercontent.com/irf1404/DA_FILES/master/adminssl.sh" && chmod +x adminssl.sh
./adminssl.sh

INSTALL MULTI PHP VERSION

cd /usr/local/directadmin/custombuild
./build set php1_release 8.1
./build set php2_release 7.4
./build set php3_release 7.0
./build set php4_release 5.6
./build set php1_mode lsphp
./build set php2_mode lsphp
./build set php3_mode lsphp
./build set php4_mode lsphp
./build php n
./build rewrite_confs

da_files's People

Contributors

irf1404 avatar

Stargazers

 avatar Thugger069 avatar Arizu Studio avatar

Watchers

 avatar  avatar

da_files's Issues

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.