Debian Systems like Ubuntu and others’ software packages has the extension .deb. With the file, you can install softwares on your system. While you click the “Install” button on Ubuntu Software Center or on Synaptic Package Manger, what the system actually do is downloading the .deb file from the server and installing it. These .deb files are installed using the dpkg software. It’s not necessarily required for you to have internet to install softwares, but if you don’t have the dependencies of the software, internet is required for the software to download and install it.... [READ MORE]
Posts marked with "Linux" in categories
Create a localhost Website in Ubuntu 11.04 & Up
In a post, I told how to create a localhost website using Apache server in Ubuntu. It worked on all versions up to Ubuntu’s 10.10th version. But on Ubuntu versions 11.04 and the versions released after it, there were some changes to the Apache server. So, by this post I’m going to update the way to create a localhost hosted website in Ubuntu versions 11.04 and the versions that came after 11.... [READ MORE]
Identify Remote OS By IP Address In PHP
In the recent post, I gave the default TTL value of different devices. As you can see, when you ping a host you can roughly identify the operating system the remote server’s running. I saw a question on Stack Overflow about this. Sadly it was down voted and was removed later. I tested if it is possible and I found that it is possible. In this post, I will give a function that automatically pings the remote host and find out the possible Operating Systems the remote server is running.... [READ MORE]
Default TTL (Time To Live) Values of Different OS
TTL (Time To Live) is a timer value included in packets sent over networks that tells the recipient how long to hold or use the packet before discarding and expiring the data (packet). TTL values are different for different Operating Systems. So, you can determine the OS based on the TTL value. You can get the TTL value by pinging an address. Here is the output got by pinging “subinsb.com” on my system :... [READ MORE]
In My Name is Linux
As you know already, my full name is Subin Siby. What’s special about my name is that it’s connected to Linux. As you may have seen, executable files on a Linux system is in the directory /usr/bin, /usr/sbin and /sbin. If you look at it closely, you can see that sbin only misses the character u from my name. If you add “u” to the name, it’ll become /usr/subin. Creepy & Fun, right ?... [READ MORE]
Configure WordPress To Not Use FTP To Do Stuff
By default, if you want to install plugins or upgrade WordPress, you have to provide the FTP details. If you are running WordPress on localhost, you won’t have the FTP credentials. In this case you won’t be able to install plugins or upgrade WordPress. There is a way to configure WP to don’t use FTP, instead install directly using the Read/Write permission of folder. If WordPress can’t install anything without FTP, it needs another method – direct install.... [READ MORE]
How To Use FileZilla/SFTP To Update Site in OpenShift
In the recent post, I mentioned about OpenShift, a PaaS Service that offers Free Hosting. You can update your application using GIT. OpenShift also provides SSHing into your application. You may have heard of FTP protocol which allows you to transfer files through web. Most hosting companies use FTP protocol to update client apps. OpenShift unlike AppFog have FTP support, but in a different manner. It has SFTP support ie SSH File Transfer Protocol.... [READ MORE]
How To Change Your Country By Using Proxy in Ubuntu ?
There are certain restrictions on some sites such as Country Restriction. Mostly there are sites just for US citizens. For Example The most 99 cent domain offers from GoDaddy is only available to US citizens. They check the country by IP Address. I’m going to tell you how to Change your Country by changing the IP address using a PROXY. This is explained to work on Ubuntu, you can also use this method in Windows & Others but in a different way.... [READ MORE]
How To Use Hard Disk As RAM In Ubuntu Linux
I heard that it is possible to use a portion of hard disk as RAM in Windows. I wondered if this trick is available for Ubuntu, so I googled about it and couldn’t find anything related to it. But I found out an AskUbuntu answer of using USB sticks as RAM. I did the same trick on Hard Disk and it works !! This trick can be accomplished with the use of some small commands in Terminal.... [READ MORE]
Loading A Window Created Using GLADE in Python
If you have created a window using Glade and want to display this window on your Python program containing the event handlers of the Window, then you should follow this tutorial. This small code will load the Glade file and displays the window. Note : The Glade Project file format should be GtkBuilder. Now, let’s get down to the code. Create a Python file named window.py in the folder containing the glade file and put in the following contents :... [READ MORE]