HardyHu
  • Home
  • Archives
  • Categories
  • Tags
  • About

Linux view login log

1. utmp, wtmp, btmp File /var/run/utmp: The utmp file allows one to discover information about who is currently using the system. By default, who and w record the information of the cur
2022-02-08
#Linux

Docker Deployment Project - Demo vueblog

ForewordBilibili: https://www.bilibili.com/video/BV17A411E7aEGithub: https://github.com/MarkerHub/vueblog Docker Documentation: https://docs.docker.com/ Deploy in Linux environmentUse docker-compose f
2022-02-01
#Docker

Install Docker-compose on Linux systems

On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal
2022-01-30
#Docker

Vmware virtual machine set fixed IP address in CentOS 7

1. Open the virtual network editor dialogEdit -> Virtual Network Editor 2. Check physical host Network Interface Card settingsNetwork and Sharing Center -> Change adapter settings -> VMware
2022-01-26
#Linux #Vmware

CentOS modifies yum source to domestic source

1. Backup1mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. Download the new CentOS-Base.repo to /etc/yum.repos.d/CentOS 71wget -O /etc/yum.repos.d/CentOS-Base.repo htt
2022-01-26
#yum

How to Set or Change the Time Zone in Linux

Checking the Current Time Zone1timedatectl Changing the Time Zone in LinuxBefore changing the time zone, you’ll need to find out the long name of the time zone you want to use. The time zone naming c
2022-01-26
#Linux

Installing GitLab

GitLab - Installation(Traditional Way)1. Install related dependencies1yum -y install policycoreutils openssh-server openssh-clients postfix 2. Start the ssh service & set it to start on boot1syste
2022-01-26
#GitLab

Docker install Redis

Offical Images: https://hub.docker.com/_/redis Install1. Download Redis1docker pull redis 2. Create configuration file123mkdir -p /mydata/redis/conftouch /mydata/redis/conf/redis.conf 3. Create an in
2022-01-23
#Docker #Redis

Docker install MySQL

Install1. Download MySQL1docker pull mysql:5.7 2. Create an instance and start123456docker run -p 3306:3306 --name mysql \ -v /mydata/mysql/log:/var/log/mysql \ -v /mydata/mysql/data:/var/lib/mysql \
2022-01-23
#Docker #MySQL

Quickly create Linux with vagrant

1. Download VirtualBoxhttps://www.virtualbox.org/wiki/Downloads 2. Download Vagranthttps://www.vagrantup.com/downloads 3. Test Vagrant1vagrant 4. Vagrant init1vagrant init centos7 https://mirrors.ust
2022-01-23
#Linux #Vagrant
1…1819202122

Search

Hexo Fluid
总访问量 次 总访客数 人
浙ICP备2025160052号