How to boot Linux Mint to the console by default? (that is, the run level 3). 2 methods introduced here to boot Linux Mint to console/command line. Method 1 (may only work for earlier releases; check method 2 below): set kernel option. Edit /etc/default/grub and add text to GRUB_CMDLINE_LINUX_DEFAULT: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text” Then, re-generate grub
Read more
Tag: Tutorial
How to rotate a .mov video from iPhone by 90 degree on Linux?
Posted onThe video files copied from iPhone is rotated by 90 degree when they are played on Linux. How to rotate a .mov video from iPhone by 90 degree on Linux? Specifically: 1) Play the video by rotating 90 degree. 2) Edit the video by rotating 90 degree and save it. You may check Rotating Video
Read more
How to install Adobe Reader on Linux Mint 17?
Posted onHow to install Adobe Reader on Linux Mint 17? First, add Canonical PPA repository sudo add-apt-repository “deb http://archive.canonical.com/ precise partner” Then, update apt cache and install Adobe Reader sudo aptitude update sudo aptitude install acroread You can select “Yes” to set Adobe Reader as the default PDF viewer or “No” to not set it. E.Z.M.,
Read more
How to un-trust a computer that I have trusted with iOS 7 device?
Posted onHow to un-trust a computer that I have trusted with iOS 7 device, such as iPhone? You can delete the Lockdown folder to reset the trust/un-trust status of iPhones. Apple provides tutorials for Max OS X and Windows at: http://support.apple.com/kb/TS5335 (archived) . If you are using Linux, the Lockdown folder is: /var/lib/lockdown Answered by Lucy.
Finding Which Package Provides a File in Ubuntu Linux and Linux Mint
Posted onHow to find which package provides a file in Debian based releases, such as Linux Mint, Ubuntu? You can use `dpkg`: $ dpkg -S /path/to/the/file -S or –search is the option to make dpkg do a “search”: -S, –search filename-search-pattern… Search for a filename from installed packages. To search which package provides a command file
Read more
How to find whether a package is installed on Linux Mint?
Posted onHow to find whether a package is installed on Linux Mint? For example, I would like to check whether ghostscript is installed. Using dpkg: dpkg -l List all available packages (installed and not installed): apt-cache pkgnames
How to install WordPress Buddy Press template?
Posted onHow to install WordPress Buddy Press template? Themes for BuddyPress are available at:http://wordpress.org/extend/themes/tags/buddypress Make sure that the theme tagged as “buddypress” is compatible with the BP/WP version activated in your server. As of BuddyPress 1.7, BuddyPress works with most any WordPress out of the box. BuddyPress 1.7 includes base template files that should fit into
Read more
How to install ffmpeg on Linux Mint 17 Qiana?
Posted onHow to install ffmpeg on Linux Mint 17 Qiana? To install FFmpeg on Ubuntu 14.04 Trusty Tahr, Linux Mint 17 Qiana and etc: $ sudo add-apt-repository ppa:jon-severinsson/ffmpeg $ sudo apt-get update $ sudo apt-get install ffmpeg Does anyone know why this was taken out of the main repositories? Linux Mint 17 is based on Ubuntu
Read more
How to convert flv to mp4 with ffmpeg?
Posted onHow to convert a video file in format as flv to mp4 with ffmpeg? You may use method from here: https://www.systutorials.com/3540/converting-video-files-for-ipod-iphone-ipad/ ffmpeg -i input.flv output.mp4 Or by specifying more details about how to handling the codecs: ffmpeg -i input.flv -vcodec copy -acodec copy output.mp4 You may also add more options as you like. For more,
Read more
How to redirect HTTP to HTTPS in Apache with mod_rewrite?
Posted onI’d like to force using of https on one of my site. How to redirect HTTP to HTTPS in Apache with mod_rewrite? You can put these lines to the .htaccess file in the directory from which you would like to redirect HTTPS to HTTP: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
How to run programs in different languages from Windows’ language
Posted onHow to run programs in different languages from Windows’ language? For example, some non-unicode programs in Chinese on English version of Windows will display some garbage characters. You can use the AppLocale util provided by Microsoft to run legacy applications without changing language of non-Unicode applications (system locale): https://en.wikipedia.org/wiki/AppLocale You may check this link for
Read more
How to set up HP printer drivers on Linux Mint?
Posted onHow to set up the driver for an HP printer on Linux Mint or Ubuntu? First install the packages: sudo aptitude install hplip hplip-gui Then run sudo hp-setup and follow the GUI instructions to set up the printer.
How to clone a snapshot of a remote repository at a specific branch?
Posted onI know that one can make a zip of the current branch by: git archive -o archive.zip HEAD However, at situations, one may want to clone a copy/snapshot of remote repository at a specific branch because: 1) The repository is large with long history and cloning the whole history takes too much time. 2) What
Read more
How to install no-ip update client on Linux Mint?
Posted onHow to install no-ip.com update client noip2 on Linux Mint 17? First, install the noip2 client: sudo su – cd /usr/local/src wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz tar xzf noip-duc-linux.tar.gz cd no-ip-2.1.9-1 make make install Then, generate the configuration file noip2 -C Last, make noip2 daemon run at reboot crontab -e Add this line to crontab: @reboot /usr/local/bin/noip2 I’ve
Read more
How to change hostname on Linux Mint?
Posted onHow to change the hostname on Linux Mint? The hostname (e.g. mypc or mypc.example.com) can be changed by putting the hostname in one line in the file /etc/hostname on Linux Mint.
How to view a file at a specific commit in git?
Posted onHow to view a file at a specific commit/revision in git? You can use git show to view a file’s content at a specific commit in git: https://www.systutorials.com/docs/linux/man/1-git-show/ $ git show REVISION:/path/to/file You can also save a copy by $ git show REVISION:/path/to/file >file.copy
How to set the number of mappers and reducers of Hadoop in command line?
Posted onHow to set the number of mappers and reducers of Hadoop in command line? Number of mappers and reducers can be set like (5 mappers, 2 reducers): -D mapred.map.tasks=5 -D mapred.reduce.tasks=2 in the command line. In the code, one can configure JobConf variables. job.setNumMapTasks(5); // 5 mappers job.setNumReduceTasks(2); // 2 reducers Note that on Hadoop
Read more
How to import a googlecode git project to github project
Posted onI wanna migrate leveldb (code.google.com/p/leveldb) to my github repository. Create a new repo on github.com with this link https://help.github.com/articles/creating-a-new-repository git clone https://code.google.com/p/ project-name.git Set the remote origin url as follows: git remote set-url origin https://github.com/ username/ repo-name.git git pull to pull the latest. git push origin master after making local changes. This is the original
Read more
How to adjust the system partition (C:) size of Windows?
Posted onThe disk management tools of Windows can adjust it to some level. But there are more space available as far as I can tell. How to further adjust the system partition (C:) size of Windows? You may check these tools: EASEUS Partition Master (free) Includes Partition Manager, Disk & Partition Copy Wizard and Partition Recovery
Read more
How to jailbreak iOS 7.1.2?
Posted onHow to jailbreak iOS 7.1.2 on a iPhone 4s? The Pangu Jailbreak Tool ( http://en.pangu.io/ ) works like a charm for my iPhone 4S with iOS 7.1.2. Remember to back up your data before jailbreaking your iPhone.