current location:Home > Technical Articles > Development Tools

  • How to install and configure golang on linux
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28