Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

How To Upgrade to ubuntu16.04 LTS from ubuntu 14.04 LTS from SSH

This article will describe the steps to upgrade ubuntu 14.04 LTS to ubuntu 16.04 LTS from command line (SSH/ or server cosnole)

Precaution:

  • Don’t attempt upgrade for system with RAM below 1GB, Attempting to upgrade a server with less than 1GB of RAM may result in database corruption.
  • Please take snapshot of your server before you start upgrade process.
  • All of apps and services will be down during upgrade process.
  • Upgrade process would take few minutes to several hours, all depends on your server network connection speed and server hardware.

Preparation to upgrade:

SSH to your server as root and run below command to make sure your server is ready to upgrade, if you see error messages or any command fails, don’t start upgrade process:

sudo apt-get update && sudo apt-get dist-upgrade
sudo dpkg --configure -a

If you don’t see any error messages by executing above commands, you are ready to upgrade your server, follow commands as below:

sudo do-release-upgrade -f DistUpgradeViewNonInteractive

At the completion of upgrade process you would see prompt to remove obsolete packages, just enter ‘y’ after this upgrade process is complete .

Restart your server

sudo init 6

Now your server is upgraded to latest release.

Once upgrade complete and server successfully booted with new OS, be advised to create new snapshot of your server.

If your upgrade fails due to any reason you can restore from snapshot of old release that you generated before to start your OS upgrade process.

Ubuntu 16.04 release notes: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes

Move cagefs-skeleton directory from /usr/share to another partition

What is CageFS?

cagefs is a virtualized file system and a set of tools to lock each cpanel/ system user in its own space called ‘cage’. Each user will have its own fully functional CageFS, with all the system files, tools, etc…  For a in cagefs only safe binaries or custom binaries enabled by root should available. CageFS user will be restricted to see other users.

CageFS create an individual namespace for each user, this technique make it possible to hide other user and their files. CageFS create  high level of isolation. The safe files for cageFS users are created under default location /usr/share/cagefs-skeleton.

Sometimes you might need to move cagefs-skeleton from /usr/share to another partition like /home due to low free disk space available in the /usr partition. Please find below steps to migrate cagefs_skelton from default location i.e. /usr/share/cagefs_skelton.

How to move cagefs_skelton from default location?

  •  If /usr/share/cagefs-skeleton already exists:

$ cagefsctl –disable-cagefs 
$ cagefsctl –unmount-all
# To ensure that the following command prints empty output: 
$ cat /proc/mounts | grep cagefs 
# if you see any cagefs entries, execute “cagefsctl –unmount-all” again.
$ mv /usr/share/cagefs-skeleton /home/cagefs-skeleton 
$ ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton
cagefsctl –enable-cagefs

  •  If /usr/share/cagefs-skeleton is not created yet (cagefsctl –init wasn’t executed), then execute:

$ mkdir /home/cagefs-skeleton 
$ ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton 
$ cagefsctl –init

On cPanel servers, if you place skeleton into /home directory, then you should configure the following option:

In cPanel WHM choose Server Configuration and go to Basic cPanel/WHM Setup, then in Basic Config change Additional home directories default value to blank (not “home”).

Note: If this option is not set, then cPanel will create new accounts in incorrect places.

 

Ref: https://docs.cloudlinux.com/index.html?moving_cagefs-skeleton_directory.html

Searching logfiles with Powershell, Log parser, Findstr, QGrep – Steve Schofield Weblog

Searching logfiles with Powershell, Log parser, Findstr, QGrep – Steve Schofield Weblog: “http://www.ss64.com/nt/qgrep.html

In conclusion, the clear winner�was Log parser, speed and accuracy were great.� Powershell was ‘cool’ but took too long.� Maybe as I get better at�Powershell, that will�change.��Findstr & QGrep�appear to be more for parsing out entire lines of�text.� That was my experience, it�could be my lack of advanced knowledge with these tools.��I use FINDSTR�a lot�for doing quick searches, it is faster than FIND.� I was hoping to use regular expressions, but”

