数据库学习之--Linux下Mysql源码包安装

本文涉及的产品
RDS MySQL Serverless 基础系列,0.5-2RCU 50GB
云数据库 RDS PostgreSQL,高可用系列 2核4GB
RDS MySQL Serverless 高可用系列,价值2615元额度,1个月
简介:

系统环境

操作系统:RedHat EL6

DB Soft:  Mysql 5.6.4-m7

Mysql 在linux下的安装方式有两种版本,一种为Binary(二进制),另外一种为Source(源码包),本文为Source Install方式。

1、安装前的准备

解压安装包


[oracle@ogg ~]$ ls

1
mysql-5.6.4-m7  mysql-5.6.4-m7.tar.gz  mysql-5.6.4-m7.tar.zip  ogg  oradiag_oracle  Readme--?+?.htm

[oracle@ogg ~]$ cd mysql-5.6.4-m7

1
2
3
4
5
[oracle@ogg mysql-5.6.4-m7]$ ls
BUILD        CMakeLists.txt   COPYING              extra               libmysql     mysql-test  README   sql-bench   support-files  vio
BUILD-CMAKE  cmd-line-utils   dbug                 include             libmysqld    mysys       regex    sql-common  tests          win
client       config.h.cmake   Docs                 INSTALL-SOURCE      libservices  packaging   scripts  storage     unittest       zlib
cmake        configure.cmake  Doxyfile-perfschema  INSTALL-WIN-SOURCE  man          plugin      sql      strings     VERSION

[oracle@ogg mysql-5.6.4-m7]$ tar zxvf mysql-5.6.4-m7.tar.gz

1
2
3
4
5
6
7
mysql-5.6.4-m7/mysql-test/lib/My/SafeProcess/
mysql-5.6.4-m7/mysql-test/lib/My/SafeProcess/safe_process.cc
mysql-5.6.4-m7/mysql-test/lib/My/SafeProcess/safe_kill_win.cc
mysql-5.6.4-m7/mysql-test/lib/My/SafeProcess/safe_process_win.cc
mysql-5.6.4-m7/mysql-test/lib/My/SafeProcess/Base.pm
mysql-5.6.4-m7/mysql-test/lib/My/SafeProcess/CMakeLists.txt
……

查看官方安装文档:INSTALL-SOURCE

 To install and use a MySQL binary distribution, the basic command

  sequence looks like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
shell> groupadd mysql
shell> useradd -r -g mysql mysql
shell> cd /usr/local
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
# Next command is optional
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> cp support-files/mysql.server /etc/init.d/mysql.server

 For example, with a compressed tar file source distribution on Unix, the basic installation command

sequence looks like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Preconfiguration setup
shell> groupadd mysql
shell> useradd -r -g mysql mysql
# Beginning of source-build specific instructions
shell> tar zxvf mysql-VERSION.tar.gz
shell> cd mysql-VERSION
shell> cmake .
shell> make
shell> make install
# End of source-build specific instructions
# Postinstallation setup
shell> cd /usr/local/mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
# Next command is optional
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> cp support-files/mysql.server /etc/init.d/mysql.server

2、准备源码安装所需要的工具和库文件(RedHat 安装光盘)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[root@ogg ~]# rpm -qa |grep make
automake-1.11.1-1.2.el6.noarch
make-3.81-19.el6.i686
 
[root@ogg ~]# rpm -qa |grep bison
bison-2.4.1-5.el6.i686
 
[root@ogg ~]# rpm -qa |grep gcc
gcc-c++-4.4.4-13.el6.i686
libgcc-4.4.4-13.el6.i686
gcc-4.4.4-13.el6.i686
gcc-gfortran-4.4.4-13.el6.i686
compat-libgcc-296-2.96-144.el6.i686
 
[root@ogg ~]# rpm -qa |grep cmake
 
[root@ogg ~]# rpm -qa |grep ncur
ncurses-base-5.7-3.20090208.el6.i686
ncurses-libs-5.7-3.20090208.el6.i686
ncurses-5.7-3.20090208.el6.i686
ncurses-devel-5.7-3.20090208.el6.i686
 
挂载RedHat安装光盘
[root@ogg ~]# mount /dev/cdrom /media/
mount: block device /dev/sr0 is write- protected , mounting read-only
[root@ogg ~]# cd /media/
[root@ogg media]# cd Server/
[root@ogg Server]# ls
Packages  repodata  TRANS.TBL
[root@ogg Server]# cd Packages/
 
