Installing ownCloud server

So my brother gave me a gift the other day. Access to a dual-core Debian Virtual Machine server wth 4gb of RAM and 100gb HDD. While thinking how to take advantage of the 100% available machine with a static IP, an idea popped in my mind. I had read about ownCloud as a private storage space, and I wanted to give it a try. What better use for my server. These are (roughly) the steps I took.

After installation of the base system (Debian 7.8) was complete, my first steps was to turn the stable version to a pure testing release. I changed my sources to pure testing in the /etc/apt/sources.list with :

 deb testing main contrib non-free
deb-src testing main contrib non-free
deb testing/updates main contrib non-free
deb-src testing/updates main contrib non-free

Afterwards I upgraded my system, it needed 300mb of new software. Thankfully the connection was fast to download them.
Next step was creating a new user for my daily use (there was only root user available up until then) with the adduser command :

root@snf-629784:~# adduser tasos
Adding user `tasos’ …
Adding new group `tasos’ (1000) …
Adding new user `tasos’ (1000) with group `tasos’ …
Creating home directory `/home/tasos’ …
Copying files from `/etc/skel’ …
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

And gave my new user, sudo capabilities with :

 usermod -a -G sudo

My system was ready, it was time to install ownCloud server. The best tutorial was found here

Specifically firstly I downloaded the Release Key of the server :

 cd /tmp
 apt-key add - < Release.key

And added the ownCloud repository :

echo 'deb /' >> /etc/apt/sources.list.d/owncloud.list

To let me finally install the server :

 apt-get update
 apt-get install owncloud

I hadn’t previously installed mysql, so I needed to install and setup a database

apt-get install mysql-server

After the installation is complete, I had to provide a password (twice for confirmation) for the root user of the mysql. In order to be able to configure it though some more commands are needed to be able to run mysql :

 mysql -u root -p

That granted me access to the mysql server to be able to create a database :


In order to assign privileges to a new MySQL user to handle database operations for ownCloud, which will be used when gaining access to the ownCloud server through the web interface :

 GRANT ALL ON owncloud.* to 'owncloud'@'localhost' IDENTIFIED BY 'password;

This was it. All other operations can be handled in the web interface (which will ask creating a user and pointing towards the database giving the user/password configuration stated previously, on your first login) accessed from the (or domain/owncloud).

Aleph – Home Network

This last month, following my social detox, I decided to also change my home network. I had a lot of hardware lying around gathering dust, including a 17″ Core2Duo Toshiba laptop, a 10″ Toshiba Android Netbook, CPUs, VGAs, whole systems (Atom, P4 etc) and more, so I decided to give them away or sell them and keep only the stuff I need.

I decided to name my network Aleph, after it was used in William Gibson’s novel Mona Lisa Overdrive. Quoting from William Gibson Aleph site :

First letter of the Hebrew alphabet; huge biochip with immensely big storage capacity. Inspired by the short story ‘The Aleph’ (1945) by Argentinian writer Jorge Luis Borges. In the story, the Aleph is described to be ‘one of the points in space that contains all other points’.

After mostly giving away parts and PCs, the only hardware left in my apartment was :

Lenovo U510 (Ono-Sendai) :

  • CPU: 3rd generation Intel® Core™ i5-3337U (1.80GHz 1600MHz 3MB)
  • Memory: 8GB PC3-12800 DDR3 SDRAM 1600 MHz
  • Graphics: Intel® HD Graphics 4000
  • Dimensions: 15.0″ x 9.8″ x 0.8″
  • Camera: 720p HD webcam
  • Display: 15.6″ HD LED display (16:9 widescreen) (1366×768)
  • I/O Ports: 2 USB 2.0 port / 1 USB 3.0 ports / HDMI / Combo jack / RJ-45 / 2-in-1 card reader (SD/MMC)
  • Storage: SanDisk Ultra Plus SSD 128gb
  • Wireless Connectivity: Intel Centrino Wireless N-2230 / Bluetooth® 4.0
  • Keyboard: AccuType keyboard
  • Optical Drive: DVD Recordable (Dual Layer)
  • Battery: 45Wh (3-cell)
  • Durability Features: Full aluminum exterior shell

Which will be used as my main work/fun PC, using a Linux distribution (Debian or Arch, but this saga will be explored on a latter post), the only upgrade I want is to connect it to an external monitor for a dual panel setup.

Dell 5323 13z (SenseNet) :

  • CPU: 3rd generation Intel® Core™ i3-3217U (1.80GHz 1600MHz 3MB)
  • Memory: 4GB PC3-12800 DDR3 SDRAM 1600 MHz
  • Graphics: Intel® HD Graphics 3000
  • Dimensions: 13.07″ x 9.05″ x 0.82″
  • Camera: Native HD 1.0 MP webcam with digital microphone
  • Display: 13.3″(33.78cm) HD WLED True-Life (1366×768)
  • I/O Ports: 2 USB 2.0 port / 1 USB 3.0 ports / HDMI / Combo jack / RJ-45 / Kensington Security Lock / 7-in-1 Media Card Reader
  • Storage: 500GB SATA hard drive (5400RPM)
  • Wireless Connectivity: Intel Centrino Wireless N-2230 / Bluetooth® 4.0
  • Keyboard: Dell keyboard
  • Optical Drive: None
  • Battery: 45Wh (3-cell)

I’m currently using a Raspberry Pi as a Media Player (OpenELEC), but I want to use my I3 laptop as a Media Center / Linux Gaming machine, headless under my TV, with a Logitech DiNovo Mini keyboard/mouse and a couple of wireless gamepads for gaming. As for OS, if I use Ubuntu for compatibility, I’ll stick to Unity, but if I go for GNOME Shell, Debian Testing or Arch are the way to go (it depends on my distribution saga).

My Raspberry Pi, after ending it’s use as a Media Player, hopefully will be used for Arch tweaking, hooked on a free HDMI port of the external monitor. There is also a D-Link DNS 320L 2-Bay NAS, with a 2TB drive which hosts all my movie/tv/music database. It is tweaked with Fun Plug, installed a Debian version along with a Transmission client with enabled web GUI, so all torrents are downloaded to my home network from wherever I am.

Lastly my wife owns a MacBook 2009 edition with a 13.3″ screen, which currently sports MacOS (I don’t even know which edition). Hopefully I can convince her to let me install ElementaryOS, an easy to use and visually appealing distribution based on Ubuntu.