Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
server-scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Brainedia
server-scripts
Commits
37bfcb8b
Commit
37bfcb8b
authored
Mar 18, 2018
by
Robert Saß
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First version of setup script
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
setup.sh
setup.sh
+22
-0
No files found.
setup.sh
0 → 100644
View file @
37bfcb8b
# Create first sudo-able user
echo
"Wie lautet der Nutzername des ersten Admins? "
read
ADMINUSER
adduser
"
$ADMINUSER
"
usermod
-aG
sudo
"
$ADMINUSER
"
dpkg-statoverride
--update
--add
root
sudo
4750 /bin/su
# Install Virtualmin
wget
"http://software.virtualmin.com/gpl/scripts/install.sh"
chmod
o+x install.sh
./install.sh
# Install basic components
sudo
apt-get update
sudo
apt-get
install
-y
nano git rsync php-curl
# Install XSendfile
wget
"https://tn123.org/mod_xsendfile/mod_xsendfile.c#hash(sha256:8e8c21ef39bbe86464d3831fd30cc4c51633f6e2e002204509e55fc7c8df9cf9)"
sudo
apt-get
install
-y
apache2-dev
sudo
apxs2
-cia
mod_xsendfile.c
sudo
apt-get remove
-y
apache2-dev
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment