Wath is my server?

hosting

#1

I am Roberto
I am new on ownCloud
I have installed the programm and client on my desktop and on my android.
To start it ask me the "my server"?
Wath I must do it?


#2

What you have to do is - type in the IP or Domain name of your ownCloud server.


#3

Wath is my ownCloud server?
Were i can find it?


#4

What do you mean by "programm"?

If you mean ownCloud server -> this is the IP you need


#7

Yes, but what is the connection to your topic?


#9

What should I do to be able to use owncloud?
Wath's my IP?


#10
  • First:

What not Wath

  • Second:

how did you install ownCloud?

Did you use a manual or a "how to" of some sorts?

You have given few to none information about your setup, how should I be able to help you?


#11

I installed ownCloud from the ownCloud site and I gave the command:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/openSUSE:Tools.list"
sudo apt-get update
sudo apt-get install osc

wget -nv https://download.opensuse.org/repositories/openSUSE:Tools/xUbuntu_16.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update

how do I install my server?


#12

do I have to give these commands too?

wget -nv https://download.owncloud.org/download/repositories/production/Ubuntu_16.04/Release.key -O Release.key
apt-key add - < Release.key

echo 'deb http://download.owncloud.org/download/repositories/production/Ubuntu_16.04/ /' > /etc/apt/sources.list.d/owncloud.list
apt-get update
apt-get install owncloud-files


#13

Well that depends.

What is your operating system?

Ubuntu or Open Suse?


#14

Ubuntu 16.04 LTS
...........


#15

then this would be correct


#16

apt-key add - < Release.key
ERROR: This command can only be used by root.

echo 'deb http://download.owncloud.org/download/repositories/production/Ubuntu_16.04/ /' > /etc/apt/sources.list.d/owncloud.list
bash: /etc/apt/sources.list.d/owncloud.list: Permesso negato

apt-get update
Lettura elenco dei pacchetti... Fatto
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operazione non permessa)
E: Impossibile aprire il file di blocco /var/lib/apt/lists/lock - open (13: Permesso negato)
E: Impossibile bloccare la directory /var/lib/apt/lists/
W: Si è verificato un problema nell'eseguire l'unlink del file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permesso negato)
W: Si è verificato un problema nell'eseguire l'unlink del file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permesso negato)

apt-get install owncloud-files
E: Impossibile aprire il file di blocco /var/lib/dpkg/lock - open (13: Permesso negato)
E: Impossibile acquisire il blocco sulla directory di amministrazione (/var/lib/dpkg/). È necessario essere root.

In file manager there is an icon:
connect to the server
Server address?


#17

You have to login as root

sudo -i

then enter your users's password

Then execute the commands from your previous post again.

Or you could install ownCloud manually:

https://doc.owncloud.com/server/10.0/admin_manual/installation/source_installation.html#manual-installation-on-linux


#18

........
W: Errore GPG: http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Release: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY 4ABE1AC7557BEFF9
W: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
................
................
...............

linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic
linux-image-extra-4.4.0-98-generic snap-confine ubuntu-core-launcher
Usare "sudo apt autoremove" per rimuoverli.
I seguenti pacchetti NUOVI saranno installati:
owncloud-files
0 aggiornati, 1 installati, 0 da rimuovere e 10 non aggiornati.
È necessario scaricare 35,1 MB di archivi.
Dopo quest'operazione, verranno occupati 118 MB di spazio su disco.
Scaricamento di:1 http://download.owncloud.org/download/repositories/production/Ubuntu_16.04 owncloud-files 10.0.7-1.1 [35,1 MB]
Recuperati 35,1 MB in 6s (5.470 kB/s)
Selezionato il pacchetto owncloud-files non precedentemente selezionato.
(Lettura del database... 874797 file e directory attualmente installati.)
Preparativi per estrarre .../owncloud-files_10.0.7-1.1_all.deb...
Estrazione di owncloud-files (10.0.7-1.1)...
Configurazione di owncloud-files (10.0.7-1.1)...


#19

In New account
Server address?
It asks me
What is it?


#20

Okay, I don't understand your system's language.

I suggest you either do a manual installation with this manual:

https://doc.owncloud.com/server/10.0/admin_manual/installation/

or you can run my script. It will install ownCloud on your system.

Step 1.

nano owncloud-setup.sh

Step 2.

copy paste the following:

#!/bin/bash

apt update && apt upgrade -y

apt install -y apache2 mariadb-server \
libapache2-mod-php7.0 php7.0-ldap \
php7.0-gd php7.0-mysql php7.0-curl \
php7.0-intl php7.0-mcrypt php-imagick \
php7.0-zip php7.0-xml php7.0-mbstring \
php-apcu ssh php-apcu \
wget nano bzip2 sudo inetutils-ping rsync \
smbclient coreutils

FILE="/etc/apache2/sites-available/owncloud.conf"
/bin/cat <<EOM >$FILE
Alias /owncloud "/var/www/owncloud/"

<Directory /var/www/owncloud/>
   Options +FollowSymlinks
   AllowOverride All

  <IfModule mod_dav.c>
   Dav off
  </IfModule>

  SetEnv HOME /var/www/owncloud
  SetEnv HTTP_HOME /var/www/owncloud

 </Directory>
EOM

ln -s /etc/apache2/sites-available/owncloud.conf \
/etc/apache2/sites-enabled/owncloud.conf

a2enmod rewrite
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime
a2enmod setenvif
service apache2 restart

wget https://download.owncloud.org/community/owncloud-10.0.7.tar.bz2
tar -xjf owncloud-10.0.7.tar.bz2

cp -R owncloud /var/www

chown -R www-data:www-data /var/www/owncloud/

service mysql start
mysql -u root -e "CREATE DATABASE IF NOT EXISTS owncloud; \
GRANT ALL PRIVILEGES ON owncloud.* TO admin@localhost IDENTIFIED BY 'password'";
cd /var/www/owncloud

sudo -u www-data php occ maintenance:install \
    --database "mysql" --database-name "owncloud" \
    --database-user "admin" --database-pass "password" \
    --admin-user "admin" --admin-pass "password"

sudo -u www-data php occ market:install gallery
cd /
FILE="services.sh"
/bin/cat <<EOM >$FILE
#!/bin/bash
service apache2 start
service mysql start

EOM
chmod +x services.sh
echo "ServerName localhost" >> /etc/apache2/apache2.conf

sed -i "s#html#owncloud#" /etc/apache2/sites-enabled/000-default.conf
./services.sh

Step 3.

make the script executable:

chmod +x owncloud-setup.sh

Step 4.

execute this script by typing:

./owncloud-setup.sh

After this, you will have ownCloud installed on your system.

Type in

hostname -I

to get your servers IP address.

This is your "Server Adress" => IP/owncloud


#21

Failed to connect to the secure server address https://192.168.1.106. How do you wish to proceded?
Select a different URL
Retry unencrypted over HTTP (insecure)
Configure client-side TLS certificate

Failed to connect to ownCloud at HTTPS://192.168.1.106:
Connection refused


#22

I'm not sure but maybe it helps to first get some basic understanding of the components in use here. I think that could include things like:

  1. Networking and IP address basics
  2. What is a web server and how to configure it?
  3. How to gather the info if my components are working and listening on the expected ip address / domain
  4. Maybe something additional i have missed

For 3. tools like ping, netstat, nmap and traceroute could help