Software :: Way To Create A Simple Rpm File?

Jan 21, 2011

have a built piece of software that I wrote with a whopping 3 files included total.Iwant to package this inside an rpm. I don't need complex stuff like postinstall scripts, dependencies, subpackages, or any of that stuff. I just want a simple rpm with the 3 files, a package identifier, and a summary. I am not planning on posting this rpm on a repo such as fedora or rpmfusion.

View 1 Replies


ADVERTISEMENT

Programming :: Script To Create Simple HTML From Text File?

Oct 1, 2009

I am working on a script to convert a comma seperated text file into html code line by line. The text file is like so:

Code:

link url, image url, description and I want it to output this:

Code:

<td><a href=�link url�><img src="image url" alt=�description" /></a></td>

Here is what I have so far:

Code:

#!/bin/bash
var1='<td><a href=
var2='><img src="'
var3='" alt=�thumbnail image" /></a></td>'

[code].....

It puts the entire line into the html so its no good. I'll probably need to use awk (I think).

View 5 Replies View Related

Programming :: Create A Simple Makefile Using C ?

Mar 26, 2011

How to create a simple Makefile using C....

View 3 Replies View Related

OpenSUSE :: Best Tool To Create Simple Diagram?

Jun 24, 2011

I need to create a simple diagram - basically, a small binary tree with labels on the nodes. I would probably posting that as a graphic illustration for a forum or blog post (but not at these forums).Looking at KDE menus, "gimp", "mtPaint", "LibreOffice draw" and "Inkscape" look as if they might be possibilities.When it comes to drawing, I'm am all thumbs (hopelessly incompetent). So what do you folk suggest as an easy way to get the job done.

View 5 Replies View Related

Software :: Create Two DVDs With It As Simple Data?

Mar 8, 2010

GNU/Linux kernel 2.6 Suppose I have 7.5GB file a I want to create two DVDs with it as simple data. Can I do this? And how do I retrieve the file afterwards?

View 4 Replies View Related

Red Hat :: Steps To Create Simple DNS In Redhat Enterprise?

Jan 5, 2010

What is the step by step procedure of creating simple DNS in redhat enterprise linux?
or by using simply named.conf,resolve.conf, with forward zone & reverse zone.

View 4 Replies View Related

Ubuntu :: 11.04 - Any Way To Create Simple Desktop Shortcuts

May 13, 2011

I simply cannot find anyway to create a simple desktop shortcut. I am Using Linux Ubuntu 11.04 with the Unity Interface. I love the panel on the side, but I would also like simple desktop shortcuts also. I can't do it. I tried dragging them on and nothing, I tried right clicking to see if there was an option and nothing. Where can I do this?

View 5 Replies View Related

Networking :: Create Simple Pppd Tunnel Between Two Machines?

Nov 26, 2010

I'm looking for a tutorial on how to create a simple pppd tunnel between two machines. I've found alot of tutorials about pppd over ssh (using the pty option) but for the purpose I just want a simple pppd tunnel.

Specs
host 1: lan ip 10.101.10.20 running slackware 13.0
host 2: lan ip 10.101.10.21 running slackware 13.1

View 2 Replies View Related

General :: Create A Simple GUI For The Bash Script Files?

Feb 20, 2010

Are there any tools that can be used to create a simple GUI for the bash script files i have created, and the GUI should be able to run on both Solaris and Red Hat systems.

View 4 Replies View Related

Programming :: Create Simple Form That Will Also Upload Only Xml Data?

Nov 24, 2010

i'm trying to create simple form that will also upload only xml data. first, the user will need to upload an xml document only by clicking submit, the data will be posted to the server and the user will be redirected to uploader.php. This PHP file is going
to process the form data and do all the work.

PHP Code:

[code]....

View 1 Replies View Related

OpenSUSE :: Create And Host A Simple Website Using LAMP And Drupal?

Feb 14, 2010

I wanted to create and host a simple website using LAMP and Drupal. I read an article in a Linux magazine a while back on how to do this, but can't seem to find any instructions. Can someone direct me to a site or link that has step by step instructions on setting up lamp and drupal?

View 9 Replies View Related

Ubuntu :: Create Object Using DIA With Simple Text Exactly Centered In Circle

Apr 6, 2010

I need to create an object using DIA (0.96.1) with the following characteristics: simple text (basically a number) exactly centered in a circle The reason why I need a way to exactly center the text is that I need to export the diagram within a vectorial graphic format and change its font. If the text is "manually" centered the result is not satisfactory.There are few defined objects in DIA that automatically center the text within a frame but none with a circle.

View 4 Replies View Related

General :: Create A Simple Website Which Can Communicate With Unix Server?

Mar 8, 2010

I want to create a simple website which can communicate with unix server.For example i want to run some command on a unix server through a website.

View 10 Replies View Related

Software :: Create Launcher In Fedora 13 Which Will Run Simple Script Named Proj4a?

