.img 4.0.5-300.fc22.x86_64Mkdir/boot/grubGrub2-mkconfig-o/boot/grub/grub.cfgClick the Linode Background panel dashboard, click the Edit button:In the Kernel drop-down menu, select Grub 2 Startup:After restarting the VPS, enter uname-a again to display the kernel version number.Example: Linux li63-119.members.linode.com 3.10.0-229.4.2.el7.x86_64At this point, you are free from the Linode official default kernel, you can install any version number of kernel, and then modify the Grub menu to specif
I recently got Selenium, Google Chrome, and Chromedriver installed and working on a Digitalocean instance running 64-bit U Buntu 14.04. Here's how:First, install Google Chrome for Debian/ubuntu:sudo apt-get install libxss1 libappindicator1 libindicator7wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debsudo dpkg -i google-chrome*.debsudo apt-get install -fNow, let's install so xvfb we can run Chrome headlessly:sudo apt-get i
are a lot of energetic guys will scan ssh password all day, of course, directly close SSH password login can prevent, but in order to give them a lesson, can install Fail2ban, shielding, but also can automatically write a report letter to the ISP IP.Installation under CentOS:Import Epel Source:CentOS 6.x 32-bit:RPM-UVH http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmCentOS 6.x 64-bit:RPM-UVH http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch
Abstract: In the article "Experience Digitalocean VPS Cloud Service" to build an Ubuntu 14.04 VPS operating system environment, and the use of Ubuntu The 14.04 version of the official software source has its own Docker package (Docker.io) installed, but the installed version is 1.0.1 older and some new features are not available (for example, Docker exec), This document records the method of upgrading to the latest Docker.First installation method: (A
When you deploy Tomcat in a UBUNTU14 new environment, starting an app with CI starts up to 15 minutes. Looking closely at the time-consuming statistics log of the Tomcat output finds the following log: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took[97431] Stroll on the StackOverflow for a while found the following explanation: http://stackoverflow.com/questions/26431922/ tomcat7-starts-too-late-on-ubuntu-14-04-x64-digitaloc
I recently got Selenium, Google Chrome, and Chromedriver installed and working on a Digitalocean instance running 64-bit U Buntu 14.04. Here's how:First, install Google Chrome for Debian/ubuntu:sudo apt-get install libxss1 libappindicator1 libindicator7wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debsudo dpkg -i google-chrome*.debsudo apt-get install -fNow, let's install so xvfb we can run Chrome headlessly:sudo apt-get i
Building an environment has always been a process of repeating wheels, and Docker machine brings together a variety of scenarios for users to build Docker environments. In the article "Introduction to Docker Machine", the author demonstrates the use of Docker machines to install a Docker environment on a local vSphere host. But in the big bang of the cloud today, what really makes us headache is probably a variety of IaaS platforms! This is where Docker machine really does its power.Docker Machi
1. Install ApacheYou can install Apache by entering the following command in the terminal:
sudo yum install httpd
sudo means what to do with the root user. To click on the Y to confirm the download installation, very convenient.Then use the following command to start the service
sudo service httpd start
Now do not hurry down, directly in the browser input digitalocean to your IP address, you should be able to access the Apach
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
path, the last is some optional parameters, such as Wsgi_log is the path of log files, as well as django_settings_module need to change the name of their project, like Appinsights_ Instrumentationkey,wsgi_ptvsd_secret,wsgi_ptvsd_address these are the parameters on Azure and we can delete them.
In IIS, create a new site, point to the root of the Web site, and note that the ports do not repeat.
Open the browser to access, no accident has been OK. If there is still a problem, is generally a permis
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 list the latest 30 tweets and their creators. In this case, Django needs to do at least 31 SQL queries. 1 of them get a push list, and another 1 times for each query completed user name retrieval.
The problem with this solution is select_related. This is a very simple query modification mechanism
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
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 starting an interactive MySQL session u Sing the administrative credentials.
Mysql-u root-p
When p
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
fail2ban startUbuntu/debian under Installation:Install fail2ban-yBy viewing/var/log/fail2ban.logFile to know which of the excess-energy guys are scanning your SSH all day.PostscriptBecause a lot of recent customers VPS or server was hacked, the reason is to use a very simple root password, so 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
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 service after installation. Let's test the default configuration first. Use a topic on the Mosquitto client
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
" --data-binary ‘{"currentPassword":"admin","newPassword":"thisisyournewpassword"}‘ --insecure?Creating an API Key?# Create API keyAPIRESPONSE=`curl -s ‘https://127.0.0.1/v3/token‘ -H ‘content-type: application/json‘ -H "Authorization: Bearer $LOGINTOKEN" --data-binary ‘{"type":"token","description":"automation"}‘ --insecure`?# Extract and store tokenAPITOKEN=`echo $APIRESPONSE | jq -r .token`?Create a clusterOnce the API key is generated, you can start creating the cluster. When creating a clus
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
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.