[root@ogg Packages]# ls |grep make
automake-1.11.1-1.2.el6.noarch.rpm
cmake-2.6.4-5.el6.i686.rpm
imake-1.0.2-11.el6.i686.rpm
make-3.81-19.el6.i686.rpm
makebootfat-1.4-10.el6.i686.rpm
pacemaker-1.1.2-7.el6.i686.rpm
pacemaker-libs-1.1.2-7.el6.i686.rpm
 
安装cmake
[root@ogg Packages]# rpm -ivh /media/Server/Packages/cmake-2.6.4-5.el6.i686.rpm
warning: /media/Server/Packages/cmake-2.6.4-5.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
    1:cmake                  ########################################### [100%]
[root@ogg Packages]#

3、源码安装,检测编译环境

[root@ogg mysql-5.6.4-m7]# cmake ./

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check  for  working C compiler: /usr/bin/gcc
-- Check  for  working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check  for  working CXX compiler: /usr/bin/c++
-- Check  for  working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking  for  SHM_HUGETLB
-- Looking  for  SHM_HUGETLB - found
-- MySQL 5.6.4-m7
-- Looking  for  sys/types.h
-- Looking  for  sys/types.h - found
-- Looking  for  stdint.h
-- Looking  for  stdint.h - found

......

1
2
3
4
5
6
7
8
9
10
11
12
13
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS - Success
-- Performing Test HAVE_IB_ATOMIC_PTHREAD_T_GCC
-- Performing Test HAVE_IB_ATOMIC_PTHREAD_T_GCC - Success
-- Check size of pthread_t
-- Check size of pthread_t - done
-- Performing Test HAVE_PEERCRED
-- Performing Test HAVE_PEERCRED - Success
-- Googletest was not found. gtest-based unit tests will be disabled. You can run cmake . -DENABLE_DOWNLOADS=1 to automatically download and build required components from source.
-- If you are inside a firewall, you may need to use an http proxy: export http_proxy=http: //foo.bar.com:80
-- Configuring done
-- Generating done
-- Build files have been written to: /home/oracle/mysql-5.6.4-m7

可以指定一下参数:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -DCMAKE_INSTALL_PREFIX=/usr/local/mysql          \    #安装路径
# -DMYSQL_DATADIR=/usr/local/mysql/data            \    #数据文件存放位置
# -DSYSCONFDIR=/etc                                \    #my.cnf路径
# -DWITH_MYISAM_STORAGE_ENGINE=1                   \    #支持MyIASM引擎
# -DWITH_INNOBASE_STORAGE_ENGINE=1                 \    #支持InnoDB引擎
# -DWITH_MEMORY_STORAGE_ENGINE=1                   \    #支持Memory引擎
# -DWITH_READLINE=1                                \    #快捷键功能(我没用过)
# -DMYSQL_UNIX_ADDR=/tmp/mysqld.sock               \    #连接数据库socket路径
# -DMYSQL_TCP_PORT=3306                            \    #端口
# -DENABLED_LOCAL_INFILE=1                         \    #允许从本地导入数据
# -DWITH_PARTITION_STORAGE_ENGINE=1                \    #安装支持数据库分区
# -DEXTRA_CHARSETS=all                             \    #安装所有的字符集
# -DDEFAULT_CHARSET=utf8                           \    #默认字符
# -DDEFAULT_COLLATION=utf8_general_ci

4、编译

[root@ogg mysql-5.6.4-m7]# make

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Scanning dependencies of target INFO_BIN
[  0%] Built target INFO_BIN
Scanning dependencies of target INFO_SRC
[  0%] Built target INFO_SRC
Scanning dependencies of target abi_check
[  0%] Built target abi_check
[  1%] Generating common.h
[  1%] Generating help.c
[  1%] Generating help.h
[  1%] Generating vi.h
[  1%] Generating emacs.h
[  1%] Generating fcns.c
[  1%] Generating fcns.h
Scanning dependencies of target edit
......

5、安装

[root@ogg mysql-5.6.4-m7]# make install

1
2
3
4
5
6
7
8
9
10
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_row_sp003.test
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_mts_crash_safe.inc
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_stm_EE_err2.test
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_ndb_apply_status.test
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_mixing_engines.test
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_extra_col_slave.test
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/type_conversions.test
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_row_func003.test
-- Installing: /usr/local/mysql/mysql-test/./extra/rpl_tests/rpl_row_sp002.test
......

@至此,mysql安装完成!


6、数据库配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
初始化数据库
[root @ogg  mysql]#cd /usr/local/mysql
[root @ogg  mysql]# ls
bin  COPYING  data  docs  include  INSTALL-BINARY  lib  man  mysql- 5.6 . 4 -m7  mysql-test  README  scripts  share  sql-bench  support-files
 