May 8, 2011

I am trying to create a launcher in Fedora 13 which will run a simple script named proj4a. I run this script from the command line as follows:

$ $HOME/proj4a >$HOME/proj4a_out

where proj4a is an executable file in my home directory and the output goes into a file, proj4a_out, in my home directory. Everything works fine. I created a launcher called Proj4a and in the command field I entered the following:

' $HOME/proj4a >$HOME/proj4a_out'

When I click on the launcher it comes back with the following: There was an error launching the application.

View 5 Replies View Related

Programming :: Create A Simple Program With Will Continually Read Input From The User Until They Enter A Blank Line?

Apr 6, 2011

basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop

View 2 Replies View Related

Red Hat / Fedora :: Can't Properly Partition Both Hard Drives - Simple Way To Create Partition On Drive?

Jun 22, 2011

I installed Redhat Enterprise 3 on one of my servers. In my haste I didn't properly partition both Hard Drives and only properly partitioned one of them. Thus now I have

/dev/sdb1 478711768 137858256 316536328 31% /
/dev/sda1 101089 15346 80524 17% /boot

Where /dev/sda1 is actually a 80 GB hard drive. Is there anyway I can safely and easily repartition the unpartitioned space without causing a huge mess? I have a very important Oracle database on /dev/sdb1 and thus I want to be able to back it up on the second disk. I can create a partition on that drive?

View 2 Replies View Related

Programming :: How To Compile / Simple Tutorial For Making Simple Program

Oct 7, 2010

i'm a college student studying pc programing, and i was given today a special work and i have to program using miranda... which i've never used it >.< can anyone give me a hand to where to download, how to compile, and a simple tutorial for making a simple program or something?

View 3 Replies View Related

Security :: UFW Settings For Simple File Server

Dec 20, 2010

I would like to set the firewall in Ubuntu Server 10.10 up to be very secure but perform these tasks:

1. File server to windows 7 and windows xp machines both over ethernet and wireless via a router.
2. Print server for these 2 machines.
3. Auto backup these 2 machines.

So far I have set the server up with a static ip, do the 2 windows machines need static ip's as well? I don't need remote access to the server, only over the lan. I thought this may be all I needed to do:

Code:
$ sudo ufw default deny incoming
$ sudo ufw default allow outgoing
$ sudo ufw allow ssh
$ sudo ufw allow Samba
$ sudo ufw allow rsync
$ sudo ufw enable

But would this block auto updates to the server and auto backup of my files?

View 4 Replies View Related

Software :: Creating A Simple Postscript File?

Apr 4, 2011

I would like to do something that should be fairly simple but can not find a way for it.

I want to make a page in postscript or pdf format containing four lines of text and two png images.

Would you know an easy way to concatenate my text file with the two images in a ps or pdf file?

I need a solution that works via command line only as this is for a script.

I use redhat 5 for this and would prefer not having to install any extra software.

View 12 Replies View Related

Programming :: Reading A Simple File Format In C?

Dec 16, 2010

I made a string key-value mapping struct in C, and functions to add and remove entries. I would also like to write a function to read in this file format:

Code:
key: value
another: another value

[code]...

View 14 Replies View Related

CentOS 5 Networking :: Simple File Server With AD PDC?

Sep 15, 2010

I am trying to deploy a very simple file server in my company's network.The goal is just to have a file server with DAT backup, nothing more.I managed to configure Samba to show a share visible in the Windows network, with free read and write to everyone. For this I configured "Autentication Mode = user", and read/write access to all users in the specified share.

Of course, I would like to have the possibility to establish permissions based in AD-users. For that, I tried to add my CentOS machine to AD.I followed the guide in:

[URL]

I can get the kerberos "kinit" command to autenticate in Windows AD: I can access the Windows machines in the network as administrator and "klist" shows the valid ticket.But, when trying the "join", I always get the "No logon servers" error.I googled around for this, and it seems that this is a common error and there is no "magic approach" for it...

So, my questions are:

- Can this be achieved only by the Samba configuration tool (Gui)? I think not, as we need to change kerberos settins

- What would be the correct settings for krb5.conf?

- Are there any other services/files needed to adjust?

View 1 Replies View Related

Fedora Installation :: Make A Simple Avi File Play?

Sep 21, 2009

I try to play a simple movie in avi format. The codec is called AC-3. I tried several tutorials, now i stuck with a "local file conflict between packages" when i run the auto install with movie player. I try now VLC Player ... With VLC it works! Open from the Administrator panel - Add or Remove Software than search for VLC and tick the main stuff and install.

View 14 Replies View Related

General :: Convert Tab Separated File To Simple X-Y Chart

Aug 27, 2009

I wrote a script which analysis apache logs. This script generates a tab separated data file. There is two columns in the data. The first column is a file name accessed from remote. The second column shows how many times a file access.

