Linux安装XAMPP 和使用

在linux上安装XAMPP 链接:https://pan.baidu.com/s/1O8CqTLsofgs1YdJXpOE-CA 提取码:ad10 复制这段内容后打开百度网盘手机App,操作更方便哦 阅读详情

下载地址: https://www.apachefriends.org/download.html

我下载的是:  xampp-linux-x64-5.6.24-1-installer.run

1.把文件上传到创建的目录test下

2.赋予执行权限(注意需要要在root权限下,需要加上sudo):

3.然后执行(注意一定要在root) ,安装过程遇到确认的地方都选择yes就行:

 4. 安装完成后,XAMPP默认会安装在/opt/lampp下,启动xampp

5.启动成功后,可以进入linux的图形界面打开一个浏览器,输入localhost,可以看到xampp的主页:

 

6.上传一个项目(我之前做的一个javaweb项目)到htddocs文件夹下

 

7.接下来部署xampp的mysql,想要在Windows的Navicat Lite for MySQL 连接linux的mysql数据库,需要我们打开mysql的连接授权,具体的操作步骤如下:

      (1)Linux下装完XAMPP之后,mysql是自带装好了的,这个时候,mysql的root用户没有密码。首先进入mysql,输入命令:mysql -uroot -p。输入密码时直接回车。

    

    (2)出现错误,然后输入命令 use mysql,切换到mysql的数据库,如下所示:

   

   (3)然后输入如下命令来查询所有可以登录数据库的用户表:select host,user,password from user;如下图所示:

    

     这里可以看到都只能本机访问mysql,如果要外部可以访问mysql,那么host这里应该是显示%,所以这里我们可以选择重新创建一个用户并授予最高的权限,语句如下:

  grant all privileges on *.* to 'root'@'%'  identified by '123456' with grant option; //这句话就是给root账户设置密码   为123456且host为%,即外部任何主机均可访问。

  *.*这个本意是数据库名.表名,我们这里没有写任何表名也没有写数据库名,就是意思所有的数据库都可以用这个root账户访问

  (4) 让刚刚修改的权限生效

 

 (5)然后接下来就是重启mysql服务,然后在Navicat Lite forMySQL建立连接,连接成功

    

 (6)在Navicat Lite for MySQL 导入项目的数据库文件(即是在Navicat Lite for MySQL 为你的项目建立数据库)

        

 

7.在虚拟机的浏览器运行javaweb1项目(运行成功啦。。。laugh.gifuploading.4e448015.gif转存失败重新上传取消大笑)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Linux下安装xampp Linux下安装xampp 1.将准备好的安装包放入 /opt下 或使用wget下载 2.给安装包添加权限 chmod -R 755 xampp-linux-XXX-installer.run 3.运行安装 ./xampp-linux-XXX-installer.run 4.安装完成后尝试运行 /opt/lampp/lampp start 此时出现错误 xampp error: XAMPP is currently only availably as 32 bit application. Please u 阅读详情

相关推荐

linux下xampp的使用

linux下xampp的使用 linux下xampp的使用 linux下xampp的使用

linux安装xampp(可内网安装)

linux服务器搭建php项目,包括环境配置和必备软件 持续更新

qq5201314wx的博客 4878

Linux下XAMPP安装教程

Ubuntu11.04中XAMPP安装教程,经测试无误。欢迎下载使用

如何安装xampp(linux版)

如何安装xampp(linux版)

weixin_41801682的博客 3106

病理组学分析系列教程1:使用Python-histolab进行病理图像预处理,tiles切片自动生成

病理图像tiles自动生成,WSI图像预处理

qq_43449643的博客 1741

YOLOv8的Anchor-Free革新:从中心点预测到动态IoU匹配的全面解析

本文深入解析了YOLOv8采用Anchor-Free(无锚框)设计的核心优势与实现机制。通过摒弃预设锚框,模型直接预测目标中心点与宽高,结合解耦头、动态IoU匹配及Varifocal Loss等创新,显著简化了训练流程并提升了检测精度,尤其在小目标检测和模型泛化能力上表现突出。

weixin_29094301的博客 356

在Linux系统下XAMPP安装与配置(可离线安装)

在Linux系统下XAMPP安装与配置(可离线安装) XAMPP网址:https://www.apachefriends.org/zh_cn/index.html 首先找到自己需要安装的版本下载地址(本文以版本xampp-linux-x64-7.4.7-0-installer.run为例) root用户下进行下载安装,linux系统下,可以使用 wget -c 加下载地址,这里是下载的.run格式。 XAMPP文件下载好,切换到文件的存放目录,输入安装命令,如图所示进行安装: 直到进度条走完,显示安装完

qq_25359841的博客 1万+

