7.4安装php linux
2019-05-21 15:45:26 u010766519 阅读数 61

安装RedHat Linux 7.4

  1. 创建新的虚拟机

  1. 选择“自定义(高级)”

  1. 选择“下一步”

 

 

 

 

 

  1. 选择“稍后安装操作系统”

 

  1. 选择操作系统的类型

 

  1. 设置虚拟机名称和保存路径

 

 

 

 

  1. 下一步

  1. 下一步

 

  1. 设置网络类型,选择“使用仅主机模式网络”

 

 

  1. 下一步

  1. 下一步

  1. 下一步

 

 

 

  1. 设置硬盘容量,可以适当大一些

 

  1. 下一步

  1. 点击“完成”

 

  1. 加载ISO光盘,并启动虚拟机

  1. 选择第一个选项,并回车

 

  1. 选择“Continue”

 

  1. 选择“设置时区”

 

  1. 配置安装选项

 

  1. 配置网络和主机名(非常重要)

 

 

 

  1. 开始安装

 

  1. 设置root用户的密码

 

  1. 重启虚拟机

 

 

 

 

 

 

 

 

 

  1. 完成配置

  1. 完成向导

 

 

   

 

 

 

2018-06-19 11:26:49 dududxt 阅读数 1201

安装RedHat Linux 7.4

1.        创建新的虚拟机


2.        选择“自定义(高级)”


3.        选择“下一步”

 

4.        选择“稍后安装操作系统”


5.        选择操作系统的类型

 

6.        设置虚拟机名称和保存路径

 

7.        下一步


8.        下一步

 

9.        设置网络类型,选择“使用仅主机模式网络”

 

10.     下一步


11.     下一步


12.     下一步


13.     设置硬盘容量,可以适当大一些


14.     下一步


15.     点击“完成”


16.     加载ISO光盘,并启动虚拟机


17.     选择第一个选项,并回车

 

18.     选择“Continue”

 

19.     选择“设置时区”


20.     配置安装选项


 

21.     配置网络和主机名(非常重要)





22.     开始安装

 

23.     设置root用户的密码

 

24.     重启虚拟机


25.     完成配置


26.     完成向导





    



有什么问题,欢迎留言,看到后会及时给你回复。

 

   

 

 


2018-06-27 11:36:09 dududxt 阅读数 603

安装RedHat Linux 7.4

1. 创建新的虚拟机

 

2. 选择“自定义(高级)” 


3. 选择“下一步”


4. 选择“稍后安装操作系统” 


5. 选择操作系统的类型


6. 设置虚拟机名称和保存路径


7. 下一步 


8. 下一步 


9. 设置网络类型,选择“使用仅主机模式网络”


10. 下一步 


11. 下一步 


12. 下一步


13. 设置硬盘容量,可以适当大一些 


14. 下一步 

15. 点击“完成”


16. 加载ISO光盘,并启动虚拟机 


17. 选择第一个选项,并回车


18. 选择Continue


19. 选择“设置时区”


20. 配置安装选项


21. 配置网络和主机名(非常重要) 





22. 开始安装


23. 设置root用户的密码


24. 重启虚拟机


25. 完成配置 


26. 完成向导

    

 


 

    

 

 

 

2018-12-07 10:44:30 j_ychen 阅读数 165

2299494.1

1959008.1

18841764

18370031

26247490

28429134

yum provides *fuser 最小安装。。还有其他包 compat-libstdc++...

yum install perl_CPAN

Switch-2.17.tar.gz

Env-1.04.tar.gz

www.cpan.org

打acfs的报错:

2018-12-07 10:17:42: Removing file /etc/rc.d/rc6.d/K15ohasd

2018-12-07 10:17:42: Successfully removed file: /etc/rc.d/rc6.d/K15ohasd

2018-12-07 10:17:42: Creating a link "/etc/rc.d/rc6.d/K15ohasd" pointing to /etc/init.d/ohasd

2018-12-07 10:17:42: The file ohasd has been successfully linked to the RC directories

2018-12-07 10:17:42: Executing cmd: /u01/app/11.2.0/grid/bin/acfsdriverstate supported

2018-12-07 10:17:42: Command output:

>  ACFS-9200: Supported

>End Command output

2018-12-07 10:17:42: acfs is supported

2018-12-07 10:17:42: Executing '/u01/app/11.2.0/grid/bin/acfsroot install'

2018-12-07 10:17:42: Executing cmd: /u01/app/11.2.0/grid/bin/acfsroot install

2018-12-07 10:17:47: Command output:

>  ACFS-9459: ADVM/ACFS is not supported on this OS version: '3.10.0-693.el7.x86_64'

>End Command output

2018-12-07 10:17:47: /u01/app/11.2.0/grid/bin/acfsroot install ... failed

2018-12-07 10:17:47: USM driver install status is 0

2018-12-07 10:17:47: ACFS driver install actions failed

2018-12-07 10:17:47: Starting Oracle Restart

2018-12-07 10:17:47: Executing /u01/app/11.2.0/grid/bin/crsctl start has

2018-12-07 10:17:47: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl start has

2018-12-07 10:19:25: Command output:

>  CRS-4123: Oracle High Availability Services has been started.

>End Command output

2018-12-07 10:19:25: Checking ohasd

2018-12-07 10:19:25: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl check has

2018-12-07 10:19:25: ohasd started successfully

2018-12-12 16:40:49 lianghaigui 阅读数 30

1.这里我将mysql安装在/usr/local/mysql目录里面,也可以安装在其他地方

mkdir /usr/local/mysql

2.下载mysql压缩包

wget http://dev.MySQL.com/get/Downloads/MySQL-5.7/mysql-5.7.11-Linux-glibc2.5-x86_64.tar.gz 

3.解压并复制

tar -xvf mysql-5.7.11-Linux-glibc2.5-x86_64.tar.gz  
mv mysql-5.7.11-Linux-glibc2.5-x86_64/* /usr/local/mysql/ 

4.创建data目录

mkdir /usr/local/mysql/data

5.创建mysql用户和修改权限

groupadd mysql  
chown -R mysql.mysql /usr/local/mysql/

6.初始化数据(进入/usr/local/mysql,文件目录下)执行

./bin/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data/

7. 复制配置文件到 /etc/my.cnf

cp -a ./support-files/my-default.cnf /etc/my.cnf (选择y) 

8. mysql的服务脚本放到系统服务中

cp -a ./support-files/mysql.server /etc/init.d/mysqld

9.修改my.cnf文件

vim /etc/my.cnf

修改如下:(阿里云记用专用网络,记得把安全组的端口3306打开)

[mysqld]

skip-grant-tables #(加入这个是为了安装的号不用密码登录去重置mysql密码,重置好密码后,删除)
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
bind-address = 0.0.0.0 #(是为了Navicat连接mysql)

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
basedir = /usr/local/mysql
datadir = /usr/local/mysql/data
port = 3306
# server_id = .....
socket = /tmp/mysql.sock
character-set-server = utf8

# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M 

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES 

10.启动mysql

service mysqld start

11.重置mysql密码(CentOS 6 之后password字段改成authentication_string字段),刷新有效并退出

[root@localhost mysql]# mysql -u root mysql  
mysql> update mysql.user set authentication_string=password('123456') where user='root';
Query OK, 1 row affected, 1 warning (0.00 sec)
Rows matched: 2  Changed: 1  Warnings: 1

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye
[root@xxxx /]# 

12.创建快捷方式

ln -s /usr/local/mysql/bin/mysql /usr/bin

13.重启mysql

/etc/init.d/mysql restart

14.登录mysql

mysql -u root -p

 

没有更多推荐了,返回首页