background preloader

Administration

Facebook Twitter

Alfresco 5.0 & LDAP Authentication | Geology FOSS Blog. How to enable Tomcat Manager in an Alfresco installation – : : blyx.com : : Blog : : Toni de la Fuente : : In order to address some maintenance tasks in Tomcat, may be useful to get access to the Tomcat Manager (http) interface, things like stop or start an application if you are doing some changes in Alfresco or Share, even a different way to access to its JMX interface using jmxproxy if you are working remotely. This is a easy step by step guide about how you can enable the Tomcat Manager that comes with an Alfresco default (bundle) installation. Tested with Alfresco Enterprise 4.1.4, but should work with any other Alfresco 4 version. Edit tomcat/conf/tomcat-users.xml and adapt it like below: Then edit tomcat/conf/Catalina/localhost/manager.xml and change like this: Restart your Tomcat and thats all. Once Alfresco is up agan, lets try to access to the manager with user “manager” and password “manager”, please avoid using this credentials in production environments.

To access html interface: To list all applications: Like this: How to install Alfresco Community Edition 5.1 in Ubuntu Server 14.04. Posted by Daniel Lanza on May 7, 2016 This tutorial will explain how to install Alfresco Community Edition 5.1 in Ubuntu Server 14.04. In this example, Ubuntu Server is a virtual machine made by VirtualBox. Requirements Ubuntu Server virtual machine with: Two network adapters: NAT adapter (eth0) Host-only adapter (eth1) with a static IP address -> 192.168.56.101. Base memory: 4608 Mb 2 CPUs Alfresco Community Edition binary file -> alfresco-community-installer-201604-linux-x64.bin Check out how to install Ubuntu Server on VirtualBox to get ready a virtual machine to install Alfresco Community Edition.

Make directories for installation and application Make two directories: /opt/alfsource -> Installation directory /opt/alfresco -> Application directory $ sudo mkdir /opt/alfsource $ sudo mkdir /opt/alfresco Change permissions for the directories. $ sudo chmod 777 /opt/alfsource $ sudo chmod 777 /opt/alfresco And change permissions for the binary file.

Libraries for LibreOffice And then, Install VestaCP on RHEL/CentOS 5.x/6.x and Debian/Ubuntu Linux | lintut.com - Linux Howto's Guide. By rasho Vesta is an open source hosting control panel currently supports RHEL 5.x/6.x, CentOS 5.x/6.x and Ubuntu LTS 12.04, Ubuntu 13.04 and Ubuntu 13.10. It comes with all necessary software to run and manage your websites hosted on your VPS, including: Web Server (Apache with Nginx as Reverse Proxy) DNS serverDatabase ServerMail ServerFTP ServerNginx out of the boxSSL certificates & SNIWildcard supportConfiguration TemplatesDKIM supportFast BackupsSystem MonitoringAntiSpam / AntivirusWHMCS billing supportEPEL integrationSimple and Clean GUIPowerfull CLIReliable PlatformOpen Data Format First, login to your VPS server (I am use DigitalOcean VPS) via ssh as root and type following command: # curl -O chmod +x vst-install.sh# .

Install VestaCP webhosting cotrol panel The installer asks to confirm disabling SELinux and start the install process. VestaCP complite installation Login as admin and use given password: HowTo configure Apache to run Redmine. These notes assume you already have Redmine running via the webrick server and are looking to get Redmine running via your existing Apache installation. Most of the commands assume you are in the root installation directory of redmine, so be sure to change directory there before starting. For CentOS 5¶ Assumptions¶ OS is CentOS 5 Web server is Apache 2 mod_cgi is enabled name based virtual servers are being used the web server runs under the user apache, group apache Myths¶ You do not need to run mod_fcgid You do not need to run mod_fastcgi This section needs work.

