current location:Home > Technical Articles > Development Tools

  • Gitlab cannot be opened after clearing the firewall
    Gitlab cannot be opened after clearing the firewall
    Among enterprise-level code hosting platforms, GitLab is a highly respected choice. In the daily operation and maintenance of the platform, it is very common to add firewall rules. However, if the firewall rules are set improperly, GitLab may be unable to be accessed. If this happens, users can first consider clearing the firewall. However, some users may find that GitLab is still unable to access normally after clearing the firewall. This article will introduce you to the relevant processing methods in detail. Problem description: When users clear the firewall, they usually use the following command: iptables -F
    git . vim 885 2023-05-17 12:41:07
  • How to install nodejs under ubuntu and implement Nginx reverse proxy server
    How to install nodejs under ubuntu and implement Nginx reverse proxy server
    1. It is strongly recommended to use nvm (node ​​version manager) to install the new version of nodejs. There are more or less problems with other installation methods. The specific steps are as follows: 1. Download nvm through the git command. The execution command is as follows. We download nvm to /root/git/ (remember to install git first): [root@vm-22-180-ubuntu~]#pwd/ root[root@vm-22-180-ubuntu~]#mkdirgit[root@vm-22-180-ubuntu~]#cdgit[root@vm-22-180-ubuntu~]#gitclonehttps://
    Nginx . vim 1646 2023-05-17 09:13:05
  • How to install and configure FastDFS to integrate Nginx-1.13.3
    How to install and configure FastDFS to integrate Nginx-1.13.3
    1: Download fastdfs We need a total of three files 1.fastdfs Distributed file storage system 2.libfastcommon Fastdfs function library 3.fastdfs-nginx-module When connecting to the nginx function module download, please note that the format downloaded here is .zip and not tar.gz. The reason for this is that an error will occur when using the fastdfs-nginx-module module to integrate nginx. The reason is that the fastdfs version must be >=5.11. Otherwise, an error will be reported when compiling nginx. You can look at the inst of the module
    Nginx . vim 1727 2023-05-16 16:43:39
  • What is the difference between Linux commands su and sudo
    What is the difference between Linux commands su and sudo
    1. Preparation The command to create a new user in Linux is useradd. In general, the path corresponding to this command is in the PATH environment variable. If typing useradd directly does not work, use the absolute path name: /usr/sbin/useradd . The useradd new user command can only be executed by the root user. First switch from the ordinary user ubuntu to the root user (how to switch will be introduced later): ubuntu@VM-0-14-ubuntu:~$su-Password:#Enter the root user login password root@VM-0-14-ubuntu:~#useradd-mtest_user
    Linux Operation and Maintenance . vim 1387 2023-05-16 11:07:12
  • centos golang installation
    centos golang installation
    Install Golang on CentOS Go is a programming language developed by Google with good concurrency and efficient performance, and is an increasingly popular language in modern web application development. This article will introduce the steps to install and configure Golang on CentOS. 1. Download Golang First, you need to go to the official website to download the Golang installation package. In the download page, you can select the Golang version you want to download and the installation package for CentOS. wget https://
    Golang . vim 1004 2023-05-16 09:23:37
  • How Docker runs nginx and mounts local directories into images
    How Docker runs nginx and mounts local directories into images
    1. Pull the image dockerpullnginx from hup. 2. Create the directory to be mounted: mkdir-p/data/nginx/{conf, conf.d, html, logs} 3. You must first have a configuration file to start the container 3.1vim/data/conf/nginx. confusernginx;worker_processes1;error_log/var/log/nginx/error.logwarn;pid/var/run/nginx.pid;events{worker_connections1024;}http{includ
    Nginx . vim 1271 2023-05-15 20:25:16
  • How to realize automatic synchronization of web pages in Linux
    How to realize automatic synchronization of web pages in Linux
    Use multiple web servers to achieve load balancing. In order to maintain the consistency of resources on the front-end web server, you can synchronize updated files to other slave servers (read-only servers) through rsync on the master server (data can be written), but it cannot Automatically perform real-time synchronization. Use inotify to achieve real-time synchronization. Master server: 192.168.6.205 inotify slave server: 192.168.6.36rsync1. Configure rsync on the slave server and enable the rsync service so that the master service can synchronize resources to vim on the server. /etc/rsyncd.confuid=nginxgid=nginxport=873ho
    Linux Operation and Maintenance . vim 1036 2023-05-15 16:58:21
  • What to use for golang ide
    What to use for golang ide
    As a popular programming language, Golang (or Go) often needs to use an IDE to improve development efficiency during the development process. So, what is the best Golang IDE to use? This article will recommend some of the more popular Golang IDE tools, as well as their advantages and disadvantages. 1. GoLand GoLand is an IDE tool specially designed for Golang development developed by JetBrains. GoLand provides a series of powerful functions for Golang compilation and debugging management.
    Golang . vim 629 2023-05-15 10:47:07
  • 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 1474 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 1650 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 2507 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 1084 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 16077 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 2382 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 10803 2023-05-13 14:52:07

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