/bin/mongodb.conf execreload=/bin/kill-shup $MAINPID execstop=/home/mongodb/bin/mongod-- shutdown--config/home/mongodb/bin/mongodb.conf privatetmp=true [install] wantedby=multi-user.target #为moNgodb.service Set permissions chmod754mongodb.service #设置开机启动 systemctl enable Mongodb.service #开启服务 Systemctl Restart Mongodb.service Note: If you have started after the installation of MongoDB, starting the service here may be an error, because Port 27017
public warehouse is the Docker Hub, storing a large number of mirrors for users to download.
Docker warehouse is used to save our images, when we create our own image we can use the push command to upload it to the public or private warehouse, so the next time to use this image on another machine, only need to pull down from the warehouse. The concept of Docker warehouses is similar to Git, which can be understood as a hosting service such as GitHub.
Second, Docker installation.
Prerequisite
is actually to move the startup script a position: CP Support-files/mysql.server/etc/init.d/mysql Register for Boot: See if you added success: 8. Start the MySQL service: Service MySQL Start 9. Use To view the root user's current password for MySQL: Cat /root/.mysql_secret Log in to MySQL: Mysql-uroot-p Then enter the password you found in the previous step. Change Password to QW12QW12: 1, change password with mysql command: Alter user'Root'@'localhost'identified by ' Qw12qw12 '; 2, update
For the pure version of CentOS 7, you must install the firewall manually. But if you install a firewall or you can't run it right away, you need to do something else to make it work. Follow these steps to set up your firewall in CentOS 7First step,
Install fcitx Chinese Input Method in CentOS 7, centosfcitx
The installation procedure is as follows:
1. Add the EPEL Source
EPEL7 is almost an essential source for CentOS:Sudo yum install epel-release
2. Add mosquito-myrepo Source
Mosquito-myrepo is a third-party source for private production, which includes the fcitx
Raspberry Pi 3 already supports Bluetooth and built-in wireless NICs by default. The price is only $35. I was lucky enough to have a copy of X Package. I also used Raspberry Pi for the first time. Because Raspberry Pi 3 was just launched soon, there are few tutorials on the internet. Let's share with you how Raspberry Pi 3 installed centos 7 arm.I. Prepare toolsA tf card larger than 4G capacity (please
1. Download tomcat8.5 and Unzip2. Copy the extracted files to the USR directory3. Execution:/usr/tomcat8.5/bin/startup.sh If the prompt permission is insufficient, execute:chmod +x/usr/tomcat8.5/bin/startup.sh4. Port settings:Firewall-cmd--permanent--zone=public--add-port=8080/tcpFirewall-cmd--permanent--zone=public--add-port=8080/udp5. Restart the firewall:Firewall-cmd--reload6, in the browser execution: 192.168.1.xx:8080 Determine whether the boot is normal7, Close:/usr/tomcat8.5/bin/shutdown.
Install the Mind Map software XMind in centos 7
1. log onto the xmind official website, download the deb installation package: http://www.xmind.net/download/linux/
2. decompress the Deb package and get two archive files: data.tar.gz and control.tar.gz.
3. decompress data.tar.gz To Get A usr folder, copy the lib/xmind folder under this folder to the/opt/folder,
First ?? Chaos? What is NC (VirtualNetworkComputing) VNC allows the Linux system to access the Linux desktop like remote desktop access in Windows. The machine configured in this article is running in a Centos7HP server environment of Xingning Network Information Center. First, try to install VNC on the server without [root @ wic ~]. # Rpm-qtigervnctigervnc-server
First ?? Chaos? What is NC (Virtual Network Computing) VNC allows a Linux system to acce
Install Redis and MongoDB in CentOS 7
The previous article recorded Node. js. This time we talked about installing Redis and MongoDB in CentOS 7, so we basically installed the entire development environment of Node. js.Redis
Installing apsaradb for Redis in
Install and configure MySQL 5.7 and centosmysql in CentOS 7
Test environment:
CentOS 7 64-bit Minimal MySQL 5.7
Configure yum Source
Locate the yum source rpm installation package in the https://dev.mysql.com/downloads/repo/yum/
Rpm installation package
the file, use the MV command to change all the repo files except "Local.repo" to "file name. Repo.bak" (not recommended).5. Enter "Yum clean all" for cleanup.6. Enter "Yum install vsftpd" to try to install VSFTPD, enter Y to start the download when the following screen appears.7. The system prompts to confirm the GPG signature authentication, enter y directly to
Install Powershell on Centos 7
Powershell has been open-source for a while, and it has been briefly introduced on technet's blog.
PowerShell on Linux and Open Source! | Windows PowerShell Bloghttps: // blogs.msdn.microsoft.com/powershell/2016/08/18/powershell-on-linux-and-open-source-2/
The above link contains a wide range of open source powershell resources f
You may be faced with the problem of using SSH or telent to telnet to a Linux server, running tasks that take a long time to complete, such as system backups, FTP transmissions, and so on. Typically, we open a remote terminal window for each of these tasks, because they take too long to execute. You must wait for them to finish, during which you cannot turn off the window or disconnect, if the network exception or other factors cause a sudden disconnect, the remote command will stop, you can onl
Install and configure JDK-7 in Linux CentOS 6.5
System Environment: CentOS-6.5Installation Method: rpm InstallationSoftware: jdk-7-linux-i586.rpm: Http://www.Oracle.com/technetwork/java/javase/downloads/index.html
Check the original system version[Root @ localhost ~] # Java-
Tags: official 5.6 Key strong quick Ida using char HTTPSReference Official Document: https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/ First create a repo file vim/etc/Yum. Repos.d/mysql-community.repo Then write according to the official documentation: For example, installing MySQL 5.7 in CentOS 7 [mysql57-Community]
name5.7 Community Server
baseurl=http:// repo.mysql.com/yum/mysql-5.7-community
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.