I am looking for a linux command drawing a chart corresponding data.of course, I know that I can draw the chart in OpenOffice Calc. That's not what I need. Because there is some steps to do for a simple chart drawing. If there is a command line tool, then I can write a script that drawing a chart when the data file is updated.

View 6 Replies View Related

Server :: Simple Mirroring Networked File System?

Apr 8, 2010

I have two web servers. One is active and one is in reserve. I keep the user data (web pages) in sync by running rsync every 10 minutes or so. This copies any changes from the active machine to the reserve machine. But, it's slow, only gets changes every 10 minutes, bogs down the disk, does strange things to files that are changing during the rsync process etc...

I want something that will automatically copy any changes from the active server to the reserve server as they are made. IE I hit 'save' on the active server, it copies the file to the reserve server. Simple!

I've been looking around and I see GFS which is really vastly more complicated than I need. I'm happy with read-only access on the reserve host, so I don't need distributed lock management.

I could theoretically implement this by setting inotify watchers on every file and running an SCP or rsync command when a file gets saved. So, it can't be that hard.

I do not need a true networked file system, as in something I mount over the network. I just want something to keep my disks in sync.

View 3 Replies View Related

OpenSUSE :: Openoffice - Will Not Import A Simple Csv File Of 684k Rows In My 64 Bit

Nov 24, 2010

This suite contains a database which is pure ****; it will not import a simple csv file of 684k rows in my 64 bit linux laptop, but the same file loads flawlessly in windows 32 bit access 2002.

View 9 Replies View Related

Ubuntu :: Web Script For Apache As A Simple File Sharing Server?

May 23, 2010

Quite often I need someone to transfer a file to my laptop, and it's often different OS to different OS, and setting file-sharing, sshd/ssh, ftpd/ftp, and whatever else not is often not worth it. A USB key is also not always handy or big enough.

But, it's easy to be on the same network, just hard to get service working on top of it in less than 3 minutes if you've never dealt with that person's computer before.

What I was thinking would be the simplest thing would be if I could run apache, and have a very simple web script that simply allows file uploads. Something that would serve a web page that has a "choose file" button which brings up the file dialog, pretty standard I guess. I wouldn't say no to a few more functions on top of that.

Given that, does anyone know of a simple apache modules, or a web server script (language doesn't matter) that would allow for this?

View 2 Replies View Related

Ubuntu Servers :: Simple Apache2 Configuration File Package Could Get?

Apr 2, 2011

Anyone have a simple apache2 configuration file package I could get?I'm trying to serve a internal network site for files throughout my network, (music, video, etc). I remember when I did this with Redhat 5-6 and all I had to do was redirect the folder I wanted to share over apache and it worked. You could click on the file you wanted and it played, etc.For some reason I can't even get apache2 that ships with Ubuntu 10.04.02 to even have a "It worked!" internal site or anything. I haven't configured apache2 ever before. It seems to have grown from one or two configuration files to five or so!

View 7 Replies View Related

Networking :: Finding A Simple Web-based Group File Manager?

Jun 2, 2010

Is there a simple web-based solution for a group looking to securely share files online? The software needs to run on our own servers due to regulatory laws. I want users to be able to go to a web site, request an account (which I should be able to accept or reject), and upload/download/manage files in a web-based (preferably ajax-y) file manager. File access controls (via users/groups) is desirable.Yes, I know that SSH/SFTP is the 'proper' solution, but many of the users will be office workers and installing an SFTP client and configuring it is too advanced for them. Same goes for Samba+VPN setups...

View 2 Replies View Related

Programming :: Simple Bash To Write Files By Year To A Log File

Jan 31, 2011

I have a folder of 2 many files that the old ls just hangs.

I am trying to write some log files such as;

I don't mind doing one at a time, but I am just playing and even getting the listing I am not getting the date stamp, I have the following;

That does create the file, but all the files look like this;

So basically it's just sticking that ls inside the log file and not actually running the ls, so how can I use the above type to get files just created per year?

View 2 Replies View Related

Ubuntu Servers :: Setup Simple File Server In A Native Environment?

Dec 7, 2010

I have two computers on my home lan I am trying to share files between...My desktop which is running Ubuntu Server 10.10 (x64) with a GUI, and my laptop which is running Ubuntu Desktop 10.04. I have tried a million different tutorials regarding SAMBA setup, but they never work.

In addition, most of those tutorials are geared towards hybrid Linux/Windows environment. I do not have any microsoft product in my home. I have created the share on my server, but I'm not sure how to connect to it from the laptop (once again at this point in the tutorials it explains how to access it from a Windows PC). I tried using the menu doing this:

Places-->Connect To Server-->Service Type-->Windows Share (for the server I tried my server hostname and IP) to no avail. Does anyone know of a recent step by step tutorial for setting up a complete Ubuntu environment? Is there a simpler method I can use since I do not particularly need to use SMB protocol?

All I want to do is share my music folder from my server so I can access it (from the same LAN) on my laptop...Arrrghhh frustrating.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved