current location:Home > Technical Articles > Development Tools
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to install and configure golang on linux
- Download and install Golang: First, we need to download and install Golang on the Linux system. The steps are as follows: In the terminal, obtain the official Golang installation package through the following command: wget https://golang.org/dl/ Unzip the installation package. Use the following command: tar-zxvfgo1.*.linux-amd64.tar.gz to move the decompressed directory to the /usr/local directory: mvgo/usr/local. Use the export command to configure environment variables: exportGOROOT=/usr/local/ goexportGOPATH=$HOME/goexpo
- Linux Operation and Maintenance . vim 1213 2023-05-14 21:37:19
-
- How to configure and test virtual domain names in Nginx environment
- Using nginx virtual domain name configuration, you can access the local server through a specific domain name without purchasing a domain name. Reduce unnecessary expenses before launch. Configuration steps 1. Edit the nginx.conf configuration file sudovim/usr/local/nginx/nginx/conf/nginx.xonf (1) Add the domain name to the file name (to facilitate future management). The code added here is http in nginx.conf Just add it under the node. But you need to pay attention to the path of the vhost folder. The path of the vhost folder created here is: /usr/local/nginx/nginx/conf/vhost, but ng
- Nginx . vim 1563 2023-05-14 16:22:06
-
- How to configure nginx to support .htaccess files to achieve pseudo-static
- Many people who searched for information on Google said that nginx currently does not support .htaccess files. I tested it according to nginx rules and found that nginx fully supports .htaccess files! The method is as follows: 1. Create a new .htaccess file in the directory where you need to use the .htaccess file, such as one of my discuz forum directories: copy the code as follows: vim/var/www/html/168pc/bbs/.htaccess2. Inside Enter the rules. Here I enter the pseudo-static rules of discuz: Copy the code as follows: #nginxrewriterulerewrite
- Nginx . vim 2422 2023-05-14 08:19:05
-
- rootforgot password mysql
- When performing MySQL database management, we often need to use the root account to operate. However, due to various reasons, we sometimes forget the password of the root account, which will directly affect our data management work. So, what should we do when we forget the MySQL root password? In the MySQL database, there are two common situations for forgetting the root password: 1. Forgetting the root password, but having root account permissions 2. Forgetting the root password, but not having root permissions. For the first case, only
- Mysql Tutorial . vim 877 2023-05-13 19:57:38
-
- How to execute tasks regularly in Linux
- 1 Tutorial 1.1 Install crontabsyuminstallcontabs#Install systemctlenablecrond through yum#Set up boot systemctlstartcrond#Start 1.2 Check the status of the crontab service: servicecrondstatus1.3 Check the log information of crontab tail-f/var/log/cron#The log information of crontab is placed in /var When cat/vat/log/cron in the /log folder executes the script regularly in crontab, there may be file permission problems. For example: At this time, you need to specify the time limit.
- Linux Operation and Maintenance . vim 15937 2023-05-13 19:01:04
-
- How to use Python Celery to dynamically add scheduled tasks
- 1. Background In actual work, there will be some time-consuming asynchronous tasks that require scheduled scheduling, such as sending emails, pulling data, and executing scheduled scripts. The main idea of implementing scheduling through celery is to introduce the middleman redis and start workers for task execution. celery- beat performs scheduled task data storage 2. Celery’s official documentation for dynamically adding scheduled tasks celery documentation: https://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html#beat-custom-schedulerscelery custom scheduling class illustrate
- Python Tutorial . vim 2003 2023-05-13 15:43:06
-
- How to change the image source for docker
- As Docker becomes more popular, more and more people are using it to build and deploy applications. However, when we use Docker to pull images, we often encounter slow speed problems. This is usually caused by the slow connection of the Docker image source we use in the domestic network environment. To solve this problem, we can increase the speed of pulling images by changing the Docker image source. This article will introduce how to change the image source for Docker. Step 1: Determine if the current Docker image source is changing
- Docker . vim 10671 2023-05-13 14:52:07
-
- How to deploy nginx, php and virtual host in CentOS environment
- os environment: centos6.1nginx: nginx-1.2.2php:php5.3.140, install dependency package copy code as follows: yuminstallopenssl-develpcre-develzlib-devellibjpeg-devellibpng-develfreetype-develgccmake1, add www user to execute nginx copy code as follows :useradd-m-r-s/sbin/nologin-d/opt/web/www2. Create a temporary directory and copy the code as follows: mkdir-p/var/tmp/n
- Nginx . vim 689 2023-05-13 12:40:06
-
- How to use linux bashrc
- In Linux, bashrc is a shell file in the home directory, used to store the user's personalized settings. The content in the bashrc file is loaded every time bash is started, and the current bash configuration and environment are customized based on the content. The functions of bashrc: 1. You can use the named function alias to customize the required instructions; 2. Set the environment path; 3. Prompt setting. 1. What is .bashrc? .bashrc is a shell file in the home directory, used to store the user's personalized settings. The content in the .bashrc file is loaded every time bash is started, and the current bash configuration and environment are customized based on the content. Supplement: .ba
- Linux Operation and Maintenance . vim 2805 2023-05-13 12:34:12
-
- How to use golang
- In recent years, Golang (or Go) has become a very popular programming language. Golang is an open source programming language originally designed and developed by Google. The Go language is designed as a programming language for modern computer applications that has both the safety of static types and the flexibility of dynamic types. The Go language has evolved into a language that is reliable, efficient, fast, free, and easy to use, and therefore is favored by more and more developers. This article will introduce in detail how to use Golang. 1. Install Golan
- Golang . vim 950 2023-05-13 09:00:37
-
- How to build a server using PHP and Linux
- 1. Install and configure the Linux system. First we need to install the Linux system on the server. Common Linux operating systems include: Ubuntu, CentOS, Debian, etc. We need to understand our needs before choosing an operating system. After installation, we need to perform basic configuration of the Linux operating system. For example, install necessary software, update security patches, modify IP addresses, etc. 2. Install and configure the Apache server. The Apache server is one of the most popular web server applications. It supports PHP and is open source and has high stability. We can install Apache through the command: sudoapt-getupdatesudoapt
- Linux Operation and Maintenance . vim 1572 2023-05-12 22:34:04
-
- How SpringBoot uses FTP to operate files
- Introduction: Use SpringBoot to configure the FTP server to upload, delete, and download files. Configure FTP to check whether vsftpdrpm-qa is installed | grepvsftpd Check whether vsftpd has been installed and check the version number. Install vsftpdyum-yinstallvsftpd. If an error is reported, use administrator rights to execute sudoyum-yinstallvsftpd. Turn off anonymous access. After turning off anonymous access, you can access the files inside if you want. An account and password are required; if not closed, you can access directly. vim/etc/vsftpd/vsftpd.conf If the prompt is a read-only file, then you only need to enter the command: sudovim
- javaTutorial . vim 1130 2023-05-12 19:37:04
-
- How to open an account on an Android phone JavaScript
- With the rapid development of mobile application development, JavaScript, as a popular programming language, has attracted more and more attention from developers. As the most popular mobile operating system in the world, Android phones have also received more and more attention as a platform for JavaScript development. So, how to develop and run JavaScript on Android phones? The following are some basic JavaScript methods and techniques for opening an account on Android phones for your reference. 1. Install Node.jsNode.js is a kind of development
- Front-end Q&A . vim 612 2023-05-12 17:30:07
-
- How to use Nginx to forward port 80 to port 8080 on Mac
- Environment macos version: 10.12.6nginx version: 1.12.1 Installation The author uses homebrew to install the library brewsearchnginxbrewinstallnginx. After installing it like this, you will find that the listening port of nginx is 8080, not 80, so at this time you need to change the listening port of nginx, then this One step is very critical and cannot be changed in the traditional way. Readers please read this part carefully. Since macos comes with its own apache service, it occupies port 80. First, you need to change the listening port of apache to another one or uninstall it directly. The author changed its listening port to 8011. Command Line
- Nginx . vim 1651 2023-05-11 21:49:16
-
- Analysis of Nginx installation examples under CentOS
- Installation environment: linux server centos7.3, root permission 1, installtheprerequisites:sudoyuminstallyum-utils2, tosetuptheyumrepository, createthefilenamed/etc/yum.repos.d/nginx.repowiththefollowingcontents: (note to replace the os version: $releasever, if the centos version is 7, Replace it with 7) command: use vim to edit the nginx.repo file vim/etc/yum.re
- Nginx . vim 929 2023-05-11 20:28:11