Hallo Leute kann mich jemand führen oder mein Skript neu schreiben? Nun, ich tippe diesen Code bei jeder Neuinstallation manuell ein. ich will das alles nur in nur 1 Skript-Datei machenRichtiger Weg, dies zu einem Shell-Skript zu machen
yum update -y
yum install httpd -y
service httpd start
yum install mysql-server -y && service mysqld start && mysql_secure_installation
yum install php php-mysql -y && service httpd restart
rpm -ivh https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm && yum check-update && yum install phpMyAdmin -y
vi /etc/httpd/conf.d/phpMyAdmin.conf (Will edit some of line)
yum install git -y && yum install gcc make mysql mysql-devel mysql-server pcre-devel zlib-devel && yum -y install dos2unix gdb nano screen unzip wget zip
yum -y groupinstall Desktop && yum -y install tigervnc-server pixman pixman-devel libXfont
vncpasswd
vi /etc/sysconfig/vncservers
(Will write this on the bottom of vncservers)
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1100x768"
yum -y install xterm && yum -y install subversion && yum install gnome-utils -y && yum -y install nautilus-open-terminal
service vncserver start
chkconfig httpd on && chkconfig mysqld on && chkconfig vncserver on
reboot
===== Gibt es jemand kann mir helfen, zu bereinigen, und dass nur in 1 Datei setzen?
Legen Sie es in eine Datei. Mach es ausführbar. Starte es. – PeeHaa