#! /bin/sh# chkconfig:2345 # Description:jenkins .... # This script would be executed *after* all the other init script S. # You can put your own initialization stuff in here if you don ' t # want to do the full Sys V style init stuff. #prefix =/home/lanmps/jenkins#nohup $prefix/start_jenkins.sh >> $prefix/jenkins.log 2>1 Here comes the wind. jenkins_root=/home/lanmps/jenkinsjenkinsfilename=jenkins.war# Stop Method stops () { echo "stoping $ Jenkinsfilename "Ps-ef|grep $JENKINSFILENAME |aw
1. Download wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.4.tgz2. Unzip TAR-XF mongodb-linux-x86_64-3.4.4.tgz3. Copy to the appropriate software installation directory Cp-r-N mongodb-linux-x86_64-3.4.4/install/mongodb4. Configure Environment variables:Vi/etc/profile Export path= $ERLANG _home/bin:/usr/local/mysql/bin:/install/mongodb/bin:$PATHSource/etc/profile5. Before starting MongoDB, to create a /data/db, because the Mongod process by default Use this path, can also be creat
Tags: mysql rpm mysqldshell> wget Https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.18-1.el7.x86_64.rpm-bundle.tarShell> Tar xvf Mysql-5.7.18-1.el7.x86_64.rpm-bundle.tarshell> sudo yum install mysql-community-{server,client,common,libs}-*Shell> vi/etc/my.cnfValidate_password_policy=low: Wqshell> sudo service mysqld startshell> sudo grep ' temporary password '/var/log/mysqld.logShell> mysql_secure_installationShell> Mysql-u Root-pThis article is from the SQL Server deep Dive blog, so be sur
This method of installation is very simpleCd/usr/localDownload the installation packagewget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.17-linux-glibc2.5-x86_64.tar.gzExtractTAR-ZXVF mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz[Email protected] local]# pwd/usr/local[[Email protected] local]# mv mysql-5.7.17-linux-glibc2.5-x86_64 MySQLCD MySQLMkdir-p/data/mysql/dataCreate a MySQL userUseradd mysql-s/sbin/nologin-m (no home directory)Chown-r Mysql.mysql/data/mysql./bin/mysqld--initialize-
The steps for uninstalling MySQL in CentOS Binary Package/source code installation are as follows: centosmysql
View the mysql running status of the current system
[root@zendlinux ~]# ps -ef |grep mysqlroot 1153 1 0 15:40 ? 00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/zendlinux.pidmysql 1695 1153 0 15:40 ? 00:00:00 /usr/local/mysql/bin/mysql
the whole screen.
Q ------ exit the manual pageExercise, use man more and man less to see the difference between them------------------------------------------The following describes the differences between the more command and the less function:More command: Pause the screen when the page is full. Press space to continue displaying the next screen or press the Q key to stop the screen.Less command: the usage of the less command is similar to that of the more command. It can also be used to bro
Install JDK_Maven_Subversion in CentOS-6.4-minimal and modify the rpm package installation path, centossubversion
/*** @ See plugin * @ see install JDK * @ see [root @ CentOS64 ~] # Cd/* @ see [root @ CentOS64/] # mkdir app * @ see [root @ CentOS64 ~] # Groupadd Develop # Add a Develop Group * @ see [root @ CentOS64 ~] # Useradd-g Develop Jadyer # create a Jadyer user and assign it to the Develop Group * @
Because Perl's compile-and-install is a hassle, it's a lot of people. I specifically made the latest Perl 6 a direct installation of the RPM package on CentOS 6. Just install the following three things.
The code is as follows
Copy Code
RPM-IVH http://repo.php-oa.com/6/RPMS/x86_64/nqp-2014.04-1.0.el6.x86_64.rpmRPM-IVH http://repo.php-oa.com/6/RPMS/x86_64/moarvm-2014.04-1.0.el6.x8
Tags: mysql1 Download MySQLHttps://cdn.mysql.com//Downloads/MySQL-5.6/mysql-5.6.37-linux-glibc2.12-x86_64.tar.gzI downloaded MySQL 5.6.2. Unzip it and move it to the corresponding directoryTAR-ZXVF mysql-5.6.37-linux-glibc2.12-x86_64.tar.gzCP./mysql-5.6.37-linux-glibc2.12-x86_64/usr/local/mysqlCreate users and GroupsGroupadd MySQL and Useradd-r-G MySQL mysqEnter the source directoryCd/usr/local/mysql/mysql-5.6.37-linux-glibc2.12-x86_64Create data directory to hold MySQLmkdir dataModify directori
Tag: The installer for the RPM package of MySQL 5.7.9Introduction to Environment >>>>>>>>>>>>>>>>>>Operating system: Centos 7.1MySQL database version: mysql5.7.9MySQL official website: http://www.mysql.com------------------------------------------1, before installing the new version of MySQL, we need to bring the system Mariadb-lib Uninstall[Email protected] ~]# rpm-qa|grep mariadbmariadb-libs-5.5.41-2.el7_
/Environment this file Then add your path such as: Llvm_config="/usr/local/bin/llvm-config", this is the directory of my installation, you may be different,$whereis llvm-config command return what you addAdd this path to the last line of the/etc/environment file and restart the machine (be sure to restart the machine)Re-install:$ python setup.py BuildIf you still get an error, then this could be the mistake: In fact, because of the lack of this-lstdc++ link caused.So how does this work out?Ref
--best represents the slowest compression method (high compression ratio).The system default value is 6.instruction Example:Gzip *% compress each file in the current directory into a. gz file.GZIP-DV *% extracts each compressed file in the current directory and lists detailed information.Gzip-l *% Detail shows the information of each compressed file in Example 1, and does not understand the pressure.Gzip usr.tar% compress the tar backup file Usr.tar, at which time the compressed file has a. tar.
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.