I have added sections detailing the installation and configuration of mod_fastcgi and mod_fcgid below. We had problems with getting Rails 2.3.5 working with cgi and fastcgi. fcgid on Apache2 worked great for 9.3. Basic Steps¶ Install Redmine per the installation instructions and get it running with webrick. <VirtualHost *:80> ServerName redmine. Dont forget to bind to the port! Error Messages and Resolutions¶ Helpful Commands¶ . . ReceivingEmails. As of 0.8.0, Redmine can be configured to allow issue creation or comments via email. It is also able to recognize and incorporate email replies to forum messages. Setup¶ You can configure Redmine to receive emails in one of the following ways: Forwarding emails from your email server: Pros: works with a remote mail server, email are processed instantly, fast (no environment reloading) Cons: needs some configuration on your mail transfer agent (eg.

Postfix, Sendmail...) Fetching emails from an IMAP or POP3 server: Pros: easy to setup, no need to configure your MTA, works with a remote mail server Cons: emails are not processed instantly (a cron job needs to be added to read emails periodically) Reading emails from standard input: Pros: fine for testing purpose Cons: slow (the environment is reloaded each time an email is read), needs some configuration on your MTA Forwarding emails from your email server¶ Usage: Examples: # No project specified. Fetching emails from an IMAP server¶ HowTo Install Redmine 12x with Mercurial and Subversion on Ubuntu Server 1004. Redmine Installation Guide for Ubuntu. Using Apache as reverse proxy through HTTP and HTTPS. HTTP reverse proxying The ultimate goal is to reverse proxy SSL secured web site over Apache installed on Ubuntu server. This means that we are using Apache to serve content from a remote web site in a way that browser thinks its getting the data from our Apache and the remote web site thinks our Apache is a browser accessing the site data.

Let's start with reverse proxying without SSL. These instructions work on a fresh Ubuntu 10.04 installation (I'm using an image from Amazon Web Services). First install Apache. $ sudo apt-get install apache2 Install mod_proxy_html on Apache. $ sudo apt-get install libapache2-mod-proxy-html It seems that this command also enables the mod_proxy_html automatically: $ ls /etc/apache2/mods-enabled/proxy_html.* /etc/apache2/mods-enabled/proxy_html.conf /etc/apache2/mods-enabled/proxy_html.load Enable the modules needed by proxying. $ sudo a2enmod proxy_http $ sudo a2enmod headers Disable default site that comes with Apache installation. sudo a2dissite 000-default. Tom's blog: Limit the upload bandwidth of your apache webserver with mod_bw. I've a server at home on a ADSL connection which has 100kBytes/s of upload and 1.2MBytes/s of download as bandwidth.

If someone download at full speed some large file on my web server, my internet connection become unusable. To avoid this, I start to ask my friends to use a download manager to limit their download speed... but it's somewhat far too tricky for a lot of them... So I use mod_bw developed by Ivan Barrera (sourceforge : Here is a quick way to limit the bandwidth used by Apache : Install & enable (on Ubuntu): sudo apt-get install libapache2-mod-bwsudo a2enmod bw Configure (your apache virtualhost conf file like /etc/apache2/sites-available/default) : #... other config stuf for the virtual host BandWidthModule OnForceBandWidthModule OnBandWidth 192.168.0.0/24 0BandWidth all 80000</virtualhost> Explaination : Restart Apache so that the config is loaded and test : service apache2 restart (or apachectl restart)

The Perfect Setup - Debian Sarge (3.1) - Page 4. MySQL apt-get install mysql-server mysql-client libmysqlclient12-dev mysqladmin -u root password yourrootsqlpassword When you run netstat -tap you should now see a line like this: which means that MySQL is accessible on 127.0.0.1 on port 3306. You can go to the next section (Postfix). If you do not see this line, edit /etc/mysql/my.cnf and comment out skip-networking: If you want MySQL to listen on all available IP addresses, edit /etc/mysql/my.cnf and comment out bind-address = 127.0.0.1: If you had to edit /etc/mysql/my.cnf you have to restart MySQL: /etc/init.d/mysql restart If MySQL is listening on all interfaces, you must now also set a MySQL password for server1.example.com because otherwise anybody could access your database: mysqladmin -h server1.example.com -u root password yourrootsqlpassword Postfix/POP3/IMAP apt-get install postfix postfix-tls libsasl2 sasl2-bin libsasl2-modules ipopd-ssl uw-imapd-ssl (1 line!)

