I am creating a own centOS 64 bit ami in AWS EC2 by following this link http://www.idevelopment.info/data/AWS/AWS_Tips/AWS_Management/AWS_10.shtml. Now, i am in middle of creating the own AMI for EC2 instance. So, When i issue this command # yum -c /opt/ec2/yum/yum-xen.conf –installroot=/mnt/ec2-image -…
ubuntu nginx on local machine. Fatal error: Call to undefined function odbc_connect()
I installed nginx, php (php5-cli php5-common php5-mysql php5-fpm php-pear php5-cgi php5-odbc php5-curl), odbc on my local PC with Ubuntu. And it worked correct until (I guess) I restarted the system. Now I’m getting Fatal error: Call to undefined function odbc_connect() My config: What I found about ODB…
How to stop ‘echo’ from caching
I run the following: I then make a change to the apache2.conf file and run the command again, expecting a different hash, however it is the same hash which leads me to believe that echo is caching the file in that shell memory. When I open new shell and take a hash of the now-modified file it shows new hash.
Strtok behaviour with delimiter
Below is the code snippet. This works fine. But, when the “line” argument is “Front Board Memory status:Correctable ECC / other correctable memory error detected ; sensor (70, Memory)” The output will be 70 SENSOR_SPECIFIC MEMORY STATE_00 True 8543 Front Board Memory status where the s…
Linux terminal installation yes/no error
I want to set up something, example: phpmyadmin; Terminal CODE: When I enter this code a yes or no question is seen. I answer ‘yes’ ‘y’ but it is cancelled. Answer It asks you: Note the capital “Y”, which means it’s selected by default, so pressing “enter”…
Screen, process kill on disconnect?
Am hoping this can be cleared up : Given, screen session running, and open (attached) in a terminal. Question. If the terminal session is terminated, without being detached from the screen session, would the active process running in the screen session be killed/halted/stopped etc. Thanks Answer It is in the …
Is that possible to run HADOOP and copy a file from local fs to HDFS in JAVA BUT without installing Hadoop on file system?
I have NOT installed hadoop on my Linux file System. I would like to run hadoop and copy the file from local file system to HDFS WITHOUT installing hadoop on my Linux file System. I have created a sample code but it says “wrong FS, expected file:///”. Any help for this? POM.XML I looked for all po…
Linux whiptail or dialog with menu and input together
I want to use the ‘whiptail’ package to generate a menu box and input box simultaneously on screen. Is this possible? Or maybe with dialog? I can’t find any example of this. I want something like this: Menu item 1 Menu item 2 menu item 3 if none of the above, type your own: Inputbox: The use…
Modification of file names
I have a list of more than 1000 files on the following format. I am on Linux and want to change them as follows Using rename and awk I managed to get The remaining task is now to remove the last field that holds the year. Answer A solution that uses sed to generate the new names and the rename
Is it possible to install pcsc-lite 1.8.13 on Raspbian OS?
I’m working on a Raspberry Pi project. I’m trying to install a driver package for ACR1251U-A1 NFC tag. This package requires to install pcsc-lite package at first. But as I understand after a search on the internet, pcsc-lite 1.8.13 is not available for Raspbian OS. My supervisor persists that pcs…