30
HOW TO BUILD DOCUMENT MANAGEMENT SYSTEM Document Management System Ubuntu14.04 LTS (Trusty Tahr) JICA Senior Volunteer K. Adachi

2 how to-build_document_management_system

Embed Size (px)

Citation preview

HOW TO BUILD DOCUMENT MANAGEMENT SYSTEM

Document Management System

Ubuntu14.04 LTS (Trusty Tahr)

JICA Senior Volunteer K. Adachi

Content

• 1. Ubuntu Server Network SettingshostnameStatic IP address

• 2. Alfresco Share Server Installationinstallation commandsetup-wizardlogin and logoutAlfresco share start and stop

• 3. Alfresco Share Server Uninstallationuninstallation commanduninstall Wizard

1. Ubuntu Server Network Settings

If you use Virtual Box, Click to the Start Enter your password

Click the Terminal Icon, or Ctrl+Alt+t

1. Ubuntu Server Network Settingshostname

• The default name was set when you were installing Ubuntu.

You can easily change it.

Command is :

$ sudo hostname server1

• This will change the hostname until next reboot. The change won’t be visible immediately in your current terminal. Start a new terminal to see the new hostname.

1. Temporary changing Hostname

1. Ubuntu Server Network Settingshostname

2. Permanent change Hostname To change the name permanently, It need to edit /etc/hostname and /etc/hosts.

First, run command to edit the host files:

Command is : $ sudo gedit /etc/hosts

Rewrite your Hostname : server1

1. Ubuntu Server Network Settingshostname2. Permanent change Hostname • Second, run command to edit

the host files

Command is :

$ sudo gedit /etc/hosts

Rewrite your hostname : server1

• In both files, change the name to what you want and save them.

• Finally, Restart your computer to apply the changes.

1. Ubuntu Server Network Settings Static IP address as Server

IF you use Ubuntu as a server,Change interfaces-file to static IP address.

‘ifconfig’ is displayed Current Network Status.

Enter ipconfig command and Check IP address .

inet addr : current IP address

It need to change current IP address to static IP address

1. Ubuntu Server Network Settings Static IP address as Server

Add like the following lineauto eth0

iface eth0 inet static

address 192.168.x.y #static IP address

network 192.168.x.0 #network address

netmask 255.255.255.0 # subnet mask

broadcast 192.168.x.255 #broadcast address

gateway 192.168.y.z #default gateway

If you unknown x y z,

Ask network administrator.

note:# is comment

Command:

$ sudo gedit /etc/network/interfaces

password is ‘your password’

How to edit /etc/network/interfaces

1. Ubuntu Server Network Settings Static IP address as Server

If the network address is 192.168.1.0,

Add the following line and save.

auto eth0

iface eth0 inet static

address 192.168.1.250

netmask 255.255.255.0

network 192.168.1.0

broadcast 192.168.1.255

gateway 192.168.0.1

dns-nameservers 192.168.1.1 or 8.8.8.8

After editing and save, Restart networking

Command is :

$ sudo /etc/init.d/netoworking restart

How to edit /etc/network/interfaces

1. Ubuntu Server Network Settings Static IP address as Server

Checking inet6Check ifconfig inet and inet6

Command is : $ ifconfig

If inet6 addr exist, need to disable IPV6 setting.

Command is:

$ sudo gedit /etc/sysctl.conf

Add end-line

• net.ipv6.conf.all.disable_ipv6 = 1

1. Ubuntu Server Network Settings Static IP address as Server

After editing and save,

Rewrite sysctl-file

Command is :

$ sudo sysctl –p

Restart network

Command is :

$ sudo ifdown eth0

$ sudo ifup eth0

2. Installing Alfresco on Ubuntu

2. Installer is wizard for Alfresco

• alfresco-community-4.2.f-installer-linux-x64.bin

The setup wizard for Linux installs all the software and components that you require for running Alfresco. This setup wizard installs Alfresco and additional software, including a Tomcat application server, PostgreSQL database, JDK, LibreOffice, SWFTools, and ImageMagick.

Note:4.2.f is Version No.

1. Download the following installation file from http://www.alfresco.com/products/community/download

2. Installing Alfresco on Ubuntu

In Case of copying by USB Installer copy

• Installer is alfresco-community-4.2.f-installer-linux-x64.bin

• 1 insert USB device

• 2 USB icon Click open

• 3 File Explore Click open

• 4 Drag and Drop Installer

from USB to /home/Download holder .

2. Installing Alfresco on UbuntuInstallation Command

How to install by command1. Change directory.Type in command: $ cd Downloads/

2. Change mode the Permissions of files.Command: $ chmod +x alfresco-community-4.2.f-installer-linux-x64.bin

3. Run installer.Command: $ ./alfresco-community-4.2.f-installer-linux-x64.bin

2. Installing Alfresco on UbuntuSetup Wizard

The setup wizard starts. On the Language Selection window, select the installation language. The default language is English. Click OK

to accept the default language.

2. Installing Alfresco on UbuntuSetup Wizard

On the Setup - Alfresco Community window, click Next.

On the Installation type window, choose how you want to use the setup wizard.

2. Installing Alfresco on UbuntuSetup Wizard

On the Installation folder window, click Next to accept the default location.

On the Admin Password window, enter a password for the Administrator user (admin).

2. Installing Alfresco on UbuntuSetup Wizard

Click Next through the remaining windows in the setup wizard.

Click Next through the remaining windows in the setup wizard.

2. Installing Alfresco on UbuntuSetup Wizard

Click Next through the remaining windows in the setup wizard.

Go to the step for the Completing the Alfresco Community Setup Wizard

window and launching Alfresco Share.

2. Installing Alfresco on UbuntuSetup Wizard

View Readme file and Click OK Alfresco Share is launching

2. Installing Alfresco on UbuntuLogin and Logout on share server

If you see Getting Started, Close window.

http ://127.0.0.1:8080/share

Log on to Alfresco Share as the admin user.

Enter admin password

2. Installing Alfresco on UbuntuLogin and Logout on share server

Admin Dashboad is showed,

you can manage the site.

After login,

Terminal show installation and starting server status.

2. Installing Alfresco on UbuntuLogin and Logout from ClientIf you use Virtual box,

you can login alfresco on your desktop.

Type in http:// 192.168.1.250:8080/shareon your browser.

Note :192.168.1.250 is server-static address

2. Installing Alfresco on UbuntuAlfresco share start and stop

Alfresco share server startAlfresco server start/stop command is /alfresco-4.2.f/alfresco.sh file.

In case of Alfresco starting command

$ cd

$ cd alfresco-4.2.f/

$ ./alfresco.sh start

2. Installing Alfresco on UbuntuAlfresco share start and stop

Alfresco share server stop

In case of Alfresco stopping command

$ cd

$ cd alfresco-4.2.f/

$ ./alfresco.sh stop

.

2. Installing Alfresco on Ubuntu

Ubuntu server Shutdown

If alfresco share server stopped,

you can exit and shutdown.

3. Uninstallation Alfresco Share ServerUninstall Wizard

Uninstallation command

Before uninstalling Alfresco,

It need to stop Alfresco share service.

Next, run Uninstall-wizard

Uninstall Command :

$ cd

$ cd alfresco-4.2.f/

$ ./uninstall

3. Uninstallation Alfresco Share ServerUninstall Wizard

Uninstall Wizard start and Click Yes End of uninstall progress, Click OK

Usefull information

• Virtual Box

https://www.virtualbox.org/

• Ubuntu

http://www.ubuntu.com/

http://askubuntu.com/

• Alfresco

http://www.alfresco.com/community

https://wiki.alfresco.com/

Thanks!