当前位置: 首页 > news >正文

烟台开发区做网站免费编程软件哪个好用

烟台开发区做网站,免费编程软件哪个好用,网站建设策划书结束语,注册万维网网站Aidux阉割版Debain10#xff0c;坑很多#xff0c;比如找不到实际的系统日志#xff0c;有知道的大神吗#xff1f; 1 Apache2安装 # 测试Apache2 sudo apt update sudo apt upgrade sudo apt install apache2 -y80端口疑似被禁止只能换端口 rootlocalhost:/… Aidux阉割版Debain10坑很多比如找不到实际的系统日志有知道的大神吗 1 Apache2安装 # 测试Apache2 sudo apt update sudo apt upgrade sudo apt install apache2 -y80端口疑似被禁止只能换端口 rootlocalhost:/home# /etc/init.d/apache2 start [....] Starting Apache httpd web server: apache2/usr/sbin/apache2ctl: line 99: ulimit: open files: cannot modify limit: Operation not permitted Setting ulimit failed. See README.Debian for more information. (13)Permission denied: AH00072: make_sock: could not bind to address [::]:80 (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs Action start failed. The Apache error log may have more information. . ok   # 80端口疑似被禁止只能换端口 # 修改 /etc/apache2/ports.conf 将 Listen 80 改为自己需要的端口如 Listen 9321 vim /etc/apache2/ports.conf # 修改/etc/apache2/sites-enabled/000-default.conf 将第一行的 # VirtualHost *:80 改为自己需要的端口VirtualHost *:9321 vim /etc/apache2/sites-enabled/000-default.conf # 在document打开文件 /etc/apache2/apache2.conf # 在最后添加ServerName localhost:9321  vim /etc/apache2/apache2.conf apachectl start apachectl restart #几种不同写法 # service apache2 restart # apachectl start # apachectl restart # /etc/init.d/apache2 startrootlocalhost:/home# apachectl start /usr/sbin/apachectl: line 99: ulimit: open files: cannot modify limit: Operation not permitted Setting ulimit failed. See README.Debian for more information. httpd (pid 22631) already running rootlocalhost:/home# apachectl restart /usr/sbin/apachectl: line 99: ulimit: open files: cannot modify limit: Operation not permitted Setting ulimit failed. See README.Debian for more information.   成功打开  2 Nextcloud部署  参考Example installation on Ubuntu 22.04 LTS — Nextcloud latest Administration Manual latest documentation 安装包zip上传到/var/www Index of /server/releases (nextcloud.com) sudo apt install unzip cd /var/www/ unzip -q nextcloud-29.0.2.zipsudo apt install mariadb-server libapache2-mod-php php-gd php-mysql \ php-curl php-mbstring php-intl php-gmp php-bcmath php-xml php-imagick php-zip -y 2.1 php8.x 现版本只支持php8.x以上的 sudo apt update sudo apt-get install ca-certificates apt-transport-https software-properties-common -yecho deb https://packages.sury.org/php/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/sury-php.listwget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -sudo apt-get update -y如果装错了版本这将卸载所有以php7.3开头的包包括php7.3-common、php7.3-cli等 sudo apt-get remove dpkg -l | grep php7.3 | awk {print $2} 2.2 Mysql安装 # 此处SSH远端会报错要重启APP sudo apt install mlocate libapache2-mod-php mariadb-client mariadb-server wget unzip bzip2 curl php php-common php-curl php-gd php-mbstring php-mysql php-xml php-zip php-intl php-apcu php-redis php-http-request -y 启动MySQL service mysql start sudo mysql -u root -p CREATE USER 账号localhost IDENTIFIED BY 密码; CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; GRANT ALL PRIVILEGES ON nextcloud.* TO 账号localhost; FLUSH PRIVILEGES; quit; hassm 2  mkdir /var/www/html/nextcloud/data # 最后将Nextcloud目录的所有权更改为HTTP 用户 cd /var/www/ sudo chown -Rfv www-data:www-data /var/www/nextcloud再看看 cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/000-default.conf.bak sudo vim /etc/apache2/sites-available/000-default.conf VirtualHost *:9321 ServerAdmin webmasterlocalhost DocumentRoot /var/www/nextcloud Alias /nextcloud /var/www/nextcloud/Directory /var/www/nextcloud/ Options FollowSymlinks AllowOverride AllIfModule mod_dav.c Dav off /IfModuleRequire all grantedSetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud /DirectoryErrorLog ${APACHE_LOG_DIR}/nextcloud_error_log CustomLog ${APACHE_LOG_DIR}/nextcloud_access_log common /VirtualHost rootlocalhost:/home# apachectl start /usr/sbin/apachectl: line 99: ulimit: open files: cannot modify limit: Operation not permitted Setting ulimit failed. See README.Debian for more information. rootlocalhost:/home# apachectl restart /usr/sbin/apachectl: line 99: ulimit: open files: cannot modify limit: Operation not permitted Setting ulimit failed. See README.Debian for more information. httpd not running, trying to start rootlocalhost:/home# /etc/init.d/apache2 start [ ok ] Starting Apache httpd web server: apache2. rootlocalhost:/home# apachectl status /usr/sbin/apachectl: line 99: ulimit: open files: cannot modify limit: Operation not permitted Setting ulimit failed. See README.Debian for more information. /usr/sbin/apachectl: line 113: www-browser: command not found www-browser -dump http://localhost:80/server-status failed. Maybe you need to install a package providing www-browser or you need to adjust the APACHE_LYNX variable in /etc/apache2/envvars rootlocalhost:/home# 离奇又打不开了欢迎赐教
http://www.hkea.cn/news/14407027/

相关文章:

  • 一个网站的建设方案中国建设人才服务信息网站
  • 专门做二手书的网站徐州做网站的
  • 太原招聘网站开发数字校园建设专题网站
  • 网站流量被用完了关于阅读类网站的建设规划书
  • 公司建设网站流程好听顺口的公司名字
  • 广州做网站平台的企业青州市城乡建设局网站
  • 后台风格网站淮安新港建设有限公司网站
  • 上海网站建设设织梦 帝国 php cms 媒体网站 哪个
  • 网站外包 博客酒店vi设计公司
  • 网站定制开发是什么用dw制作网站建设
  • 免费搭建微信网站企业网站要怎么建设
  • 网站建设单选题idea15网站开发
  • 网站内部链接的策略天元建设集团有限公司法人
  • 温岭网站制作一般网站建设需要多少钱
  • 茶楼网站源码wordpress 目录打不开
  • 有网站模板怎么做网站ps做网站难吗
  • 中国建设银行网站口中国诚乡建设部网站
  • 建站公司生存难网上商城有哪些
  • 专业的西安免费做网站培训班学员培训心得
  • 网站内容更新及时网站活动页面
  • 辽阳企业网站建设团队建设银行网站 无法访问
  • 什么系统网站好网站备案 电信
  • 网站建设客户需要提供什么科目软件开发培训机构怎么鉴定好坏
  • 佛山网站设计实力乐云seo企业网站psd模板
  • 男的和女的做那种短视频网站美食网站开发前期准备
  • 网站建设教程实训心得企业培训课程分类
  • 网站访问速度优化工具自学网官网
  • 橙色可以做哪些网站评网网站建设
  • 祈网网站建设wordpress翻译公司网站
  • 怎么做网站登录站装修公司的网站怎么做