Production 丨 Docker Co., Ltd (ID:DOCKER-CN)
Compiling 丨 small East
Every Monday, five 6:10 P.M. with you see not scattered
Say in front
Today brings you a tutorial on creating a kubernetes cluster quickly with Docker. This tutorial is based on my previous article "10-minute deployment of kubernetes cluster," updated, condensed. This tutorial has been verified by me many times, and it has some guiding significance. Especially when you want to create a cluster in the cloud or locally as soon as
restart, it is not too cool.
After the deployment under Linux, I thought it would be much simpler than windows, but since I experienced the Digitalocean one-click Deployment Mirror, I feel like I'm too simple. Remind you not to use do in the Ubuntu16.04 of the Django one-click Mirror, do not know why suddenly hung up, and one can not use domain name access. Ubuntu14.04 's Django One-click mirror is fine, and the Django version is too old to be upgrad
associated fields often have a deferred load condition. This means that Django is often unwilling to take the initiative to perform a join. If you end up needing the relevant fields, Django will do an extra query to meet the requirements.
If you do need related fields, this may cause the number of SQL queries to become n+1. For example, suppose you want to replace a version of Twitter. We create a set of push-text patterns, and each pattern is associated with user mode. On the home page, we can
Linux installs MySQL and configures the database to connect to the server via its own computerYesterday installed MySQL, this morning configuration MySQL can use the native connection server database, server when Digitalocean, provides a very comprehensive and professional documentation, when installing MySQL reference: https:// cloudsupport.digitalocean.com/s/#none |KA21N000000COX3QACInstall the installation of this, install the default version of Ap
16.04guide can help you.
In this example, we ' re moving the data to a block storage device mounted at /mnt/volume-nyc1-01 . You can learn how to set one up in the "to" use Block Storage on Digitalocean Guide.No matter what underlying storage your use, this guide can help you move the data directory to a new location.Step 1-moving the MySQL Data DirectoryTo prepare for moving MySQL ' s data directory, let's verify the current location by startin
1. Installing ApacheYou can install Apache by entering the following command in the terminal:sudo yum install httpdsudo means what to do with the root user. It is very convenient to confirm the download installation by clicking on Y.Then use the following command to start the servicesudo service httpd startNow do not worry down, directly in the browser input digitalocean to your IP address, you should be able to access the Apache Welcome page. Looks l
consider selling rogue VPS, directly to do a shielded password system, users buy the time to submit their own SSH key, or the system assigned you an SSH key, so it will be more secure 。 The foreign Amazon EC2, Digitalocean, and hpcloud all have the means to import their SSH Key and shield the password by default, which greatly increases the security.Reprint Please specify: Tsutenkaku tower? Simple security settings After purchasing a Linux VPS server
tutorial.
A domain name that points to your server, you can refer to how to create a domain name on the Digitalocean. This tutorial will be used mqtt.example.com instead.
Step 1 Install MosquittoUbuntu16.04 the Mosquitto version of the default software warehouse is quite new. Log in with your non-root user and use the apt-get installation Mosquitto.sudo apt-get install mosquitto mosquitto-clientsBy default, Ubuntu launches the Mosquitto serv
IntroductionR is a popular open source programming language This specializes in statistical computing and graphics. It is widely used by statisticians for developing statistical software and performing data analysis. One of R's strengths is that it's highly and easily extensible by allowing users to author and submit their own packages. The R community are known to be very active and are noted for continuously adding user-generated statistical packages for S pecific areas of study, which makes R
If your server is always reporting low memory, and often because of insufficient memory to cause the service to be forced to kill, without increasing physical memory, enable swap area as virtual memory is a good choice, I purchased the Digitalocean VPS 512M memory is not enough , fortunately, the use of a VPS hen SSD, the normal read and write speed is above 300mb/s, the performance improved after the swap enabled, especially in the processing of larg
have a kubernetes cluster, you can import it by inserting a kubeconfig file from that cluster)?For this article, we will use rancher Kubernetes Engine (Rke) to create a cluster. When you create a cluster, you can choose to create a new node directly when you create the cluster (by creating a node from a cloud provider like Digitalocean/amazon) or using an existing node, and have rancher connect to the node with SSH credentials. The method we discusse
toggle display IP host name, s whether to display the local information, d whether to display the remote information, n switch port service name, b switch whether the number of hours flow graph bar.
Because recently many customers of the VPS or server was hacked, the reason is to use a very simple root password, so consider after selling rogue VPS, directly to do a shielding password system, users buy the time to submit their own SSH key, or the system assigned to you an SSH key, so it will
After several versions of evolution, one-click Test Script bench.sh has been applied almost entirely to network (downlink) and IO testing for various Linux distributions.And the test results are shown in a more beautiful way.
Summarize the characteristics of bench.sh:1, display the current test of various system information;2, from the world's many well-known data center Test points, download testing more comprehensive;3, support IPv6 download speed;4, IO test three times, and display the avera
To view the objectclass definition, then: ldapsearch-h ldap://-x-s base-b "Cn=subschema"-lll objectclasses | Less Summary
Although the operation of the OpenLDAP server seems difficult, the next step is relatively simple, knowing how to configure the DIT and how to find the metadata within the system. Modifying the Cn=config dit with the LDIF file can immediately affect the system in operation. In addition, the DIT configuration system enables us to set up remote management mechanisms using each
(Click the public number above for a quick follow-up)
February 4, 2017, GitLab a serious deletion of the library accident.
April 5, 2017, a well-known VPS service provider Digitalocean There was an accident to delete the production database.
On April 24, RM-RF * * Also added a "murder" ...
VPS Service Provider Kuriko Official website issued a notice, said: Because the engine room technician RM-RF/*, resulting in all data on the host lost
A lot of friends have encountered such a problem, that is: through the invitation of other people link, when they entered the student discount code on GitHub, but the prompt is not available.
The reason is that the Digitalocean website limits the number of offers, which means that no matter how you get the offer, you can only offer it once, so the student code doesn't work.
This time you can in the site support to submit a ticket, that is, to send a
Label:some commands and rules and preparationThis process again Digitalocean on the VPS on the passSee if you have installedRpm-qa | grep nginxRemove installation#普通删除模式RPM-E Nginx#强力删除模式, if you use the above command to delete, prompting for other dependent files, then use this command can be strongly deletedRPM-E--nodeps NginxTo see if the port is occupiedNetstat-ano|grep 80Directory#源码/usr/local/src#安装目录/user/local/Install packages required for com
IntroductionJava is a programming technology originally developed by Sun Microsystems and later acquired by Oracle. Oracle Java is a proprietary implementation for Java that's free to download and use for commercial use, but not to Redis Tribute, therefore it is not included in a officially maintained repository.There is many reasons why do you would want to install Oracle Java over OpenJDK. In this tutorial, we'll not discuss the differences between the above mentioned implementations.Assumptio
author gives is deleted once a month, according to my site, almost two days, the log is full of the entire VPS hard drive, proposed to modify the daily 4 o'clock in the morning delete a log, that is, 0 4 * * */home/dellog.shRemind you to take a few minutes to learn about the crontab time parameter setting, which has five fields, namely minute, hour, number, month, week:Modify the MySQL configuration fileThis is the most thorough and versatile way to permanently shut down the MySQL log file outp
, restart the errorNginx: [Warn] the "log_format" directive May is used only on "HTTP" level in/etc/nginx/nginx.conf:84"Log_format" misplaced location should not be placed on the server node, should be placed in the HTTP node, adjusted to restart the goodInstallation of 4.mysqlLike Nginx and PHP5-FPM, the process is relatively smooth, not much talkDeployment BlogDownload Onethink Source Packagewget http://down.thinkphp.cn/onethink.php?key= Mtqwmzc1odu3olvbf3ywzzmryhtsnb6p3nuuo3pzsarp3lkcy6uypa2n
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.