Ubuntu Servers :: Add Command To Start-up?
Jan 20, 2010I want to add a line to the start-up of my proxy server that does the IPTABLES port re-routing for me automatically instead of having to do it manually every time I restart
View 3 RepliesI want to add a line to the start-up of my proxy server that does the IPTABLES port re-routing for me automatically instead of having to do it manually every time I restart
View 3 RepliesI have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?
View 9 Replies View RelatedI want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ?
MY WORK TILL NOW: I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.
I want to add an item to my start up... I went to start up and hit add. I want my conky to start up... I need a terminal and the code conky that should start it how do you get a terminal command in start up.?
View 2 Replies View RelatedI just installed avg85flx-r732-a3168.i386.deb, but I can't start AVG from any menu or command. (Not even in System Menu). So, how can I start it?
View 5 Replies View Relatedis there a way to start a command after sometime of inactivity?I mean a command that start automatically after some period of time when I stop using the keyboard or mouse
View 1 Replies View RelatedAfter having installed a certain programme, in my experience it can sometimes be slightly boring if you want to start the application from the terminal, but you can't figure out the right command, which to my knowledge is not always the same as the exact name of the application.
- Is there a way that I do not know to find this "start-up" command ? - Would it be convenient to include this command with the short description of the application as given in Synaptic (shown when selecting a programme in synaptic before marking it for installation etc.)
What is the command to start 9.10 upgrade from Terminal?
View 2 Replies View RelatedUbuntu 9.10 (Karmic Koala) 64 bitlaptop Asus f5n vidio: GeForce 7000MI try to remove piton2.6, but system freeze, after these ubuntu show massage (after reboot)"Ubuntu is running in low-grahics mode our screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself"I press "ok"and give me next list of options"run ubuntu in low-graphics mode for just one session" -- system freeze "regonfigure graphics" -- no resultI try to reinstall graphic driver "nvidia-glx-185" -- no result
View 3 Replies View RelatedWhat command can I use to start a program in the terminal? What command is appropriate for applying patches to that or other programs? What command is appropriate to applying a 3.5 version patch to the 3.0 version of firefox. What are some useful commands for the terminal?
View 9 Replies View RelatedI am relatively new to linux but i need to run a command in the terminal so i can prevent wireless power save from happening every time i switch to battery power. I dont really want to go into the terminal every time i switch to battery mode so i want to be able to launch this command upon start up:
Code:
sudo iwconfig wlan0 power off
I have a lenovo thinkpad laptop, and it has both touch-pad (standard build in laptop mouse) and touch-point (in the middle of the keyboard) mouse options.
I almost invariably use the touch-point and the accompanied scroller and key-buttons.
HOWEVER, for the scroller to be recognized by ubuntu you must run two scripts as follows:
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
Restarting the computer resets these settings, and you must re-run them each time you start up ubuntu.
I am looking to write a script that will automatically run itself (which will execute the above commands), or to permanently change these settings so that it will not be necessary to run them at each start-up.
Thanks in advance, and if there is another thread on these forums that I should move to (or even just another thread that would be a more likely place to get a response). This seemed like the best forum (one which can certainly hold this post without violating any rules), but I may have missed something.
Is there a terminal command to start the update manager? I use fluxbox and I want to add it to my start up file but I don't know the command.
View 5 Replies View Relatedhow to start the desktop enviorment from the command line.
View 2 Replies View RelatedIs it possible to instruct Ubuntu to start up (GUI) Graphical User Interface mode from (CLI) Command Line Interface mode? In the old days, you can type "win" in DOS to get into Windows - something along that line. Is it possible for Ubuntu in this case?
Yes, you can reboot to switch between the modes, but shouldn't there be a command for this?
when using the "convert' command is there a way to start the numbering at 22 or 47 instead of 0.
View 1 Replies View RelatedI may need to handle a Red Hat server soon and thought that has the same command line.Where do I start if I wanted to learn the command line? Especially, how do you connect to a Redhat / Fedora Server using console on windows and do C programming
View 6 Replies View RelatedAfter running a command that spits out a lot of output in screen. I drop to Copy mode and try to find where the command start. This becomes very very challenging when there are lots of lots of similar text to sift through. Is there a way for me to quickly scroll to where my command starts?
View 2 Replies View Relatedi'm using ubuntu with the GUIi have a .pps (power point presentation) on the desktop. I installed the powerpoint viewer and made it the default program for opening the file.when i double click on the file everything works.my problem is i need this on a schedule so i downloaded scheduled task.in scheduled task they ask me the command line i want to execute and that's where it doesn't work. I checked the "allow executing file as program" box on the file but i get the error cannot execute binary file.
View 1 Replies View RelatedI want to load a second instance of squid after reboot. For this I use this sentence "/usr/sbin/squid-f/etc/squid/squid-2.conf"vi /etc/rc.d/rc.local
View 1 Replies View RelatedI just booted into Linux and the Update Manager prompted me to restart. After the restart the GRUB interface I expect to see is no longer there and now it is just a command line that says press tab for more options.I have not got a clue with shell language as I have had no time to learn it as of yet. Do I need to uninstall and reinstall Linux or is there a command that can be typed that boots up the operating system.Even better is there something I can do that can return me to seeing the interface like I was used to.
View 3 Replies View RelatedHow to find Start and end sector of partition with sudo-command?
View 2 Replies View RelatedLast night my system rebooted and dropped screen resolution to 800*600. I was unable to change that from no where. I tried to install nvidia driver and now no gui, only command line. Starting xorg by using 'startx' fails. How I can get back to normal with normal resolution?At the moment I am logged in via live cd. Let me know if any log files needed (if I can locate those).
View 9 Replies View RelatedI don't know. I have had tons of issues with the Linux today. Now when I try and start mysql it just fails. the syslog says code...
The command mysql results in:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have even tried to uninstall mysql and reinstall it an nothing works. Any suggestions?
I need to start a binary when Ubuntu 10.04 server boots. In which script should I insert the line to start this binary correctly according to Ubuntu policies?
View 2 Replies View Relatedive been trying to fix this for a while. i dont have the original my.cnf, but i dont even know if thats the error:
Code:
pavel@pvl1:~$ sudo service mysql start
^C
pavel@pvl1:~$ cd /var/log/[code]....
starting the gnome GUI.
Environment is Ubuntu 10.04.2 LTS, server edition.
I have installed the ubuntu-desktop package with apt-get, which reported a successful installation. I also installed firefox the same way.
When I run the command "firefox", I get this response: "Error: no display specified". Thinking I might need to run it from the GUI, I tried "startx" (command I found elsewhere on this forum). Response was: "Fatal server error:
Server is already active for display 0".
Why run GUI and/or Firefox on a server? The second instruction on the Symfony 2.0 install procedure is to "check the configuration" by accessing http://localhost/Symfony/web/config.php.
I first tried that from my Win-7 workstation, substituting the server's IP address for localhost in the URL above. The response from that is "This script is only accessible from localhost."
SO ... I'm trying to run firefox directly on the server, so that I can access the localhost version of that URL, to follow Symfony's instructions.
how I can get FF (or any other browser) running on the server?
I have trouble with MySQL server on my Ubuntu 11.04.Below is what I get in Terminal
root@linux:/home/karl# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the
service(
[code]....
if is posible to start a VM from the command line?
[code]...
how to get to the command prompt during start up of KDE. Which button(s) do I have to press?
View 9 Replies View Related