Ubuntu :: Bash - Make A Automatic Wordpress Installer Script

Mar 17, 2011

I'm trying to make a automatic Wordpress installer script. It's autmattically defaulting to the else.

[Code]...

View 2 Replies


ADVERTISEMENT

Ubuntu :: Make An Automatic Wordpress Installer?

Mar 17, 2011

New to bash and I'm trying to make an automatic Wordpress installer . Gives the following error:

./wpinstall.bash: line 119: syntax error near unexpected token `fi'
./wpinstall.bash: line 119: fi'

Here's the script:

Code:
#!/bin/bash
echo -n 'Enter website (with .com etc...)> '
read SITE
echo -n 'Enter website (without .com)> '
read DIR

[Code]...

View 7 Replies View Related

Server :: How To Make Wordpress Use Permalinks

Mar 5, 2010

i have been using kloxo with apache for my websites and it's on a high load, i have to change with lighttpd and i don't know how to make wordpress use permalinks, i tried to install mod magnet but it wasn't in centos.

View 1 Replies View Related

Ubuntu Servers :: Get Wordpress To Work With Lighttpd And Wordpress Hostname

Jun 27, 2010

I'm trying to get wordpress to work with lighttpd and my home test server... <name>.dnsalias.org as my IP is not static... When I install wordpress ( via apt-get ) and set it up through install script like this:

bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress <name>.dnsalias.org It is accessible from outside of my network but not from local one where the sever ip is 10.0.0.200 From outside it is using correctly domain <name>.dnsalias.org but from inside when I try to use ip 10.0.0.200 from other pc on net it will not work..a s it still using <name>.dnsalias.org in all links... Also I would like to have it in <name>.dnsalias.org/wordpress as I have another test site in <name>.dnsalias.org/<test_Site> which by thee way works from inside and outside of my network.... its just wordpress ...

I have followed this guide: [URL] but its for apache... I spend whole night searching for some solution and now I'm dead tired and you are my last hope ...( ....Obi Wan Kenobi ) So does someone running wordpress in setup like I described above, if yes

View 2 Replies View Related

Slackware :: Automatic SlackBuilds Installer

Jan 31, 2010

I have started to write a SlackBuilds installer, similar in spirit to slackpkg. So far it is only about 100 lines of code and it can search for a package and install it automatically from slackbuilds.org. I doubt it will ever be as polished as slackpkg but it may be useful for some people. Maybe something like this already exists? If it does then I would like to check it out. If however this doesn't exist then I will most likely continue to develop my program. So far it is quite crude but it does install and search for packages.

View 4 Replies View Related

Ubuntu :: Automatic Accept The EULA For Ttf-mscorefonts-installer?

Jun 5, 2011

Does anyone know how to automatic accept the EULA for ttf-mscorefonts-installer?

View 2 Replies View Related

CentOS 5 :: Network Installer Automatic Settings (Script Or Command Line)

Nov 2, 2009

Next week we will get a new Server for rent with a preinstalled Debian. If we download the Networkinstaller and put it in Grub, it is possible to set some settings with a script or commandline? We need SSH and the Network haves to run. So we have to set up the Networkadress , Gateway and Netmasq. So if the Networkinstaller is booting that we get direcly access with SSH to install CentOS. It is possible?

View 1 Replies View Related

Ubuntu :: Enable / Disable Automatic Sleep / Standby / Hibernate Using BASH?

Sep 27, 2010

My question is simple, is it possible to enable and disable automatic sleep/hibernate/standby using BASH? I need it for a bash script.Been searching for a while now, can't seem to find it.

View 2 Replies View Related

Ubuntu :: Make Wget Download Automatic In Startup?

May 21, 2010

i try to make wget download automatic in startup in ubuntu

View 8 Replies View Related

Programming :: Bash Script For Automatic Viewport Changing And Other WM Stuff (works With Compiz)?

Oct 18, 2010

I had to make for work a collectd based network monitoring system which displays data for each server in a fullscreen conky on different compiz viewports. I have to switch viewports automatically when the machine isn't operated (sorta screensaver) and also if i had to call attention in the case something bad happens, autoswitching should stop and the relevant viewport be showed up.This requires an interface to talk dynamically to the WM, which i've implemented in bash with support of the widely available "wmctrl" program.

Code:
http://paste2.org/p/1177045
Code:

[code]...

View 8 Replies View Related

Ubuntu :: Should I Make Partition Or With The MAC OS Installer?

Jun 5, 2011

First off, the PC I am hoping to dual-boot off is actaully a netbook.The exact model: Packard Bell PAV80.It is currently running Ubuntu 11.04 but I am hoping to add a dual boot of a MAC OS. I was just looking for some advice before I went a head with this.

1). Straight up, What is the best MAC OS for a Netbook?
2). What risks should I be aware of?
3). How should I go about this? Is it as easy as installing linux for netbooks (via usb)?
4). Should I make a partition in ubuntu or with the MAC OS installer?

View 2 Replies View Related

Fedora :: Make 'yum Update' On CentOS Recurring And Automatic?

Dec 10, 2010

I run a few dozen dedicated web servers all running CentOS 5.5. A long time ago when one server was apparently compromised, I was urgently advised to sign in to the server and run "yum update" at least once a week to ensure that everything which I had installed using "yum", would get updated with any recently available updates, including security fixes, and that one reason I might have been hacked before was because I hadn't been doing that.

So, I'm still not sure if that would have prevented the original break-in, or how much this has reduced my chances of being hacked, but I've been faithfully signing in to each server every week for the past few months and running "yum udpate". Most times, this results in a lot of patches being downloaded and applied, so it's clear the machines are not doing it automatically. I figure it's about time to learn how to make the machines do this on their own. Is there a standard way to make "yum update" run automatically, every day, or every week? Yes, I'm sure there are many ways to do it, but is there a single way used by the majority of webmasters of CentOS sites who have automatic updates set up? Googling a bit for "make yum updates automatic" turned up some threads like:

[code]...

in which people describe writing their own custom scripts to do yum update automatically. This seems odd. It seems like the kind of thing that there would be a standard way to turn on. Also, is there a reason that virtually every newly provisioned dedicated server does not have "yum update" set up to recur automatically? If it's true that people break into websites using exploits that have been found in older versions of webservers and other software, and that sometimes these breakins would have been prevented by the newest patches, wouldn't it reduce the number of websites being compromised if the OS had yum updates turned on automatically by default?

View 9 Replies View Related

Ubuntu :: Make A Disk Image Of 9.10 System - Automatic Wrapper For Windows Drivers

Feb 12, 2010

1. Make a disk image of my 9.10 system (formatted ext3, btw) on my Syology CS407 NAS so I can do a bare metal restore. Why is this a couple of clicks on my Mac and Windows boxes, but so far not easy on Jaunty? Did I miss something?

2. Drivers. Why can't I just have an automatic wrapper for Windows drivers so I can use any printer or scanner, or a simple point and click driver install for native drivers? I have my ethernet connected Brother MFC-7820N, and the Samsung CLP-315 that runs off my CS407 installed and working on my Jaunty, but it was way more work than expected. What is the easy, automatic or point and click way to install drivers?

3. Graphics drivers. I have decent cards in my big boxes, Nvidia GTX 200 series. But when I get kernel updates, I have to uninstall and reinstall the graphics driver. Is there an easy way to keep this working?

4. Is there one flavor of linux distro that has a really consistent standard for user interface? I like to be able move things around, but do like my menus to be consistent (and do I ever hate the MS ribbon!). I've really only tried Ubuntu.

Linux installs have come a long, long way from the old days, and are such a point and click operation that I just wonder what I'm doing wrong. Someone is bound to have sorted these things.

View 9 Replies View Related

Debian Installation :: Make The Installer Use The CD Rather Than The Net?

May 11, 2011

I'm having a problem with my debian installation; I am using the debian testing / wheezy weekly build CD, and despite using the full 650MB CD, and checking the CD to see that X, gnome, etc is all on there, it seems to insist on just downloading every single package from the internet - the CD doesn't even spin up during the 'select and install software' stage

This wouldn't be that much of a problem, except whenever I choose to use the graphical environment, it downloads all the packages, installs half and then says 'an installation step failed'!. And as it has to download the full set of packages from the net (rather than the CD) it gets a bit tiresome waiting 2+ hours for all the packages to download (I have fast internet, but the debian server doesn't feed data that fast).

And, the reason I am installing the graphical environment is that, although the installer recognises the network card, once you boot into the freshly installed system, it doesn't recognise the network card at all, and trying to bring it up just says 'eth0 not ready'!. So I want to get the graphical environment to make wireless easier to install, since the drivers for that are present, but wpa_supplicant isn't!

I'm tempted to just go and get Linux Mint Debian Edition... but I should be able to at least *install* Debian? (on a side note, I can't see what I'm doing wrong, since you can't really go wrong with the installer - it just seems to fail itself each time!).

how to make the installation faster by getting the installer to use the CD full of packages that I downloaded, rather than downloading the from the net each time, and also how to (1) find out *what* happened (the expert mode just says a step failed and that is it), and (2) to either get round it at the time, or prevent it happening somehow?. I installed Debian in 2007 on another laptop and that worked, but I then moved to Ubuntu as I wanted some newer software...... Ubuntu has been great until 11.04 which seems so full of bugs it isn't funny, so it is time to go back to Debian, if only I could get it installed!

View 6 Replies View Related

Debian :: Is Possible To Make Installer With Full Vmlinuz Instead Of Busybox?

Jan 10, 2010

It is just a question regarding ISO and the lack of -o loop or function of busybox.One can custom the ISO of debian-installer and make a syslinux config file having : vmlinuz of one normally running installed Debian distro, and keep the initrd of the iso regular debian-installer.I think it may be conflicting the vmlinuz kernel version and the installer of initrd.I am learning, so it may be completely wrong or kernel panic.

View 2 Replies View Related

Fedora Installation :: Possible To Make Updated Installer DVD From Existing System?

Feb 19, 2009

I have recently installed Fedora 10 in my x86_64 system and fully updated. The updation size was nearly 650MB. My question is can I make a an updated installer DVD from my existing fedora system?

View 8 Replies View Related

Ubuntu :: How To Make Default Package Installer From Lucid Be Default In Maverick?

Oct 24, 2010

in maverick the default package installer (when I double click on a .deb) is Ubuntu Software Centre, how can I make the default package installer from lucid (was it called "dpkg"?) the default again? Ubuntu Software Centre is too slow and freezes every time I click on something, can it be replaced?

View 2 Replies View Related

Ubuntu :: Bash: How To Make ${var%% *} Work

May 1, 2011

bash: how do you make the construct ${var%% *} work? I am trying to select the first word from a variable which contains many space-separated words. I am running Ubuntu 10.10 with GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) and when I try to use this construct, the expression returns the complete variable with no removal of trailing anything.

View 3 Replies View Related

Ubuntu :: Need To Make Bash Script Files

Apr 16, 2010

I need to know what is the best method for teaching yourself how to make bash script files

View 8 Replies View Related

Ubuntu :: Make Bash Script Files?

Apr 16, 2010

I need to know what is the best method for how to make bash script files

View 4 Replies View Related

Ubuntu :: Make A Automated Build-script With Bash

Apr 13, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors.

Code:

#!/bin/bash
gpg --import /home/epm/first_installation/config_chroot_sources_local.gpg
gpg --import /home/epm/first_installation/config_chroot_sources_packages-inl-fr.gpg

[code]....

View 5 Replies View Related

Ubuntu :: Make A Bunch Of Graphs Using Gnuplot From A Bash Script

Nov 14, 2010

I've been trying to make a bunch of graphs using gnuplot from a bash script. The tricky thing is that I have to divide values from two columns: Code: plot "results.csv" using 1:($4/$6) notitle with lp When this command is called from a bash script, the columns get mixed up with script arguments. how to make it read the column values like in the interactive mode?

View 1 Replies View Related

General :: Make A Bash Script Ask For A Specific Key?

Nov 21, 2010

I am attempting to learn how write bash scripts. I want one to ask for a specific key. For example, I want it to ask a question, then if it is like, y for yes, or n for no, it does a specific thing. I'm thinking it would be something like:

Code:

#!/bin/bash
echo "Are you a boy? y/n"
read -t3

View 14 Replies View Related

General :: Make A Bash Script Into A Daemon

Aug 7, 2011

i've written a script that will move some files from one directory to another, i dont know if this is the right place to ask but, this is on my ipod touch and i'm wondering how to make it run periodicaly

View 6 Replies View Related

Programming :: Make Bash Replace The Value Of A Variable?

Apr 18, 2009

I have a program I am writing where I have a for loop and I want to make it substitute the variable twice like:

for ((i=0;i<5;i++)) do
echo $"$i"
done

[code]...

View 3 Replies View Related

Fedora :: Make BASH Script Wait For A Few Minutes?

Nov 26, 2009

I'm using bash script now,and I want have a script that can do like this: first ,tell me it will shut down ,and then shut down.My script looks like this:

#!/bin/sh
/usr/bin/curl $stop_page
shutdown -h now

[code]...

View 4 Replies View Related

General :: Make Bash And It's Apps Automatically Resize?

May 29, 2011

I'm working in Debian, and I've noticed that when I resize my PuTTY window, the console inside isn't resizing to the new dimentions, so things like nano are running at 80xwhatever instead of the more useful 130xsomething that I've offered it.

View 2 Replies View Related

Programming :: Make A Automated Build-script With Bash?

Apr 14, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors that I can't seem to figure out. Could anyone please tell me what's wrong with this package of build-scripts? I'm posting the main build-script and attaching the rest of the scripts in a compressed form. The errors mainly comes from the scripts in "/first_installation/usr/share/siem-live/init"

[Code]...

View 2 Replies View Related

Programming :: Bash Script - Make Sure All Files Have Certain Permissions

Jan 14, 2011

How can I iterate over all the files in the current directory to check for certain permissions? This is what I have:

Code: #!/bin/bash
for file in *.tar.gz
do if [ -r "$file" ]
then echo "$file is readable"
else echo "$file is NOT readable"
fi done

But this only checks that the current user has read permissions for each file. I want to check that the group "others" has read permissions for each file. How can I do this? Is there a built in function to check if a file has read permissions for the "others" group? Otherwise, I thought I might be able to use this:
Code: $ stat --format=%a file
744 And parse the output "744" and make sure the 3rd number is between 4 and 7 (since the octals 4-7 have read permissions for others).

View 2 Replies View Related

Software :: Make Craig's List Ad Notifier In Bash?

Jan 7, 2010

I have OpenSuSE 11.2, and I am learning Bash scripting. I was wondering how I would make a bash program, That I could have it check multiple craigslist sites [western mass, worcester mass, etc], e.g. in the Free category, and/or enter keywords, and have it update every 5 minutes, and then post the results somewhere, to a file, or even upload it to a server, or if it's even possible? (Kind of like the program "Ad Notifier for Craigslist") Would I have to do this in C/C++? If it has to be done in C/C++ It would have to be windows compatible preferably.

View 2 Replies View Related







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