Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
f6674c0e
Commit
f6674c0e
authored
Mar 12, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update tune_new_system.sh
parent
a14b8085
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
tune_new_system.sh
etersoft/tune_new_system.sh
+20
-3
No files found.
etersoft/tune_new_system.sh
View file @
f6674c0e
#!/bin/sh
echo
-n
"Checking for epm ... "
if
!
which epm
;
then
#if grep -q ftp.altlinux.org /etc/apt/sources.list.d/alt.list ; then
if
[
!
-r
/etc/apt/sources.list.d/etersoft.list
]
;
then
cat
/etc/apt/sources.list.d/alt.list |
sed
-e
"s|http://ftp.altlinux.org/pub/distributions|http://download.etersoft.ru/pub|"
>
/etc/apt/sources.list.d/etersoft.list
subst
"s|^rpm|# rpm|"
/etc/apt/sources.list.d/alt.list
fi
echo
-n
"Checking for epm ... "
if
!
which epm
;
then
apt-get update
apt-get
install
eepm
||
exit
echo
OK
...
...
@@ -11,7 +15,7 @@ fi
if
[
!
-d
/etc/.git
]
;
then
cd
/etc
epmi etckeeper
epmi etckeeper
||
exit
etckeeper init
etckeeper commit
"initial commit"
fi
...
...
@@ -55,3 +59,16 @@ userdel user
subst
"s|^#GSSAPIAuthentication no|GSSAPIAuthentication yes|"
/etc/openssh/sshd_config
subst
"s|^#GSSAPICleanupCredentials yes|GSSAPICleanupCredentials yes|"
/etc/openssh/sshd_config
# TODO: тонкости. seat?
serv lightdm off
serv dm on
# https://bugs.etersoft.ru/show_bug.cgi?id=12207
epmi chrony
serv chronyd on
subst
"s|^
\(
pool pool.ntp.*
\)
|server ntp.etersoft.ru iburst
\n
#
\1
|"
/etc/chrony.conf
# TODO: выключение NetworkManager для интерфейса
# DISABLED=yes
# NM_=no
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