Jump to content

ownCloud - строим личное облачное хранилище


Recommended Posts

Не подтверждаю, всё работает штатно. Проверяйте ФС, настройки... Или переустановите систему.

Link to comment
Share on other sites

  • 2 weeks later...
В 02.05.2022 в 15:56, TheBB сказал:

php7* owrt`шники удалили полностью, в keendev он остался из-за ext-ui (или переписывать всё на php8, или кильнуть ext-ui)

Переходите на php8.

подскажите, как это сделать?

Снимок экрана 2022-05-16 в 15.03.39.png

Link to comment
Share on other sites

  • 3 months later...

Ставлю это:

Скрытый текст

opkg install \
curl \
nano\
tar\
bzip2 \
mc \
opkg install \
http://bin.entware.net/mipselsf-k3.4/archive/coreutils-stat_9.1-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-cgi_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-cli_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/lighttpd-mod-fastcgi_1.4.65-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/lighttpd-mod-access_1.4.65-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/lighttpd-mod-expire_1.4.65-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/lighttpd-mod-setenv_1.4.65-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-ctype_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-curl_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-dom_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-fileinfo_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-gd_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-hash_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-iconv_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-json_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-mbstring_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-pcntl_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-pdo_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-pdo-sqlite_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-session_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-simplexml_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-sqlite3_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-xml_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-xmlwriter_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-xmlreader_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-openssl_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-intl_7.2.22-1_mipsel-3.4.ipk \
http://bin.entware.net/mipselsf-k3.4/archive/php7-mod-zip_7.2.22-1_mipsel-3.4.ipk

на выходе это:

image.png.e338067e790a9267d5bb78e4bc31faec.png

Хотя модуль php7-mod-intl стоит:

image.png.6722132cf1e1044bd337eb620db13dfd.png

Edited by mister
внес изменнения
Link to comment
Share on other sites

  • 1 month later...
В 21.11.2021 в 12:36, TheBB сказал:
echo "192.168.1.1 Cloud" >> /etc/hosts
ping -c3 $HOSTNAME
/opt/etc/init.d/S70mysqld start
/opt/etc/init.d/S70mysqld status

 

echo "192.168.1.1 hostname" >> /etc/hosts будет удаляться после перезагрузки.

я его в crontab, пусть сам записывается через 3 мин после перезагрузки.

@reboot /opt/bin/sleep 180 && /opt/bin/echo "192.168.1.1 hostname" >> /etc/hosts

Link to comment
Share on other sites

В 19.11.2022 в 06:54, Meccep45 сказал:

echo "192.168.1.1 hostname" >> /etc/hosts будет удаляться после перезагрузки.

)))

Скрытый текст
~ # 
~ # uptime 
 19:30:57 up 20 days,  3:50,  load average: 1.03, 1.07, 1.08
~ # 
~ # cat /etc/hosts 
127.0.0.1 localhost
::1 localhost
192.168.1.2 Keenetic-6065
192.168.3.4 nas
192.168.5.6 repo
~ # 
~ # cat /opt/etc/init.d/S00fix-hostname 
#!/bin/sh

[ "$1" != "start" ] && exit 0

GETIP1="$(wget -qO - localhost:79/rci/show/interface/Bridge0/address | sed 's,",,g' ; echo)"
GETIP2="$(cat /var/ndnproxymain.conf | grep ^norebind_ip | grep 192 | cut -f3 -d' ' | cut -f1 -d':')"

if [ -n "$GETIP1" ]; then
    IP=$GETIP1
elif [ -n "$GETIP2" ]; then
    IP=$GETIP2
elif [ -n "$(hostname -i | grep '192')" ]; then
    IP=$(hostname -i)
else
    IP=192.168.1.2
fi

if ! ping -c 3 "$(echo $HOSTNAME)" > /dev/null 2>&1; then
    echo "$IP $HOSTNAME" >> /etc/hosts
fi

# fix NAS
if ! ping -c 3 nas4free>/dev/null 2>&1; then
    echo "192.168.3.4 nas" >> /etc/hosts
fi

# fix repo
if ! ping -c3 repo>/dev/null 2>&1; then
    echo "192.168.5.6 repo" >> /etc/hosts
fi
~ # 

 

где-то одно работает, где-то другое... на основном устройстве - один вариант, на подконтрольном - другой... выбираем, что больше нравится и/или работает )))

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...