Silverlight for S60 5th edition is available along with a Bing App

 \r\n\r\nSilverlight for smartphone\r\n\r\n\r\n \r\n\r\nSilverlight, the cross-browser, cross-platform implementation of the .NET Framework for building media experiences and rich interactive applications for the Web on desktop computers, is available for Nokia S60 5th Edition smartphones such as Nokia 5800 XpressMusic, Nokia N97 and Nokia N97 Mini.\r\n\r\nThe release of Silverlight comes the Bing Application.\r\nThe owners for s60 smart phones will be able to view Silverlight content right from your Nokia S60 browser, which is a big plus. Other than that and the new Bing application, currently I don’t see other uses for Silverlight on my Nokia N97, but this might be just for now.\r\n\r\nGet Silverlight for S60 5th edition here!\r\nGet the Bing Application for S60 5th edition here!\r\n\r\n\r\nSilverlight for s60 smartphone\r\n\r\n \r\n\r\nNote: All logos, images and trademarks used in articles on this site are property of its respective owners.

Install Python from Source on Linux

\r\n\r\n\r\nThis article is helpful for you to install Python from source on Linux system. Follow the steps as describes below:\r\n\r\nlocalhost:~$ su −\r\n\r\n\r\nPassword: [enter your root password]\r\n\r\n\r\nlocalhost:~# wget http://www.python.org/ftp/python/2.3/Python−2.3.tgz\r\n\r\n\r\n Resolving www.python.org… done.\r\n\r\n\r\n Connecting to www.python.org[194.109.137.226]:80… connected.\r\n\r\n\r\n HTTP request sent, awaiting response… 200 OK\r\n\r\n\r\n Length: 8,436,880 [application/x−tar]\r\n\r\n\r\n …\r\n\r\n\r\nlocalhost:~# tar xfz Python−2.3.tgz\r\n\r\n\r\nlocalhost:~# cd Python−2.3\r\n\r\n\r\nlocalhost:~#/Python−2.3# ./configure\r\n\r\n\r\n checking MACHDEP… linux2\r\n\r\n\r\n checking EXTRAPLATDIR…\r\n\r\n\r\n checking for −−without−gcc… no\r\n\r\n\r\n …\r\n\r\n\r\nlocalhost:~#/Python−2.3# make\r\n\r\n

gcc −pthread −c −fno−strict−aliasing −DNDEBUG −g −O3 −Wall −Wstrict−prototypes\r\n

\r\n

−I. −I./Include −DPy_BUILD_CORE −o Modules/python.o Modules/python.c\r\n

\r\n

gcc −pthread −c −fno−strict−aliasing −DNDEBUG −g −O3 −Wall −Wstrict−prototypes\r\n

\r\n

−I. −I./Include −DPy_BUILD_CORE −o Parser/acceler.o Parser/acceler.c\r\n

\r\n

gcc −pthread −c −fno−strict−aliasing −DNDEBUG −g −O3 −Wall −Wstrict−prototypes\r\n

\r\n

−I. −I./Include −DPy_BUILD_CORE −o Parser/grammar1.o Parser/grammar1.c\r\n

\r\n…\r\n\r\n\r\nlocalhost:~/Python−2.3# make install /usr/bin/install −c python /usr/local/bin/python2.3\r\n\r\n\r\n…\r\n\r\n\r\nlocalhost:~/Python−2.3# exit\r\n\r\n\r\n# logout\r\n\r\n\r\nlocalhost:~$ which python\r\n\r\n\r\n /usr/local/bin/python\r\n\r\n\r\nlocalhost:~$ python\r\n\r\n