The file /etc/postfix/main.cf should now look like this: and restart inetd: How to install mariadb on ubuntu 13.04  If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums. Thanks for visiting! Sponsored Link MariaDB is a drop-in replacement for MySQL.MariaDB strives to be the logical choice for database professionals looking for a robust, scalable, and reliable SQL server. To accomplish this, Monty Program works to hire the best and brightest developers in the industry, work closely and cooperatively with the larger community of users and developers in the true spirit of Free and open source software, and release software in a manner that balances predictability with reliability.MariaDB Features More Storage Engines In addition to the standard MyISAM, BLACKHOLE, CSV, MEMORY, and ARCHIVE storage engines, the following are also included with MariaDB Source and Binary packages: Aria XtraDB (drop-in replacement for InnoDB) PBXT (In MariaDB 5.1, MariaDB 5.2, and MariaDB 5.3.

Speed improvements Extensions & new features. Setting Up Postfix As A Backup MX. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 06/06/2007 In this tutorial I will show how you can set up a Postfix mailserver as a backup mail exchanger for a domain so that it accepts mails for this domain in case the primary mail exchanger is down or unreachable, and passes the mails on to the primary MX once that one is up again. I do not issue any guarantee that this will work for you! 1 Preliminary Note I want to set up a backup MX for the domain example.com. In this example the primary MX for example.com is called mx1.example.com (IP address 1.2.3.4), so I call the backup MX mx2.example.com (IP address 1.2.3.5). I have created MX records for example.com that look like this: example.com. 86400 IN MX 10 mx1.example.com. example.com. 86400 IN MX 20 mx2.example.com.

It's important that the primary MX has a lower number (10) and therefore a higher priority than the backup MX (20). I'm assuming that the Postfix on mx2.example.com is already installed and working. Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server. Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and features than Ubuntu 13.04 Raring and the previous versions. Everybody are curiously waiting to see what Ubuntu 13.10 will offer to Ubuntu lovers. Ubuntu 13.10 Final beta is already out a week before. If you have Ubuntu 13,04, 12,10 or 12.04 Precise Pangolin or older version of Ubuntu on your system, and want to upgrade to this new release? I know you wish. Just follow the simple steps below, you can easily upgrade from Ubuntu 13.04 to Ubuntu 13.10 Saucy both Desktop and as well as Server editions. Important: Before proceeding to upgrade, make a full backup of your data to an external device (USB stick or CD/DVD).

Desktop Upgrade 1. Before to upgrade, we need to update the system, press open up Terminal and enter the following commands. sudo apt-get update && sudo apt-get dist-upgrade Now it is time to upgrade to new available version. sudo update-manager -d Then click Upgrade to start. Automatic File Replication (Mirror) Across Two Storage Servers With GlusterFS 3.2.x On Ubuntu 12.10. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 12/17/2012 This tutorial shows how to set up a high-availability storage with two storage servers (Ubuntu 12.10) that use GlusterFS.

Each storage server will be a mirror of the other storage server, and files will be replicated automatically across both storage servers. The client system (Ubuntu 12.10 as well) will be able to access the storage as if it was a local filesystem. GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I use three systems, two servers and a client: server1.example.com: IP address 192.168.0.100 (server) server2.example.com: IP address 192.168.0.101 (server) client1.example.com: IP address 192.168.0.102 (client) sudo su.

TipsAndTricks/ExpandLV. This tip explains how to expand an existing logical volume by adding a new new physical volume to a volume group through LVM. The e2fsprogs and lvm2 packages are required to follow these steps, but these packages are mandatory on systems that use ext2/ext3 on a LVM2 logical volume. Situation Volume group: MindbenderGroup Logical volume: MindbenderHome Physical storage device to add: /dev/sda5 of type "Linux LVM" Adding a physical device for use by LVM Add /dev/sda5 as a physical volume that can be used for LVM: # lvm pvcreate /dev/sda5 Adding the physical volume to the volume group Add this physical volume to the volume group "MindbenderGroup": # lvm vgextend "MindbenderGroup" /dev/sda5 Volume group "MindbenderGroup" successfully extended Determine the size of the extended volume Get the site of the expanded volume group first: We can see here that 1129 of 2323 physical extends (PE) are in use.

Extending the volume We can now easily extend the volume, by specifying the new number of PEs: CentOS 4. Install Easy Hosting Control Panel (EHCP) In Ubuntu 12.10/12.04/Linux Mint 13/Debian 6.0. EHCP (Easy Hosting Control Panel) is an open source hosting control panel for administrators who want to sell hosting or set up hosting servers.

EHCP is compatible with a server running a Debian-based system such as Debian Squeeze, Ubuntu, Linux Mint, etc. Here are some features of Easy Hosting Control Panel: Add unlimited panel users, resellers, FTP users, and emailsAdd unlimited MySQL users/databasesAdd domains, subdomains, addon domains, etc.Email forwarding and Email Auto-ResponderDisk quota controlSSL supportServer backup/restore including databases, etc. For full features, click here. In this tutorial, we will see how to install EHCP in the following Linux distributions:Ubuntu 12.04/12.10/11.10Linux Mint 13/12Debian 6.0 'Squeeze' or olderEHCP Installation Open the terminal and issue these commands: cd /tmp wget -O ehcp.tgz www.ehcp.net/ehcp_latest.tgz tar -zxvf ehcp.tgz cd ehcp sudo .

Then follow setup prompts in the terminal. To access the admin area, open this link: Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder ) Biosdecode is a command line utility to parses the BIOS memory and prints information about all structures (or entry points) it knows of. You can find out more information about your hardware such as: => IPMI Device => Type of memory and speed => Chassis Information => Temperature Probe => Cooling Device => Electrical Current Probe => Processor and Memory Information => Serial numbers => BIOS version => PCI / PCIe Slots and Speed => Much more biosdecode parses the BIOS memory and prints the following information about all structures : => SMBIOS (System Management BIOS) => DMI (Desktop Management Interface, a legacy version of SMBIOS) => SYSID => PNP (Plug and Play) => ACPI (Advanced Configuration and Power Interface) => BIOS32 (BIOS32 Service Directory) => PIR (PCI IRQ Routing) => 32OS (BIOS32 Extension, Compaq-specific) => VPD (Vital Product Data, IBM-specific) => FJKEYINF (Application Panel, Fujitsu-specific) More about the DMI tables Task: Display information about IPMI Device.

