انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید




نویسنده موضوع: نصب وردپرس در ابونتو ۲۲.۰۴  (دفعات بازدید: 1085 بار)

0 کاربر و 4 مهمان درحال مشاهده موضوع.

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
نصب وردپرس در ابونتو ۲۲.۰۴
« : 17 فروردین 1402، 01:27 ب‌ظ »
سلام ...
یک نفر واقعا یک کمک بکنه من ورد ورس در سیستم ابوونتو ۲۲.۰۴ خودم نصب بکنم ...همه مطالب گروه خوندم انجام دادم نمیشه
همه مطالب اینترنت که برای ابونتو هست هم دیدم نمیشه ....همش خطا مبده
واقعا ممنون میشم یکی از اول بیاد کمک بکنه من اینو نصب بکنم واقعا نیاز شدید دارم و کارهام مونده

با سپاس
« آخرین ویرایش: 22 فروردین 1402، 07:45 ب‌ظ توسط alirezamm »

آفلاین mohammad kazemi

  • Hero Member
  • *
  • ارسال: 896
  • جنسیت : پسر
  • ... :|
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #1 : 17 فروردین 1402، 01:45 ب‌ظ »
خب متن خطا و کارهایی که کردید رو هم بذارید تا دوستان بتونن بهتر راهنمایی کنن.

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #2 : 17 فروردین 1402، 01:55 ب‌ظ »
فعلا در این مرحله این خطا امده
alireza@OptiPlex-5090:~$ sudo systemctl start mariadb.service
[sudo] password for alireza:
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details.

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #3 : 17 فروردین 1402، 01:56 ب‌ظ »
اینم یک خطا و اطلاعات خطا
lireza@OptiPlex-5090:~$ systemctl status mariadb.service
× mariadb.service - MariaDB 10.6.12 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor prese>
     Active: failed (Result: exit-code) since Thu 2023-04-06 12:08:09 +03; 58s >
       Docs: man:mariadbd(8)
             https://mariadb.com/kb/en/library/systemd/
    Process: 219630 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /v>
    Process: 219631 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_>
    Process: 219633 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] &>
    Process: 219641 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUST>
   Main PID: 219641 (code=exited, status=1/FAILURE)
     Status: "MariaDB server is down"
        CPU: 97ms

Apr 06 12:08:09 OptiPlex-5090 mariadbd[219641]: 2023-04-06 12:08:09 0 [Note] In>
Apr 06 12:08:09 OptiPlex-5090 mariadbd[219641]: 2023-04-06 12:08:09 0 [ERROR] P>
Apr 06 12:08:09 OptiPlex-5090 mariadbd[219641]: 2023-04-06 12:08:09 0 [ERROR] P>
Apr 06 12:08:09 OptiPlex-5090 mariadbd[219641]: 2023-04-06 12:08:09 0 [Note] Pl>
Apr 06 12:08:09 OptiPlex-5090 mariadbd[219641]: 2023-04-06 12:08:09 0 [ERROR] C>
Apr 06 12:08:09 OptiPlex-5090 mariadbd[219641]: 2023-04-06 12:08:09 0 [ERROR] U>
Apr 06 12:08:09 OptiPlex-5090 mariadbd[219641]: 2023-04-06 12:08:09 0 [ERROR] A>
Apr 06 12:08:09 OptiPlex-5090 systemd[1]: mariadb.service: Main process exited,>
Apr 06 12:08:09 OptiPlex-5090 systemd[1]: mariadb.service: Failed with result '>
Apr 06 12:08:09 OptiPlex-5090 systemd[1]: Failed to start MariaDB 10.6.12 datab>
lines 1-23/23 (END

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #4 : 17 فروردین 1402، 01:57 ب‌ظ »
اینم کنفیگ mysqlهست
# Copyright (c) 2014, 2022, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,
# as published by the Free Software Foundation.
#
# This program is also distributed with certain software (including
# but not limited to OpenSSL) that is licensed under separate terms,
# as designated in a particular file or component or in included license
# documentation.  The authors of MySQL hereby grant you an additional
# permission to link the program and your derivative works with the
# separately licensed software that they have included with MySQL.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License, version 2.0, for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA

#
# The MySQL  Server configuration file.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

[mysqld]
pid-file        = /var/run/mysqld/mysqld.pid
socket          = /var/run/mysqld/mysqld.sock
datadir         = /var/lib/mysql
log-error       = /var/log/mysql/error.log

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #5 : 17 فروردین 1402، 01:58 ب‌ظ »
اینم خطا mysql هست
$ sudo tail -f /var/log/mysql/error.log
[sudo] password for alireza:
2023-04-05T16:56:05.614754Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.
2023-04-06T08:10:39.351191Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 2272
2023-04-06T08:10:39.408951Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-04-06T08:10:39.874116Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-04-06T08:10:40.217274Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-04-06T08:10:40.217295Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-04-06T08:10:40.241058Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2023-04-06T08:10:40.241080Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
2023-04-06T08:43:52.547149Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.32).
2023-04-06T08:43:53.844310Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.

