Everything about Ubuntu - installation, support, administration, reviews, configuration, downloads, drivers

Ubuntu
close

on 30th January 2018 / by glen.thomas
Recommended Reading: Why is Visual Studio Code PopularHere are the six quick steps for installing the latest version of PHP Debugger in Ubuntu Install the php debug by Felix Becker extension from extensions Go to /etc/php/7.0/apache2 folder. Open the php.ini file using terminal using “sudo gedit php.ini” command Add these 2 lines at end of the file a. xdebug.remote_enable = 1 b. xdebug.remote_autostart = 1 Open the command terminal Run the “sudo apt-get install php-xdebug” command for installing the xdebug Restart the server using “sudo service apache2 restart” command PHP Debugger has been installed in visual studio code. Want to know more about our development services? Get in touch with us! Visual Studio Code PHP Debugger Ubuntu Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 26th October 2017 / by dhanyamol.kv
Moodle is a Free and Open-Source Software (FOSS) learning management system written in PHP. Drupal is also an Open-Source CMS. Our requirement is to integrate Moodle and Drupal with a single login system. For that I have followed steps mentioned below. Changes to be done in the Drupal site: Install the following modules in the Drupal site. Moodle SSO Services User Revision Libraries In Drupal there should be a user with role 'service-authentication' which is required by the Moodle site Drupal services configuration. Create user fields like firstname, lastname,city, country etc because Moodle requires these values. Please note the input for the Country field should be 2 characters. Changes to be done in the Moodle side: After installing Moodle in the same server, Download the plugin 'moodle-drupalservices-master'(Moodle plugin to connect to Drupal services) and rename it to 'drupalservices' and put the folder in auth directory of moodle. ie, moodle -> auth -> drupalservices. sudo wget https://github.com/cannod/moodle-drupalservices/archive/master.zip sudo mkdir drupalservices sudo unzip master.zip -d drupalservices/ sudo mv moodle-drupalservices-master/* . sudo mv drupalservices/ moodle/auth/This plugin checks if there is a valid Drupal session cookie and then connects to Drupal services and retrieves Drupal user info. Login to Moodle site with admin credentials and then go to Plugins -> Authentication -> Manage Authentication -> Drupalservices. Configure Drupalservices by specifying the Drupal site URL and Drupal fields for user data and enable the service. Run cron from Moodle side. /usr/bin/php path/to/moodle/admin/cli/cron.php. For testing single sign on Login to Drupal site. Access the Moodle site. You will be forced to enter the basic information for first time users. Logout from the Moodle site. You will be automatically logged out from the Drupal site also. Ubuntu Moodle Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 25th October 2017 / by dhanyamol.kv
Moodle is a Free and Open-Source Software(FOSS) learning management system written in PHP. We can install Moodle on a standalone platform. Here I would like to explain how to install Moodle in an Ubuntu Server. Steps to install Moodle in Ubuntu Server: Install PHP 5.4 and MySQL in our server. Then install following libraries,sudo apt-get install aspell graphviz php5-pspell php5-curl php5-gd php5-intl php5-mysql php5-xmlrpc php5-ldap Download latest version of the Moodle from and extract it to the website root folder (if necessary you can create a subdomain).sudo wget https://download.moodle.org/stable29/moodle-latest-29.tgz sudo tar -xpvzf moodle-latest-29.tgz moodle/ Create a directory named 'moodledata' outside the root directory.sudo mkdir /home/health_live/moodledata sudo chmod 0777 /path/to/moodledata Create a database for Moodle. Install Moodle by browsing the folder, www.sitename.com/moodle. Follow the instructions to configure Moodle that is, provide the database details, database name, user, password and last but not least create a site administrator account which will have all administration privileges. Now the installation is complete and you can start using Moodle. Moodle Ubuntu Free Software Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 23rd October 2017 / by alfred.paul
OpenMeeting is an opensource project from Apache. It is a web application suitable for video conferencing, instant messaging, whiteboard, collaborative document editing etc. The main requirement of openmeeting is Oracle Java. OpenMeeting uses Red5 streaming server for remoting and streaming. Openmeeting is an open source solution for institutions/organizations that want to keep the conferences private and within their parameter. Features of OpenMeeting Video/Audio conferencing Instant messaging Calendar, for scheduling meetings Whiteboard File explorer to share files between members Contacts and messaging Recording of conference for future reference Can create polls and votes Invite non members to attend conference using invitation hash User management Conference management Public and private conferences Large number of users can attend the conference Moderator can control each and everyone's permission who is attending the conference Provides SOAP API to integrate with other platforms OAUTH authentication to login using Facebook or other OAUTH providers Openmeeting can be installed by entering the following commands in the terminal. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer Then we need to install the dependencies from the repository using the following command. sudo apt-get install unzip imagemagick ghostscript jodconverter libjpeg-dev libgif-dev libfreetype6-dev libfreetype6-dev libreoffice sox build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libvpx-dev libxfixes-dev zlib1g-dev pkg-config netcat libmp3lame-dev libx264-devThere are also packages which needs to be compiled to run on Ubuntu. 1. pdf2swf The swftools version for Ubuntu 14.04 doesn't include pdf2swf, so https://launchpad.net/ubuntu/trusty/+package/swftools has to be compiled. For this enter the below commands in terminal. cd /opt/ sudo mkdir swftools;cd swftools sudo wget http://www.swftools.org/swftools-0.9.2.tar.gz sudo tar zvxf swftools-0.9.2.tar.gz cd swftools-0.9.2 sudo ./configure sudo makeswftools 0.9.2 gives an error on a makefile which includes an option for rm. See : https://lists.nongnu.org/archive/html/swftools-common/2013-02/msg00009… So edit the makefile in /opt/swftools/swftools-0.9.2/swfs, just change: rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L $(pkgdatadir)/swfs/default_viewer.swf rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L $(pkgdatadir)/swfs/default_loader.swfto rm -f $(pkgdatadir)/swfs/default_viewer.swf rm -f $(pkgdatadir)/swfs/default_loader.swfThen install, sudo make install2. ffmpeg with mp3lame Now create install-ffmpeg.sh and add the following commands. Note that the configure options should be double dash – FFMPEG_VERSION=2.4.2 cd /usr/local/src if [ ! -d /usr/local/src/ffmpeg-$FFMPEG_VERSION ]; then sudo wget http://ffmpeg.org/releases/ffmpeg-$FFMPEG_VERSION.tar.bz2 sudo tar -xjf ffmpeg-$FFMPEG_VERSION.tar.bz2 fi cd ffmpeg-$FFMPEG_VERSION sudo ./configure –enable-gpl –enable-version3 –enable-postproc –enable-libvorbis –enable-libvpx –enable-libmp3lame –enable-libx264 –enable-nonfree sudo make sudo checkinstallNext we have to make the script executable and run the installer. chmod +x install-ffmpeg.sh ./install-ffmpeg.shConfirm that all the below components are working by entering the following commands in the terminal. pdf2swf : This command should output the switch options. sox : This command should output the switch options. identify : This (ImageMagick) should output the switch options. ghostscript : This should drop to the GS (ghostscript) command prompt, quit to exit. jodconverter : This should output the switch options. libreoffice –version : libreoffice version confirm. ffmpeg : This will output the compiled options. Download and run the openmeetings installer, the latest version is 3.0.6 using the following commands: cd /opt/ sudo mkdir openmeetings; cd openmeetings sudo wget http://mirror.ox.ac.uk/sites/rsync.apache.org/openmeetings/3.0.6/bin/apache-openmeetings-3.0.6.zip sudo unzip apache-openmeetings-3.0.6.zip sudo ./red5.shNow open the web installer http://SERVERIP:5080/openmeetings/install and set the following initial configurations. Userdata/Organisation(Domain) Username = Administrator name Userpass = Administrator password Email = Administrator email User Time Zone = Time zone for OpenMeetings Organisation(Domains) = Domain nameConfiguration Set the following configurations: Allow self-registering (allow_frontend_register) : No Send Email to new registered Users (sendEmailAtRegister) : Yes New Users need to verify their EMail (sendEmailWithVerficationCode) : No Default Rooms of all types will be created : Yes Mail-Referer (system_email_addr) : Admin email or noreply SMTP-Server (smtp_server) : SMTP server SMTP-Server Port(default Smtp-Server Port is 25) (smtp_port) : SMTP Port SMTP-Username (email_username) : SMTP user SMTP-Userpass (email_userpass) : SMTP pass Enable TLS in Mail Server Auth : Enable TLS for SMTP Set inviter’s email address as ReplyTo in email invitations (inviter.email.as.replyto) : Reply to inviter Default Language : Language for Openmeetings Default Font for Export [default_export_font] : Font used Converters swftools zoom 100 swftools jpeg quality 85All other paths for the components can be left blank or /opt/jod/lib for JOD if all the above ones are worked, otherwise enter the following paths for jodconverter. SWFTools Path ImageMagick Path FFMPEG Path SoX Path JOD Path /opt/jod/lib OpenOffice/LibreOffice PathCrypt Type leave default crypt type (org.apache.openmeetings.util.crypt.MD5Implementation) red5SIP Configuration Enable SIP No SIP rooms prefix 400 SIP extensions context roomsClick the “Finish” button to start installation! Wait until installation complete, then click “Enter the Application” and login as Admin created. Also cancel the session in the console, sudo /opt/openmeetings/red5-shutdown.sh sudo /opt/openmeetings/red5.sh &Now go back to the web interface, enjoy the openmeetings http://SERVERIP:5080/openmeetings. You might need to run this script as background using utilities like screen. References: [1] http://openmeetings.apache.org/ [2] https://adminramblings.wordpress.com/2014/10/31/install-openmeetings-ub… Openmeeting Conference Ubuntu Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 20th September 2017 / by anoop.john
Youtube does not allow audio files to be uploaded. However you can easily convert an audio file into a video file using the given audio file and a fixed image as a background. The following works on Ubuntu and any variants of GNU/Linux. For converting a single mp3 file you can use the following.ffmpeg -v quiet -i "picture.jpg" -i input.mp3 -shortest -acodec copy output.mp4; done For converting a batch of files in a folder you can use the followingfor i in *.mp3; do ffmpeg -v quiet -i "picture.jpg" -i "$i" -shortest -acodec copy "`sed 's/mp3/mp4/g'<<<$i`"; done You will need to install ffmpeg in your GNU/Linux system to do this though Youtube Ubuntu Shell Shell Scripting Video Processing FFMpeg Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 10th February 2017 / by dhanyamol.kv
Open Data Kit (ODK) is an open-source suite of tools that helps to Build survey form, Collect data on a mobile device and send it to a server and Aggregate the collected data on a server and extract it in useful formats. ODK Aggregate can be deployed on Google's App Engine, by creating google account. ODK Aggregate can also be deployed locally on a Tomcat server backed with a MySQL or PostgreSQL database server. Steps to setup ODK Aggregate in our server, Install Java$ sudo apt-get install java7-jdkTo check whether java installed properly , use java -version Then open ~/.bashrc with your editor and add: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 at the bottom of that file. Install tomcat7sudo apt-get install tomcat7 Edit context.xml (under Tomcat 7's conf directory - /var/lib/tomcat7/conf) to have the attribute 'useHttpOnly' set to false. Download the correct version of ODK Aggregator and then install it.sudo wget https://s3.amazonaws.com/opendatakit.downloads/ODK\ Aggregate\ v1.4.7\ linux-x64-installer.run (For 64 bit) $ sudo chmod +x ODK\ Aggregate\ v1.4.7\ linux-x64-installer.run $ ./ODK\ Aggregate\ v1.4.7\ linux-x64-installer.run The installer does not install anything, but will guide you through configuring ODK Aggregate for Tomcat and MySQL/PostgreSQL. Set Parent Directory to your path. - Platform: MySQL - No SSL (for now) - HTTP Port: 8080 - IP Address or DNS: localhost Download and Install Latest MySQL Connector (http://dev.mysql.com/downloads/connector/j/5.1.html)$ sudo wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.36.tar.gz $ sudo tar -xzf mysql-connector-java-5.1.36.tar.gz $ sudo cp mysql-connector-java-5.1.36/mysql-connector-java-5.1.36-bin.jar /usr/share/tomcat7/lib/- Database Port: 3306 - Database Host: 127.0.0.1 - Continue... The installer will produce a WAR file (web archive) containing the configured ODK Aggregate server, a create_db_and_user.sql script for creating the database and user and a Readme.html file with instructions on how to complete the installation. Set up database (run script) Place war file on web server$ cd ~/ODK Aggregate $ sudo cp ODK\ Aggregate/ODKAggregate.war /var/lib/tomcat7/webapps/ - the war file should automatically unpack and create an ODKAggregate directory. Restart Apachesudo service tomcat7 restart Visit http://domain_name:8080/ODKAggregate/NOTE: It may take a few moments for the Apache Tomcat server to detect the ODKAggregate.war. if you get a 404 error, wait a few moments then refresh your browser. If you want ODKAggregate to be reached at just http://domain_name:8080/, you can rename it to ROOT.war before copying it to the /webapps directory. ODK Ubuntu Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 07th December 2016 / by deepak.r
Docker is an open source platform for system administrators and developers to build, ship and to run distributed applications, whether its on the cloud, data center VMs, or on the laptops. Docker helps to automate the deployment of Linux applications inside software containers. Docker4Drupal (A native docker-based local environment for Drupal) is an open source initiative by Wodby to setup Drupal local environments. Docker4Drupal is supported for both Drupal 7 and Drupal 8 versions. This write up helps you to set up a local Drupal environment in seconds. You have to install the Docker for Linux to start with. For Linux platform, you have to additionally install Docker Compose. You can install the docker-compose by the following command in your Ubuntu terminal. $ pip install docker-composeClone the Docker4Drupal to your local machine by running the following command in your Ubuntu terminal or alternatively download the package. $ git clone https://github.com/Wodby/docker4drupal.gitUsing the Docker compose file (docker-compose.yml) we can set up local environment for Drupal using a native Docker app on Linux, Mac OS X and Windows as well. Before running the compose file, you have to update the configurations to meet your needs. You can also have a look at the available containers in the Drupal bundle. Place the Docker compose file in your Drupal Webroot. Navigate to the Drupal webroot in terminal and run the compose file using the following command. $ docker-compose up -dYou will be able to access the Drupal site at http://localhost:8000, phpMyAdmin at http://localhost:8001, Mailhog at http://localhost:8002, Apache solr at http://localhost:8003 and Memcache Admin at http://localhost:8006/index.php by default (If you have not customized the port numbers in compose file). Accessing containers You can connect to any container in the Drupal bundle by executing the following command. Replace SERVICE with the name of the service (e.g. php, mariadb, nginx, etc). $ docker-compose exec SERVICE shHope this helps! Please feel free to get in touch with us if you need any further assistance. Drupal Docker Ubuntu Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 07th December 2016 / by alfred.paul
OpenMeeting is an open source and independent alternative for Google Hangouts. It allows video/audio conference, collaborative editing, screen sharing, instant messaging etc. OpenMeeting community provides plugins for integrating to common platforms like moodle, Sakai, Jira, Joomla, Bitrix, Confluence, SugraCRM, Redmine. Unfortunately, the Drupal plugin for openmeeting is not opensource. A good news is, OpenMeeting provides a SOAP API for integrating OpenMeeting with other platforms. I will explain how to create a new conference via OpenMeeting's SOAP API. First, the user need to retrieve session ID for doing particular actions to be done using SOAP API. This can be retrieved by making a call tohttp://[host]:[port]/openmeetings/services/UserService/getSession Return will be an XML. We need to parse session ID from the XML. Then login using admin credential. For that, we can make call to http://localhost:5080/openmeetings/services/UserService/loginUser?SID=VALUE&username=VALUE&userpass=VALUESID is the value we retrieved in the first request. To create a new conference, we can make use of the API gateway method addRoomWithModerationQuestionsAndAudioType. For example, http://localhost:5080/openmeetings/services/RoomService/addRoomWithModerationQuestionsAndAudioType?SID=VALUE&name=VALUE&roomtypes_id=VALUE&comment=VALUE&numberOfPartizipants=VALUE&ispublic=VALUE&appointment=VALUE&isDemoRoom=VALUE&demoTime=VALUE&isModeratedRoom=VALUE&allowUserQuestions=VALUE&isAudioOnly=VALUE SID = The SID of the User. This SID must be marked as Loggedin name = Name of the Room roomtypes_id = Type of that room (1 = Conference, 2 = Audience, 3 = Restricted, 4 = Interview) comment = any comment numberOfPartizipants = the maximum users allowed in this room ispublic = If this room is public (use true if you don't deal with different Organizations) [boolean] appointment = is it a Calendar Room (use false by default) isDemoRoom = is it a Demo Room with limited time (use false by default) demoTime = time in seconds after the user will be logged out (only enabled if isDemoRoom is true) isModeratedRoom = Users have to wait until a Moderator arrives. Use the becomeModerator param in setUserObjectAndGenerateRoomHash to set a user as default Moderator allowUserQuestions = enable or disable the button to allow users to apply for moderation isAudioOnly = enable or disable the video / or audio-only Detailed documentation is given in the link: http://openmeetings.apache.org/openmeetings-webservice/apidocs/index.ht… Hope this helps. Please feel free to get in touch with us if you have any further queries. Drupal API Ubuntu Apache Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 06th December 2016 / by deepak.r
Docker is an open source platform for system administrators and developers to build, ship and to run distributed applications, whether its on the cloud, data center VMs, or on the laptops. Docker helps to automate the deployment of Linux applications inside software containers. This write up helps you to learn, installation, upgrade and un-installation of Docker engine. Docker is supported on the following Ubuntu operating systems: Ubuntu Precise 12.04 (LTS) Ubuntu Trusty 14.04 (LTS) Ubuntu Wily 15.10 Ubuntu Xenial 16.04 (LTS) Note: Ubuntu Utopic 15.04 and Ubuntu Utopic 14.10 exists in Docker’s APT repository, but they are no longer officially supported.Prerequisites Regardless of the Ubuntu version, Docker requires a 64-bit installation. Additionally, Ubuntu kernel must be minimum at 3.10. Kernels older than 3.10 will lack some features to run the docker containers. That is, A newer maintained version or the latest minor version 3.10 version are acceptable. Older versions also have some known bugs, that can cause data loss and frequently panic in some cases. You can check your kernel version by typing the following command in the Ubuntu terminal. $ uname -rYou will be displayed a kernal version as below. 3.19.0-25-genericInstall Docker After confirming the Operating system requirements, you can update your package manager by running the following command in Ubuntu terminal. $ sudo apt-get updateAs the Ubuntu package manager has been updated, You can now install docker-engine by running the following command in your Ubuntu terminal. $ sudo apt-get install docker-engineAfter the installation you can start the Docker service, by running the following command in your Ubuntu terminal. $ sudo service docker startNow, you can verify docker is installed correctly. $ sudo docker run hello-worldThe above command downloads a test docker image and runs it in a container, which prints an informational message. Upgrade Docker To install the latest version of Docker, run the following command in your Ubuntu terminal. $ sudo apt-get upgrade docker-engineUninstallation To uninstall a docker package run the following command in your Ubuntu terminal. $ sudo apt-get purge docker-engineAs the dependencies were no longer needed $ sudo apt-get autoremove --purge docker-engineAs the above commands, will not remove the containers, volumes, images or configuration files in your host, you can run the following command to delete the containers, volumes, images or configuration files, by running the following command in your terminal. You must remove the user configuration files manually. $ rm -rf /var/lib/dockerHope this helps! Docker Ubuntu Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 24th November 2016 / by deepak.r
PHP 7 is promising substantial improvement in performance over previous versions of PHP, which was released on 2015, December 3rd. Those who are interested in using PHP 7, can easily update your PHP version. Ondřej Surý is maintaining a PPA (Personal Package Archieve) for PHP 7 in Ubuntu. You need to add the repository to your package list. $ sudo add-apt-repository ppa:ondrej/phpPress 'Enter' key to proceed. After installing PPA, need to update the local package cache to download its contents: $ sudo apt-get updateUpgrade 'mod_php', with Apache. Install the new important PHP packages, with the exception of php5-mysql, that will be removed. sudo apt-get install php7.0For MySQL users, make sure to update the PHP-MySQL bindings: $ sudo apt-get install php7.0-mysqlTo verify the PHP version, run the following command in Ubuntu terminal, $ php -vYou will be able to see the PHP version as below, PHP 7.0.11-2+deb.sury.org ~ trusty+2 (cli) ( NTS ) Hope this helps! PHP7 Ubuntu Leave a reply Your email address will not be published. Required fields are marker *