Before constantly testing the Pgsql on VM VMS, it is still a bit cumbersome to install.So we collected a few1,http://www.davidghedini.com/pg/entry/postgresql_9_5_script_forHttps://github.com/DavidGhedini/postgresql-9.5-script-centos-7x64Https://github.com/intoGres/postgresql-9.5-script-centos-6x642,https://github.com/intogres3,http://www.if-not-true-then-false.com/2012/
Script practice, write a script to implement the configuration of the local Web server:
1, check whether the HTTPD package has been installed, if not, the use of Yum command installation; (need to configure the Yum source in advance)
2, cancel the center host, new 5 domain based virtual host, and provide a test home page, the homepage content for its corresponding FQDN:
Www.magedu.com,/vhosts/magedu
Bbs
Install Shield Script Summary (Invoke Api,com,bat)
Boss asked me to package the current project (Web project) on the basis of the previous packaging program. The basic requirement is this, with the project including the required control, build the virtual directory. If the user can configure a row on SQL Server, or install the SQLExpress in the package (if the u
Oracle requires a series of configurations before installation on linux. if the environment is set up each time, it is a little slow to execute manually. Here, two scripts are written to achieve automatic configuration and installation. Currently
Oracle requires a series of configurations before installation on linux. if the environment is set up each time, it is a little slow to execute manually. Here, two scripts are written to achieve automatic configuration and installation. Currently
B
The MySQL5.6 script is compiled and installed in the source code package. Two MySQL databases are installed on one machine. The port, installation path, and socket file location are specified during compilation.
The installed MySQL installation file can be packaged and copied to other machines for use. You only need to initialize it when using other machines, and grant related directory permissions.
Install
The following small series for everyone to bring a shell script one-click Install PHP7 instance (recommended). Small series feel very good, now share to everyone, also for everyone to make a reference. Let's take a look at it with a little knitting.
As shown below:
#!/bin/bashphp_gz_file= '/home/php/downloads/source/php-7.0.0.tar.bz2 ' tar_dir= '/home/php/Downloads/dst/' Source_ Dir= ' php-7.0.0 ' cd $tar
1. Switch to the user folderCD ~2. Create a new file. Name the opencv.sh script for example the following:Version= "$ (wget-q-o-http://sourceforge.net/projects/opencvlibrary/files/opencv-unix | egrep-m1-o ' \" [0-9] (\.[ 0-9]) + ' | cut-c2-) "echo" Installing OpenCV "$versionmkdir opencvcd opencvecho" Removing any pre-installed ffmpeg and x264 "sudo apt-get install unzipsudo apt-get
It's quite smooth, the comments in the code are written in more detail. Attached script, interested friends can try. Note the changes to the environment variable names that are added in BASHRC, or the main class cannot be found.1# # #ubuntu14.04LTS2 3## MakeHadoop Account4 sudoAddGroup Hadoop # Makea group named Hadoop5 sudoAddUser-ingroup Hadoop Hadoop #add an user named Hadoop6 sudo VI/etc/sudoers #add Hadoop into Sudoers (hadoop=root)7 8 # #change
After running the script, enter Yes to install automatically#!/bin/bashport= ' Netstat-lnp|grep:21|wc-l ' Check_ok () { if[$?-eq0];thenecho "Checkok" elseecho "checkerror" exit fi}read-p "autoinstallftpinput ' yes ' installon: "yesif[yes==" $yes " -a $port ==0];then# Gets the current IP address, the default first IP address ip= ' ifconfig|awk-f[:a-z ""]+ ' nr==2{print$2} ' lftp= "Yuminstall-ylftp" user=f
Download MongoDB installation files, unzip to D:\MongoDB;
To run the script:
@echo off SetMongobin=d:\MongoDB::Create a Data,log folder under the MongoDB folderMD%mongobin%\DataMD%mongobin%\LogCD%mongobin%\Binmongod--repair--dbpath"%mongobin%\data\db"Mongod--install--servicename"Mongodbmaster"-servicedisplayname "MONGODBR"--dbpath "%mongobin%\data\db"--logpath "%mongobin%\data\log\ MongoDB.log "--
Because the FTP service is required, I wrote an automatic installation script for Shell usage by the way. Now I share the script to make it easier for you.
#! /Bin/shwget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.5rc3.tar.gztar zxvf proftpd-1.3.5rc3.tar.gzcd proftpd-1.3.5rc3. /configure -- prefix =/usr/local/ProFTPD -- sysconfdir =/etcmakemake install
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.