[root @ogg  mysql]# chown -R mysql:mysql .
 
[root @ogg  mysql]# scripts/mysql_install_db --user=mysql
Installing MySQL system tables...
140917  13 : 51 : 22  InnoDB: The InnoDB memory heap is disabled
140917  13 : 51 : 22  InnoDB: Mutexes and rw_locks use GCC atomic builtins
140917  13 : 51 : 22  InnoDB: Compressed tables use zlib  1.2 . 3
140917  13 : 51 : 22  InnoDB: Using Linux  native  AIO
140917  13 : 51 : 22  InnoDB: CPU does not support crc32 instructions
140917  13 : 51 : 22  InnoDB: Initializing buffer pool, size =  128 .0M
140917  13 : 51 : 22  InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a  new  database to be created!
140917  13 : 51 : 22  InnoDB: Setting file ./ibdata1 size to  10  MB
InnoDB: Database physically writes the file full: wait...
 
[root @ogg  mysql]# chown -R mysql:mysql ./data
[root @ogg  mysql]# chmod -R ug+rws .
 
[root @ogg  mysql]# cp support-files/my-medium.cnf /etc/my.cnf
cp: overwrite `/etc/my.cnf'? y
 
配置参数文件
[root @ogg  mysql]# vi /etc/my.cnf
[mysqld]
port            =  3306
socket          = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
table_open_cache =  64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
user=mysql
datadir=/usr/local/mysql/data/mysql
default -storage-engine=MyISAM

7、启动数据库

[root@ogg mysql]# bin/mysqld_safe --user=mysql &

[1] 16592

1
2
3
4
5
6
[root @ogg  mysql]#  140917  13 : 56 : 51  mysqld_safe Logging to  '/usr/local/mysql/data/mysql/ogg.err' .
140917  13 : 56 : 51  mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data/mysql
140917  13 : 56 : 53  mysqld_safe mysqld from pid file /usr/local/mysql/data/mysql/ogg.pid ended
[ 1 ]+  Done                    bin/mysqld_safe --user=mysql
[root @ogg  mysql]# ps -ef |grep mysql
root      16888   5955   0  13 : 57  pts/ 1     00 : 00 : 00  grep mysql

数据库启动失败!

查看日志:

[root@ogg mysql]# cat /usr/local/mysql/data/mysql/ogg.err

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
140917  13 : 56 : 51  mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data/mysql
/usr/local/mysql/bin/mysqld: Table  'mysql.plugin'  doesn't exist
140917  13 : 56 : 51  [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
140917  13 : 56 : 51  InnoDB: The InnoDB memory heap is disabled
140917  13 : 56 : 51  InnoDB: Mutexes and rw_locks use GCC atomic builtins
140917  13 : 56 : 51  InnoDB: Compressed tables use zlib  1.2 . 3
140917  13 : 56 : 51  InnoDB: Using Linux  native  AIO
140917  13 : 56 : 51  InnoDB: CPU does not support crc32 instructions
140917  13 : 56 : 51  InnoDB: Initializing buffer pool, size =  128 .0M
140917  13 : 56 : 52  InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a  new  database to be created!
140917  13 : 56 : 52  InnoDB: Setting file ./ibdata1 size to  10  MB
InnoDB: Database physically writes the file full: wait...
140917  13 : 56 : 52  InnoDB: Log file ./ib_logfile0 did not exist:  new  to be created
InnoDB: Setting log file ./ib_logfile0 size to  5  MB
InnoDB: Database physically writes the file full: wait...
140917  13 : 56 : 52  InnoDB: Log file ./ib_logfile1 did not exist:  new  to be created
InnoDB: Setting log file ./ib_logfile1 size to  5  MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating  new
InnoDB: Doublewrite buffer created
140917  13 : 56 : 52  InnoDB:  128  rollback segment(s) are active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
140917  13 : 56 : 52  InnoDB: Waiting  for  the background threads to start
140917  13 : 56 : 53  InnoDB:  1.2 . 4  started; log sequence number  0
140917  13 : 56 : 53  [Warning] No existing UUID has been found, so we assume that  this  is the first time that  this  server has been started. Generating a  new  UUID: 6c803c62-3e2f-11e4-9db1-0800270ccfcc.
140917  13 : 56 : 53  [ERROR] Fatal error: Can 't open and lock privilege tables: Table ' mysql.host ' doesn' t exist
140917  13 : 56 : 53  mysqld_safe mysqld from pid file /usr/local/mysql/data/mysql/ogg.pid ended

重新启动数据库

[root@ogg mysql]# cd bin

[root@ogg bin]# ./mysqld

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
./mysqld: Table  'mysql.plugin'  doesn't exist
140917  13 : 58 : 17  [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
140917  13 : 58 : 17  InnoDB: The InnoDB memory heap is disabled
140917  13 : 58 : 17  InnoDB: Mutexes  and  rw_locks use GCC atomic builtins
140917  13 : 58 : 17  InnoDB: Compressed tables use zlib  1.2. 3
140917  13 : 58 : 17  InnoDB: Using Linux native AIO
140917  13 : 58 : 17  InnoDB: CPU does  not  support crc32 instructions
140917  13 : 58 : 17  InnoDB: Initializing buffer pool, size =  128. 0M
140917  13 : 58 : 17  InnoDB: Completed initialization of buffer pool
140917  13 : 58 : 17  InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn  48961
140917  13 : 58 : 17   InnoDB: Database was  not  shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information  from  the .ibd files...
InnoDB: Restoring possible half-written data pages  from  the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number  1595695
140917  13 : 58 : 17   InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress  in  percents:  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99
InnoDB: Apply batch completed
140917  13 : 58 : 17  InnoDB:  128  rollback segment(s) are active.
140917  13 : 58 : 17  InnoDB: Waiting  for  the background threads to start
140917  13 : 58 : 18  InnoDB:  1.2. 4  started; log sequence number  1595695
140917  13 : 58 : 18  [Note] Recovering  after  a crash using mysql-bin
140917  13 : 58 : 18  [Note] Starting crash recovery...
140917  13 : 58 : 18  [Note] Crash recovery finished.
140917  13 : 58 : 18  [ERROR] Fatal error: Can 't open and lock privilege tables: Table ' mysql.host ' doesn' t exist

数据库启动失败 

1
140917  13 : 58 : 18  [ERROR] Fatal error: Can 't open and lock privilege tables: Table ' mysql.host ' doesn' t exist

解决方法:

修改/etc/my.cnf

[mysqld]

datadir=/var/lib/mysql

重新指定数据库数据文件的位置!

再次启动Database:

[root@ogg mysql]# bin/mysqld_safe --user=mysql &

1
2
3
4
5
6
[root @ogg  data]# ps -ef |grep mysql
root      16955   5955   0  14 : 03  pts/ 1     00 : 00 : 00  /bin/sh ./mysqld_safe --user=mysql
mysql     17229  16955   0  14 : 03  pts/ 1     00 : 00 : 00  /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/var/lib/mysql --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/var/lib/mysql/ogg.err --pid-file=/var/lib/mysql/ogg.pid --socket=/tmp/mysql.sock --port= 3306
 
[root @ogg  data]# netstat -an|grep  3306
tcp         0       0  0.0 . 0.0 : 3306                 0.0 . 0.0 :*                   LISTEN

数据库启动成功!

配置数据库启动脚本,加入系统启动环境

1
2
3
4
5
6
7
8
9
10
11
12
13
[root @ogg  mysql]# cp support-files/mysql.server  /etc/init.d/mysql
 
[root @ogg  mysql]# service mysql stop
Shutting down MySQL.. 140917  14 : 06 : 29  mysqld_safe mysqld from pid file /var/lib/mysql/ogg.pid ended
                                                            [  OK  ]
[ 1 ]+  Done                    ./mysqld_safe --user=mysql  (wd: /usr/local/mysql/bin)
(wd now: /usr/local/mysql)
[root @ogg  data]# netstat -an|grep  3306
 
[root @ogg  mysql]# service mysql start
Starting MySQL..   
[root @ogg  data]# netstat -an|grep  3306
tcp         0       0  0.0 . 0.0 : 3306                 0.0 . 0.0 :*                   LISTEN                                        [  OK  ]

8、连接使用mysql database

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
修改管理员密码
[root@ogg mysql]# cd /usr/local/mysql/
[root@ogg mysql]# ./bin/mysqladmin -u root password
New password:
Confirm  new  password:
 
连接数据库
[root@ogg mysql]# ./bin/mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end  with  or  \g.
Your MySQL connection id is  2
Server version:  5.6. 4 -m7-log Source distribution
Copyright (c)  2000 2011 , Oracle  and / or  its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation  and / or  its
affiliates. Other names may be trademarks of their respective
owners.
Type  'help;'  or  '\h'  for  help. Type  '\c'  to clear the current input statement.
mysql> select *  from  tab;
ERROR  1046  (3D000): No database selected
 
mysql> use mysql
Database changed
 
mysql> select *  from  tab;
ERROR  1146  (42S02): Table  'mysql.tab'  doesn't exist
mysql> select host,user  from  mysql.user;
+-----------+------+
| host      | user |
+-----------+------+
127.0. 0.1  | root |
| :: 1        | root |
| localhost |      |
| localhost | root |
| ogg       |      |
| ogg       | root |
+-----------+------+
6  rows  in  set ( 0.00  sec)
mysql>

@至此,mysql database安装、连接成功!










本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1554367,如需转载请自行联系原作者
相关实践学习
每个IT人都想学的“Web应用上云经典架构”实战
本实验从Web应用上云这个最基本的、最普遍的需求出发,帮助IT从业者们通过“阿里云Web应用上云解决方案”,了解一个企业级Web应用上云的常见架构,了解如何构建一个高可用、可扩展的企业级应用架构。
MySQL数据库入门学习
本课程通过最流行的开源数据库MySQL带你了解数据库的世界。   相关的阿里云产品:云数据库RDS MySQL 版 阿里云关系型数据库RDS(Relational Database Service)是一种稳定可靠、可弹性伸缩的在线数据库服务,提供容灾、备份、恢复、迁移等方面的全套解决方案,彻底解决数据库运维的烦恼。 了解产品详情: https://www.aliyun.com/product/rds/mysql 
目录
相关文章
|
3月前
|
Ubuntu Linux
计算机基础知识:linux系统怎么安装?
在虚拟机软件中创建一个新的虚拟机,并选择相应操作系统类型和硬盘空间大小等参数。将下载的 ISO 镜像文件加载到虚拟机中。启动虚拟机,进入安装界面,并按照步骤进行安装。安装完成后,可以在虚拟机中使用 Linux 系统。
|
1月前
|
安全 Linux iOS开发
Nessus Professional 10.10 Auto Installer for RHEL 10, AlmaLinux 10, Rocky Linux 10 - Nessus 自动化安装程序
Nessus Professional 10.10 Auto Installer for RHEL 10, AlmaLinux 10, Rocky Linux 10 - Nessus 自动化安装程序
134 6
Nessus Professional 10.10 Auto Installer for RHEL 10, AlmaLinux 10, Rocky Linux 10 - Nessus 自动化安装程序
|
1月前
|
消息中间件 Kafka Linux
Linux下安装Kafka 3.9.1
本文介绍Kafka 3.9.1版本的安装与配置,包括通过ZooKeeper或KRaft模式启动Kafka。涵盖环境变量设置、日志路径修改、集群UUID生成、存储格式化及服务启停操作,适用于Linux环境下的部署实践。
205 0
|
3月前
|
网络协议 关系型数据库 Linux
【App Service Linux】在Linux App Service中安装 tcpdump 并抓取网络包
在App Service for Linux环境中,无法像Windows一样直接使用网络排查工具抓包。本文介绍了如何通过TCPDUMP在Linux环境下抓取网络包,包括SSH进入容器、安装tcpdump、执行抓包命令及下载分析文件的完整操作步骤。
191 5
|
3月前
|
弹性计算 安全 Linux
阿里云服务器ECS安装宝塔Linux面板、安装网站(新手图文教程)
本教程详解如何在阿里云服务器上安装宝塔Linux面板,涵盖ECS服务器手动安装步骤,包括系统准备、远程连接、安装命令执行、端口开放及LNMP环境部署,手把手引导用户快速搭建网站环境。
|
3月前
|
Ubuntu 安全 Linux
Linux这5款微型发行版,体积小+精简,比win7运行还快,值得安装
以上5款微型发行版体积小且精简,如果你有台旧电脑,不妨试试?
|
3月前
|
安全 Ubuntu Linux
如何安装Linux操作系统?
此时,您可以选择重新启动计算机,然后从硬盘上的Linux系统启动。以上是一个大致的安装过程。请注意,不同的Linux发行版可能会在细节上有所差异,因此在进行安装之前,请确保您阅读并理解了相应发行版的安装指南或文档。
|
3月前
|
Ubuntu Linux 数据安全/隐私保护
Win10安装Linux子系统教程!如何在Win10系统中安装Ubuntu!
登录系统后,输入cd /返回上一级,然后再输入“ls”查看一下系统文件目录,看看对不对!
|
3月前
|
Ubuntu Linux Shell
手把手教你安装适用于Linux的Windows子系统——Ubuntu
重启完成,你看看重新打开Ubuntu是不是发生了变化,等待几分钟,系统配置完成,根据提示设置用户名和密码即可