Python 2.3.1 (#2, Sep 24 2003, 11:39:14)\r\n

\r\n

[GCC 3.3.2 20030908 (Debian prerelease)] on linux2\r\n

\r\n

Type “help”, “copyright”, “credits” or “license” for more information\r\n

\r\n

 

\r\n

>>> [press Ctrl+D to get back to the command prompt]\r\n

\r\n \r\n\r\nlocalhost:~$\r\n\r\n\r\n \r\n\r\n \r\n\r\nNote: All images, logos and trademarks shown on this site are property of their respective organizations

LibreOffice Rolls Out the Updates, Latest 3.3.2

\r\n\r\n\r\nLibreOffice developers releasing updates with rapid pace, since the inaugural release two months ago, LibreOffice has seen two minor version updates as well as associated developmental releases, just a couple of days ago.\r\n\r\n\r\nLibreOffice 3.3, the fork of OpenOffice.org 3.x, was released on January 25 to a jubilant reception. It built upon the years of work that made OpenOffice.org an excellent office suite. Many OpenOffice.org developers defected when Oracle’s strategy became suspect. With the many same talented developers and supporting companies now backing LibreOffice, it is well positioned to challenge OpenOffice.org in Linux distributions and user desktops. It already pulls ahead in some polls and has replaced OOo in several popular distributions.\r\n\r\n\r\nVersion 3.3 brought nice improvements over OpenOffice.org, one of which is Scalable Vector Graphics support. Another is the long awaited support for MS Works formats and improved Word Perfect support. One of the most interesting new features is the Experimental Mode, which allows one to test upcoming features.\r\n\r\n\r\nLibreOffice 3.3.2 was released in March 22. This release was primarily a stabilizing update bringing further bug fixes and code clean-ups. The announcement also said this release sets the stage for the next major release, 3.4.0, expected May 2.\r\n\r\n\r\nVersion 3.3.1 was released on February 23 and brought some bug fixes, new icons, and extra language additions.\r\n\r\n\r\nSome of the more interesting changes include dictionary updates, fixed incorrect cursor navigation, fixed the occasional blank first slide in Presentation, fixed Writer losing ticks in check boxes, fixed erratic paint rendering in Impress, and added a workaround for IM problems with KDE4 integration.\r\n\r\n\r\nThe next release of LibreOffice should arrive with the developmental snapshots leading up to 3.4.0. The first beta is expected to appear any day now and release candidates will start appearing after April 4. 3.4.1 is due May 23.\r\n\r\n\r\nDownload LibreOffice 3.3.2\r\n\r\n\r\nFeatures\r\n\r\n

    \r\n

  • It’s free\r\n
  • \r\n

  • It’s secure and stable\r\n
  • \r\n

  • Easy to use with powerful interface\r\n
  • \r\n

  • Multilingual support\r\n
  • \r\n

  • Distributed under LGPL, you can use, customize, hack, copy and distribute\r\n
  • \r\n

  • Free developer support, Open source community driven project\r\n
  • \r\n

  • Support major file formats that includes to import and save as MS Word, MS Excel, MS Power Point\r\n
  • \r\n

  • LibreOffice suite includes Writer (word processor), Calc (work book/ work sheets), Impress (for multimedia presentations), Draw (to build diagrams and sketches), Base (database front end of LibreOffice), Math (simple equation editor)\r\n
  • \r\n

  • Enhance functionality with LibreOffice Extensions\r\n
  • \r\n

  • Automate your productivity with LibreOffice Templates\r\n
  • \r\n

\r\nSupported Operating System\r\n\r\n

    \r\n

  • Microsoft Windows\r\n
  • \r\n

  • Linux\r\n
  • \r\n

  • Mac OS X\r\n
  • \r\n

\r\nPictures\r\n\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

First Look: Nokia Astound Smartphone

\r\n

Nokia Astound Smartphone\r\n

\r\n

Mobile handset maker Nokia Corp. launched smartphone Nokia Astound, available exclusively from T-Mobile USA, the unit of Germany’s Deutsche Telekom AG (DTEGY.PK: News ), since April 6. The Astound has a sleek stainless-steel design that features an 8-megapixel camera with dual-LED flash and 720p HD video capture, a 3.5-inch capacitive touch AMOLED display, free turn-by-turn navigation from Nokia and access to thousands of free and paid apps via Nokia’s Ovi Store.\r\n

\r\n

With the latest commercial version of Ovi Maps, the Astound provides free voice-guided, turn-by-turn navigation in almost 100 countries in 46 languages. Additional countries and languages are available to download free from Nokia.\r\n

\r\n

Mark Slater, vice president of sales, Nokia, stated, “As millions more consumers make the switch to smartphones, Nokia is proud to offer an alternative that is not only easy and fun to use, but is also very sexy and sleek, unlike anything in its price point.”\r\n

\r\n

The phone itself is quite attractive with a white and silver color scheme and slim profile. While the Astound might be attractive on the outside, Symbian is still, well, Symbian. Although it is a powerful and full-featured platform, its whole aesthetic feels dated and static compared to Android 2.3, Apple’s iOS, and even the latest version of RIM’s BlackBerry OS. Thankfully, this is the most recent version of Symbian S^3 so you get a portrait QWERTY keyboard and a browser improved from the previous versions.\r\n

\r\n

Nokia officials had no comment on its relationship with Microsoft, but they did hint that there will be more Symbian phones to come. The Astound is available online as well as at T-Mobile stores.

Page 1 of 1912345...10...Last »