آفلاین دانیال بهزادی

  • ناظر انجمن
  • *
  • ارسال: 19692
  • جنسیت : پسر
  • Urahara Kiesuke
    • وبلاگ
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #6 : 17 فروردین 1402، 03:25 ب‌ظ »
اگه این ارسال بهت کمک کرد، دنبال دکمهٔ تشکر نگرد. به جاش تو هم به جامعهٔ آزادت کمک کن

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #7 : 17 فروردین 1402، 03:29 ب‌ظ »
در راه طی کردن مراحل این خطا امد
alireza@OptiPlex-5090:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mariadb-client-10.6 : Conflicts: virtual-mysql-client
 mariadb-client-core-10.6 : Conflicts: virtual-mysql-client-core
 mariadb-server-10.6 : Conflicts: virtual-mysql-server
 mariadb-server-core-10.6 : Conflicts: virtual-mysql-server-core
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

آفلاین دانیال بهزادی

  • ناظر انجمن
  • *
  • ارسال: 19692
  • جنسیت : پسر
  • Urahara Kiesuke
    • وبلاگ
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #8 : 17 فروردین 1402، 04:21 ب‌ظ »
مخازنت به هم ریخته
اگه این ارسال بهت کمک کرد، دنبال دکمهٔ تشکر نگرد. به جاش تو هم به جامعهٔ آزادت کمک کن

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #9 : 17 فروردین 1402، 04:35 ب‌ظ »
واقعا ممنون میشم مرحله به مرحله ...راهنمایی بفرمایید با دستورات مربوطه بتونم مشکلم به لطف شما حل بکنم

آفلاین Dr.Code

  • High Hero Member
  • *
  • ارسال: 1446
  • جنسیت : پسر
  • Dr.Code
    • My website
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #10 : 17 فروردین 1402، 07:28 ب‌ظ »
اگه مخابرات دارید، شاید به‌خاطر اختلال چند روزشه.

آفلاین mohammad kazemi

  • Hero Member
  • *
  • ارسال: 896
  • جنسیت : پسر
  • ... :|
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #11 : 17 فروردین 1402، 07:52 ب‌ظ »
خروجی دستورات زیر رو بذار:
cat /etc/apt/sources.listو
ls /etc/apt/sources.list.d/

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #12 : 17 فروردین 1402، 08:03 ب‌ظ »
برای دستور اول خروجی
alireza@OptiPlex-5090:~$ cat /etc/apt/sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted
#deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
#deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy universe
#deb-src http://archive.ubuntu.com/ubuntu/ focal universe
deb http://archive.ubuntu.com/ubuntu/ jammy-updates universe
#deb-src http://archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jammy multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ focal multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse


deb http://security.ubuntu.com/ubuntu jammy-security main restricted
#deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
#deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
#deb-src http://security.ubuntu.com/ubuntu focal-security multiverse


# deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main # disabled on upgrade to jammy
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main

آفلاین alirezamm

  • Jr. Member
  • *
  • ارسال: 81
  • جنسیت : پسر
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #13 : 17 فروردین 1402، 08:04 ب‌ظ »
برای دستور دوم
alireza@OptiPlex-5090:~$ ls /etc/apt/sources.list.d/
flatpak-ubuntu-stable-focal.list  somerville-dla-team-ubuntu-ppa-bionic.list
focal-oem.list                    somerville-dla-team-ubuntu-ppa-focal.list
google-chrome.list                somerville-dla-team-ubuntu-ppa-jammy.list
mysql.list                        ubuntu-esm-infra.list

آفلاین دانیال بهزادی

  • ناظر انجمن
  • *
  • ارسال: 19692
  • جنسیت : پسر
  • Urahara Kiesuke
    • وبلاگ
پاسخ : نصب وردپرس در ابونتو ۲۲.۰۴ ( یکم با عجله )
« پاسخ #14 : 17 فروردین 1402، 08:19 ب‌ظ »
خیلی خراب کردی مخازنت رو. هرچی از مخزن‌های اضافی نصب کردی پاک کن و مخزن‌ها رو بردار.
اگه این ارسال بهت کمک کرد، دنبال دکمهٔ تشکر نگرد. به جاش تو هم به جامعهٔ آزادت کمک کن