Https. Editing Virtualhost Settings in WHM / cPanel | Karl Rixon. Hosting multiple websites with Apache2. Chapter 5. Making Happy Users. Samba as a print server. Integrate Linux with Active Directory using Samba, Winbind, and Kerberos. How to use Winbind to authenticate against AD on CentOS 5.x | Skinkers. ActiveDirectoryWinbindHowto. Distributed Replicated Storage Across Four Storage Nodes With GlusterFS 3.2.x On Ubuntu 12.04. Fix delay in SSH Login. Just for Fun! Making a WiFi Hotspot / Access Point using Linux & wifi lan card/USB adapter « Vivek's blog. How to setup Relay host in mail. Setup a Unbreakable SSH Tunnel | clingmarks. DataRecovery. Howto Setup An Rsync Server : HowTo Setup a Rsync Server for Loadbalancing on Linux CentOS 5 3 - HowTo Setup a Rsync Server for Loadbalancing on Linux CentOS 3 j0zf 7 Notes on HowTo Setup Rsync on CentOS 3 j0zf 7 SETTING UP RSYNCD SERVER ON WWW1.

Raskas’ blog » Blog Archive » rsync daemon init script - Everything is possible… You only have to find out how. Tips Zimbra Mail Server : Mengenal Split DNS | Migrasi Windows Linux. How To Set Up Software RAID1 On A Running LVM System (Incl. GRUB2 Configuration) (Ubuntu 11.10. SocMed - LVM Partition Resizing. Webmin.