Quantcast
Channel: Programming and Technology » GNU/Linux
Browsing latest articles
Browse All 55 View Live

Image may be NSFW.
Clik here to view.

Network not running in a CentOS VirtualBox machine

Be sure that your network options in VirtualBox are configured like this: Attached to: Bridget Adapter Name: (your network device) Promiscuous Mode: Deny Cable Connected: Check Then inside the CentoOS...

View Article



Image may be NSFW.
Clik here to view.

Run Solr as a service in Ubuntu

I’ve been doing some tests with Nutch and Solr these days. One thing I didn’t like was that when you run Solr all the info messages output to the standard output in the command line. I rather use it as...

View Article

Image may be NSFW.
Clik here to view.

Disable blank console in Ubuntu

Edit /etc/default/grub and add consoleblank=0 in the GRUB_CMDLINE_LINUX_DEFAULT option: GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=0" Then update grub and reboot. sudo update-grub sudo shutdown -r now

View Article

Image may be NSFW.
Clik here to view.

Load testing a web site with Siege

Siege is an HTTP load testing and benchmarking utility. It helps you test you server and web developments in high load situations. Quoted from it’s home page: Siege is an http load testing and...

View Article

Image may be NSFW.
Clik here to view.

Install software in unsupported Ubuntu versions with apt-get

When an Ubuntu version goes unsupported its repositories get moved to an archive server. If you don’t update the repo origins you’ll get some errors like those:Err http://archive.ubuntu.com...

View Article


Image may be NSFW.
Clik here to view.

Useful yum commands

Those are some commands that you’ll probably need sometime to install, remove, update, etc. software in your CentOS/Fedora/Red Hat box. As I’m more used to apt-get I’ve searched a fairly complete list...

View Article

Fix apt-get “cannot copy extracted data for ‘…’ to ‘…': unexpected end of...

I was doing an apt-get upgrade and got this error: Preparing to replace liborc-0.4-0:armhf 1:0.4.16-2 (using .../liborc-0.4-0_1%3a0.4.18-1rpi1rpi2_armhf.deb) ... Unpacking replacement...

View Article

Image may be NSFW.
Clik here to view.

Enable SSH server in a headless Raspberry Pi

Raspbian come by default with SSH server deactivated so if you have a headless Raspberry Pi you won’t be able to access it. The easy way to activate SSH server without even powering on the device is by...

View Article


Image may be NSFW.
Clik here to view.

Mount a folder via sshfs in Ubuntu with permissions to other users

After installing sshfs in Ubuntu:sudo apt-get install sshfsYou can mount a folder located in a remote machine via SSH with a command like this:sudo sshfs user@remote_server:/remote_folder...

View Article


Image may be NSFW.
Clik here to view.

Split and join large files using cat, split and tar

I was going to store a CentOS DVD iso file into my external hard drive but the image was bigger than 4GB, the biggest file size in FAT32, so I had to split it.cat CentOS-6.5-x86_64-bin-DVD1.iso | split...

View Article
Browsing latest articles
Browse All 55 View Live




Latest Images