Install and deploy Glassfish in CentOS 7
GlassFish is a robust business-compatible application server that delivers product-level quality and is free for development, deployment, and redistribution.
Environment: CentOS7.2
Steps:
1. Deploy the JDK Environment
Bytes
# Mvjdk1.8.0 _ 91 // usr/local/jdk
# Vim/etc/profile. d/java. sh
# Cat/etc/profile. d/java. sh
JAVA_
CentOS 7 server configuration-install MongoDB, centosmongodb# Download the MongoDB source file: wget unzip-zxvf mongodb-linux-x86_64-rhel70-3.4.7.tgz # rename the decompressed file mv mongodb-linux-x86_64-rhel70-3.4.7 mongodb # create the mongodb data file and log file directory mkdir-p/data/dbmkdir-p/data/logs note: the file directory created here is under the r
How to install vsftpd on centos 7
I feel very bad. I have tested none of them on the Internet, but I have always reported errors.
After 10 reinstalls, the correct method is finally tested.
# Official website configuration instructions ##
Https://security.appspot.com/vsftpd/vsftpd_conf.html
# Requirements ##
1) only the current user can be seen during FTP login an
- Dwith_myisam_storage_engine=1-ddownload_boost=1-dwith_boost=/usr/local/boost(-ddownload_boost=1 will automatically download the BOOST to the dwith_boost= specified directory or download it yourself and store it in the specified directory)Make-j ' Cat/proc/cpuinfo | grep processor| Wc-l 'Make installLn-s/opt/local/mysql/lib/mysql/usr/lib/mysqlLn-s/opt/local/mysql/include/mysql/usr/include/mysqlLn-s/opt/local/mysql/bin/mysql/usr/bin/mysqlLn-s/opt/local/mysql/bin/mysqldump/usr/bin/mysqldumpLn-s/o
MARIADB Introduction
MARIADB database management System is a branch of MySQL, mainly by the open source community in the maintenance, the use of GPL licensed license MARIADB is fully compatible with MySQL, including APIs and command line, so that it can easily become a replacement for MySQL. On the storage engine side, use XTRADB (English: xtradb) to replace the
1. Download and unzip the JDK1.82. Put the compressed package into:/usr/java/folder3. Execution: Vi/etc/profile4. Add in front of the file:java_home=//usr/java/jdk1.8Jre_home=//usr/java/jdk1.8/jrePath= $PATH: $JAVA _home/bin: $JRE _home/binClasspath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar: $JRE _home/libExport Java_home jre_home PATH CLASSPATH5. Press ESC to exit, and then execute:: Wq6, the implementation of Java-vsersion7, if the prompt permission is insufficient, executes: chmod
Install and configure sudo in CentOS 7
Sudo is usually referred to as super do or suitable user do. It is a software that uses the security permissions of other users to execute programs in UNIX-like operating systems. Let's see how to configure sudo.# Mongodo
This will open/etc/sudoers and edit it.
Sudoers file
Grant all permissions (equivalent to root)
Install OpenVPN in CentOS 7
The command is very simple, but there seems to be no information on the Internet, only the information below RHEL6.
Directly paste the command:
12345
Cd ~ Wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-CentOS7.x86_64.rpmrpm-Uvh openvpn-as-2.0.10-CentOS7.x86_64.rpmovpn-init
You can modify the port information.
After i
Centos7 definition mariadb Source Yum Install the latest version of MARIADBThere are generally several ways to install software services under CentOS (yum, rpm IVH xxx, make Makeinstall compile and install, etc.), but relative to Yum is the simplest and easiest. We mainly in
() |+ ---------------- +| 5.5.24-MariaDB |+ ---------------- +
How to upgrade MariaDB?
To upgrade MariaDB, follow these steps:
Extract files from the new MariaDB package to the/opt directory (which can be placed in the same directory as the current version)
Stop running current
Tags: replace user git article share lead HTML UPD leaderFirst, the preparatory work 1. Download and install VMware, skip the steps. 2. Download the CentOS system iOS package: Http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7
textbook poison AH) very helpless, can not solve AH. It is said that yum install rpm MySQL (mariadb) default Mysql.sock file is not in the default location is/var/lib/mysql/, and under/temp/xxx, to modify my.conf (now MARIADB configuration file is my.cnf, less an O) inside the sock configuration, or soft links to the default location, some say how the permissio
Install MariaDB (MySQL) in CentOS6.5 1. Get mariaDB installation package on the official website through xftp to the root directory 2. Expand the MariaDB file tarxfmariadb-5.5.42-li
Install MariaDB (MySQL) in
Tags: centos mariadb centos7 linux MySQLUsing the Linode CENTOS7 system, the installation of MySQL found that the default is MARIADB.However, whether the use of Linode official website or Baidu search to the basic installation method can not be installed successfully.Always prompt this sentence:ERROR 2002 (HY000): Can ' t connect to local MySQL server through socket '/var/lib/mysql/mysql.sock ' (2)Finally,
Tags: Access users oracle Linux copy innodb default PID MariaSystem Platform:CentOS Release 6.9 (Final)Kernel 2.6.32-696.el6.x86_641. Go to the official website to download the appropriate source packagehttp://mariadb.org/Mariadb-10.2.12.tar.gzCheck that the database is installed in the system.#rpm -qa|grep MariaDB#rpm -qa|grep mysqlmariadb-10.2.12 requires c++11 feature support, gcc4.8 is not included belo
MySQL and install MariaDB. Yes, even the command line is the same as when MySQL is used.
All the original clients and connectors (PHP, Perl, Python, Java, etc.) can work normally without any changes, because MariaDB and MySQL use the same client protocol, the client library files are also binary compatible.
2. migration operation records (the method 3 below is b
CentOS 7 Setup Boot service to add custom system services
Create a service file
Save Directory
Set up boot from
Other commands
1. Create a service file
File path
vim /usr/lib/systemd/system
Service file Content
[Unit]Description=nginx - high performance web serverAfter=network.target remote-fs.target nss-lookup.target[Service]Type=forkingExecStart=/usr/local/nginx/sbin/nginx -c /usr/loca
Next, we will extract a background, and then the operation records I migrated from MySQL 5.5.31 to MariaDB 5.5.31 on CentOS 6.4. Finally, I found a better migration method.
1. Background
MySQL is the most popular open source relational database in the world. In 2008, Sun acquired MySQL. Then in 2010, Oracle acquired Sun again, so MySQL fell into the hands of Oracle. Oracle has never had a good relationship
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.