I am using Ubuntu 10.04 Server as my web server. I need to run Kannel for sending SMS. This require two programs i.e bearerbox and smsbox to be run. In case of Redhat I do this by opening 2 terminals. How can I do this in Ubuntu server which has no GUI
Every time I boot up ubuntu I usually open 3 terminal windows and ssh into the same server. I would like to either click a shortcut, or run a single terminal command that will do the equivalent.
I came across the "gnome-terminal" command, but I was unable to get it to trigger an ssh command.
Ideally I would like to have a script that I pass in the number of windows I want to open and the server I would like to ssh into for each window.
I am in the process of coverting some video files to motion jpeg (Wii) files with ffmpeg (great program by the way). I have been successful and so the majority of my work is over. My question is simple (I think) but complex to me so... here it goes. Is there a way on one command line to "batch" convert 8 or 9 files together instead of one by one. I just don't know what to put on the command line. I took one UNIX class a long time ago and the terms pipe and such come to mind... but I forget. Any takers? That was I can write what I want the computer to do in the morning and just come back after work and voila...
I want to add users from the command line, I know I can use the adduser for individual users, but if you have 50 or more there must be another way. I'd rather not use the GUI.
With xterm, I can do the following, and the scripts are executed sequentially in a single xterm: xterm -e 'script1.sh;script2.sh' But with gnome-terminal, when I do: gnome-terminal -e script1.sh;script2.sh It runs them in parallel in 2 different terminals. I've tried a few combinations of ", and ', around the scrips, but no difference.
I'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails * Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.
I was trying to sign my Ubuntu Conduct Agreement with the key I created for luanchpad. I have one other key that is used for my private folder. While using pgp --clearsign to sign my agreement it kept using the first key I created for my private folder. My work around was to create an email and then copy/paste using the correct key. how can I select between multiple keys from the terminal with pgp --clearsign?
I'm using GNOME terminal to SSH into a Debian server and would really like a way to paste multiple lines of text into configuration files (using the nano text editor if possible).
So far whatever I try dumps all the text onto a single line meaning I have to manually go through inserting line feeds which is tedious and can introduce errors.
Is there a way to paste text with line feeds intact? Rather than copying each line individually?
im having a little issue with using the rename function in ubuntu, i've been trying to google abit about how the file rename function works however i havent found out here (i dont mind if its python)Anyway to the point.I need to rename all files recursively under a specific folder.example file
Code: stupid_info_Dummy_Artist-Dummy_track_something.mp3 example endresult
have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet
I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.
Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:
Code: sudo tcpdump -i vlan4 -n tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.
I have an issue with users logging into a server. There are multiple (5 or so) database admins that have to log into a windows 2003 server and from there log into a red hat server. Once they are in the rhel box they execute an app (let's say xclock) that gives them an xwindows session on their desktop. Currently only one person can do this at a time, but they have asked me to configure it to allow multiple users to log into the red hat box from the windows server and run an xwindow.
i have setup mailrelay using postfix and relay email to exchange server. The problem is how can i relay email to multiple exchange server. For example: -
domain aa.bb.com relay to exchange server 10.10.10.10 domain 123.test.com relay to exchange server 192.168.10.5
I am running Centos 5.5 with Apache 2.2.3, MySql 5, and PHP 5.1.6. I am migrating a Drupal installation to the default html folder for development purposes. I am very new to server management, and a bit lost.I want to install some other web sites on the sandbox server to experiment with before uploading them to a Production environment. Is it possible to have multiple html folders? Or to use symlinks to point to the folders where the other web sites will reside?
I love Ubuntu and last night I wiped crappy windows 7 off my laptop and installed and customised a beautiful Ubuntu 9 OS ( I tried the new 10.04 first but it had some issues for me ). Now, up here at work we got a Domain Controller that is running windows server 2008, I need to be able to RDP into it and mess with it, I tried to use the Terminal Server Client that comes with Ubuntu, and I can see the login screen just fine, but when I try to log in it says incorrect password and wont go through.
Just to make sure it was not my account that was the issue, I went to my boss and used his computer (a MAC running OSX) and I was able to get into the same server with the same credentials, so it has something to do with my computer not my account. Do any of you have any ideas on what the problem could be?
So I have a few old dell computers. I want to use them to set up a ubuntu linux server in my basement. Is there a way for me to set up the server over all the pcs so that I can use the processing power of them all together for the server. What would be the best way for me to set a server up with these machines.
Running web service and dhcp only on 1pc of a 4pc lan. Optomized minimal slackware 13.1 install (no GUI)on 30g fireball for only one user (myself):
Question is howto work properly in terminal environment: the rule of thumb is not to work on system as root to maintain root's integrity; since i do not have /home for users - what identity do i create to work on files safely? Can you adduser identity without /home as to not work as root? I found 'netgroup' but i am not sure that setting up the id of other machines on lan is what need to do?
I'm curious how I can use a Windows client with two separate accounts to connect, at the same time, to a SMB server hosting two shares. (Provided permissions and accounts are all in order)
Scenario:User1 is always logged onto a Windows client mapped to a Public share on a Linux SMB server.I need a way to keep User1 connected to the Public share and then when needed, allow User1 to provide User2's credentials to connect to a Restricted share.The only way I've been able to do this is to disconnect from the Public Share then reconnect to the Restricted share using User2's credentials. (This is the issue because I need to keep User1 connected to the Public share).Is this a limitation of SMB? Or am I missing a configuration? Please point me in the right direction
create an Apache web server with multiple user accounts, for work. Each user needs to be able to upload his/her files via SSH Each user needs his/her own web directory, (preferably in their home directory for ease with permissions) There web directories need to be password protected Only one user account (mine) should be allowed remote SSH control. It needs to be easy to add new users to the system.
I am curious if it is possible to use multiple hard drives to increase server speed. I know I could run stripped drives or RAID0, but was wondering if there is any other way to do it within Linux. My default 9.10 Server install has 3 partitions as a default. Would splitting these on three drives make it any faster?
Recently I've been earning money doing web development, php, html/css, MySQL and so on. What I have encountered a lot are clients that need a complete solution. They need their site built, but they also need a hosting solution. I've sent more than just a few clients off to GoDaddy, and quite frankly, I'd like to cash in on some of that.
It would do wonders for my business if I could offer them a hosting solution with full support on top of building their site. My problem is I have no idea how to do this. So I'd like to know how I can host multiple sites on the same server. Does anyone know of a nice guide I can follow to set this up? It's really important that I can add sites fairly easily over the internet. Since I will be away at school, I won't have direct access to the server
I work for a college with many departments. I'd like to just deploy one LDAP/krb5 server (plus slave replicas) to authenticate all users in all departmentsIs it possible to do this?The proposed DNs for the departments matches what is done for NIS now.If anyone has any pointers or URLs that describe how to properly do this.
I have two amd64bit machines and one intel core2 duo laptop which I want to install ubuntu on. The problem is am not sure what I need pxelinux.cfg/default file. So far I have got it to boot pxelinux
include ubuntu-installer/i386/boot-screens/menu.cfg include amd64/ubuntu-installer/amd64/boot-screens/menu.cfg #default ubuntu-installer/i386/boot-screens/vesamenu.c32 prompt 60 timeout 60
but I can't see how I tell it to boot ubuntu 64bit installer instead of i386 one.