使用 Cynthion 与 Packetry 进行 USB 抓包与协议分析

Cynthion 是 Great Scott Gadgets 推出的USB 流量分析与注入设备。它具备以下特点:通过 FPGA 实现高速 USB 流量捕获;能够同时作为 USB Host 和 Device,进行调试和测试;支持输出 pcap 文件,可直接用 Wireshark 分析;提供 Python API,方便与上层软件联动。简单来说,Cynthion 是一个USB 协议分析仪 + 注入工具。硬件层捕获:实时拦截 USB 总线上的数据包;软件层解析。

YIMUleizi的博客 1264

linux 下安装配置xampp环境

最近因为要部署一个php的公众号应用到一台linux的测试服务器,在考虑是用xampp这样的集成环境还是自己配置。故两个都安装配置下。最后经过研究查阅相关资料后,总结: 因为xampp本身很开放,几乎所有的功能都是打开的,安全性不够高,所以不太适合生产环境部署应用,只适合在开发环境中使用。 不过xampp的安装配置过程还是有必要记录下的,毕竟还要开发呢。安装Linux系统是centOS 6.5。

lucasma的博客 2万+

实测对比:纳芯微NSD1624在光伏逆变器中的性能表现(含温度测试数据)

本文详细评测了纳芯微NSD1624非隔离驱动芯片在光伏逆变器中的性能表现,包括动态效率、高温稳定性及抗干扰能力。实测数据显示,该芯片在800V母线电压下效率峰值达99.03%,高温环境下结温稳定在102.7℃,且传播延迟一致性优异。与竞品相比,NSD1624在总损耗和热阻方面具有显著优势,是光伏逆变器驱动方案的理想选择。

weixin_29297127的博客 363

ESP32编译卡在‘Cannot establish a connection to the component registry’?别急着重装,先试试这两个国内镜像配置

本文详细解析了ESP32编译过程中常见的‘Cannot establish a connection to the component registry’报错问题,并提供了国内镜像源的配置方案。通过对比Gitee、清华大学、阿里云和中科大等镜像源的性能,帮助开发者快速解决网络连接问题,提升编译效率。文章还包含手把手的配置教程和进阶技巧,适用于ESP-IDF开发环境的优化。

weixin_34088048的博客 341

在Linux系统下XAMPP安装与配置

XAMPP是最流行的PHP开发环境 XAMPP是完全免费且易于安装的Apache发行版,其中包含MariaDB、PHP和Perl。XAMPP开放源码包的设置让安装和使用出奇容易。 网址:https://www.apachefriends.org/zh_cn/index.html 首先找到自己需要安装的版本下载地址。 root用户登录系统,不是root用户的,用su命令切换下 下载安装...

吖权 2万+

基于STM32、HAL库的IP5356M快充协议芯片简介及驱动程序设计

@param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。* @param hip: IP5356M句柄指针。

corlin6688的博客 1220

Linux安装xampp

<br />1.下载:xampp   <br /> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br /> 2.下载后请输入以下命令:<br /><br />    1. 进入 Linux shell 并以系统管理员的身份登录:<br />       su<br />    2. 将下载的压缩文件释放到 /opt:<br />       tar xvfz xampp-linux-1.7.3a.tar.gz

知识改变未来 2230

多体动力学分析软件:SIMPACK_(17).SIMPACK高级编程与脚本

自定义力和约束可以用于模拟更复杂和现实的物理场景。SIMPACK 提供了接口,允许用户通过 Python 脚本来实现自定义力和约束。以下是一个示例,展示如何定义一个自定义力函数并应用于模型。# 定义自定义力函数"""自定义力函数:param t: 时间:param position: 位置:param velocity: 速度:return: 力"""# 创建一个新的 SIMPACK 模型# 添加一个刚体# 添加一个关节# 添加一个自定义力# 设置仿真参数# 运行仿真。

kkchenjj的博客 1421

(二)OpenClaw-连接即时通讯平台-集成飞书完整配置指南

本文详细介绍了如何将OpenClaw与飞书机器人对接,实现通过飞书聊天窗口下达指令自动执行任务的高效协作模式。主要内容包括:1)OpenClaw服务部署验证和飞书账号准备;2)在飞书开放平台创建企业自建应用、添加机器人能力、获取凭证和开通必要权限;3)OpenClaw服务端的首次配置,包括设置飞书通道参数和启动长连接。文章提供了完整的操作步骤和截图指引,帮助用户快速完成对接配置,实现AI自动化助手功能。

直到世界的尽头 2246

linux下xampp的使用教程,Linux下安装xampp教程

xampp是一套很好使用的web服务器组合软件,这里教大家如何在linux安装搭建xampp,希望能帮助到你首先下载xampp安装包Linux版xampp-linux-1.8.3.5-install.run用root用户登录到Linux系统,不是root用户的,用su命令切换下windows系统下百度搜索xampp,下载完成后可以用SSH工具将下载的文件上传到Linux系统中linux系统下,可以...

weixin_39967405的博客 1174

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

linux下xampp安装

分享知识 传递快乐 一:安装xampp 1、到官网下载linux版xampp https://www.apachefriends.org/zh_cn/index.html 下载后为:xampp-linux-x64-5.6.24-1-installer.run 2、将下载的xampp的安装文件放到linux系统对应目录中,并切换到文件的存放目录。 输入命令:ls查看文件是否存在,接着输入安装...

旷野历程 3205

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

[Linux]XAMPP安装

XAMPP安装下载地址:http://xiazai.zol.com.cn/index.php?c=Detail_DetailMini&n=19e18f86d0596b5cd&softid=3293981、将压缩包文件[/压缩包文件目录/xampp-linux-x.x-x.tar.gz]解压至 [/opt] 目录下$sudo tar zxvf '/压缩包文件目录/xam...

164

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

linux下安装xampp

去xampp官网下载想要安装的xampp安装包(后缀是.run),选择安装包时要注意自己的Linux系统是64为还是32位的,如果选错的话可能会导致,运行.run安装包的时候没反应。所以如果运行.run安装包没反应一般考虑是安装包版本与操作系统不符。 使用 uname 指令 查看自己的Linux操作系统是多少位的 uname -m 安装xampp的过程就比较简单了,不过在安装前需要确认xampp.xxx.run文件是否有执行权限,一般来说是没有的,这个时候就需要添加一下了 chmod 755 x

wwz123124的博客 1982

xampp python linux,在Linux上安装和使用xampp教程

在Linux上安装和使用xampp教程分类:PHP_Python| 发布:camnprbubuol| 查看: | 发表时间:2011/10/2本文介绍xampp在Linux下安装和使用,测试环境Ubuntu 9.10,之前介绍的是xampp在Windows下的使用,xampp是做WEB开发测试的好帮手,完全免费开源,已经集成PHP、MYSQL、PERL和APACHE及一些常用的插件、应用程序,而且...

weixin_35645077的博客 610

xampp linux配置mysql_XAMPP for Linux 的安装及配置

1. 下载xampp并安装下载地址:http://www.apachefriends.org安装下载完成后,只要输入下列命令:(1).进入Linux命令模式,切换成为系统管理者:su(2).将下载的压缩档解压缩到 /opt下:tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt注意:请使用这些指令来安装XAMPP,不要使用任何微软操作系统底下的工具程序来解压缩档案,...

weixin_34174789的博客 896

xampp 目录结构 mysql_linux下安装xampp,XAMPP目录结构

XAMPP目录结构重要的文件和目录文件/目录 用途/opt/lampp/bin/XAMPP 命令库。例如 /opt/lampp/bin/mysql 可执行 MySQL 监视器。/opt/lampp/htdocs/Apache 文档根目录。/opt/lampp/etc/httpd.confApache 配制文件。/opt/lampp/etc/...

weixin_39983383的博客 345

linux下xampp的安装和配置文件,linux下xampp集成包安装配置方法

1、查看你linux系统的位数,是32位的还是64位的。使用uname -a命令查看。显示有x86_64则说明你是64位内核, 跑的是64位的系统.i386, i686说明你是32位的内核, 跑的是32位的系统2、首先下载xampp的安装包。打开网址:https://www.apachefriends.org/zh_cn/download.html或http://sourceforge.net/p...

weixin_31080717的博客 563

Linux下xampp的安装

首先在xampp官网上下载启动文件,然后用我们的Xftp传输一下 将传输的文件移动到opt目录下并设置权限 mv xampp-linux-x64-7.3.-2-installer.run /opt/ , chmod 777 xampp-linux-x64-7.3.6-2-installer.run 修改名称为xampp.run mv xampp-linux-x64-7.3.-2-installer.run xampp.run 一键安装xampp,输入./xampp.run,全部默认yes

qq_45886891的博客 765

linux xampp图形界面,linux下安装xampp,XAMPP目录结构

XAMPP目录结构重要的文件和目录文件/目录 用途/opt/lampp/bin/XAMPP 命令库。例如 /opt/lampp/bin/mysql 可执行 MySQL 监视器。/opt/lampp/htdocs/Apache 文档根目录。/opt/lampp/etc/httpd.confApache 配制文件。/opt/lampp/etc/...

weixin_30601893的博客 402
上一篇: 在idea下ssm整合的配置文件
下一篇: 多线程知识点(1)
Intelligent_33
博客等级 码龄9年 3粉丝 7原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值