Hot answers tagged debian-lenny
You can use the following sources until you upgrade your system: deb http://archive.debian.org/debian/ lenny contrib main non-free
The "stop" term does not prevent the daemon from starting but rather shuts it down while entering the specified runlevel. If you just want to remove a service/daemon from a single runlevel, update-rc.d as pointed out bei freiheit or simply remove the symlink from /etc/rcX.d/, where X is your runlevel. If you don't want the service to start automatically, ...
modify your /etc/apt/sources.list as follows: deb http://archive.debian.org/debian/ lenny main contrib non-free deb-src http://archive.debian.org/debian/ lenny main contrib non-free deb http://archive.debian.org/debian-security lenny/updates main contrib non-free deb-src http://archive.debian.org/debian-security lenny/updates main contrib non-free deb ...
Configure Linux Startup Applications with sysv-rc-conf: apt-get install sysv-rc-conf As others have pointed out, here is also update-rc.d for the cmd line. For example, run update-rc.d apache2 disable to disable apache2 from all run levels.
lenny is superseded by squeeze, and its lifecycle ended on Feb. 6th this year. You'll get no updates from the core Debian community for lenny. Options: Upgrade to squeeze. Stay with lenny, remove the Debian FTP servers from sources.list and keep the packages as they are. There will be no security updates. Pin (man apt_preferences) necessary packages down ...
You can create your daemon manually following the /etc/init.d/skeleton file on Debian. You can use /usr/bin/service to launch $ sudo service yourdaemon start and sstop $ sudo service yourdaemon stop your daemon. As long as you do not link your script to any of the /etc/rc?.d directories, it won't get started on startup. On the other hand, you may want to ...
From a little poking around, it appears to be a problem with the Debian mirrors. According to the mirror info, lenny should be available, although you might need to change each instance of 'lenny' with 'oldstable' in /etc/apt/sources.list. However, pulling up 3 mirrors have all shown that 'lenny' and 'oldstable' are no longer listed. Update: I did a ...
archive.debian.org has the package repositories of all EOLd debian releases
The package you most likely want is git-core. (Works just fine without adding an extra repository.) Update: This has now been fixed; in squeeze and beyond the git package is now called git.
If you're using bash (default shell in Debian) you can see all your recent history in the file ~/.bash_history (so .bash_history file in your local user) Also from the command line you can type history and it'll also show you all your recent command history
Since a repository is not a single file but a directory structure (conf, dav, db, ...) you might want to use rm -rf /path/to/directory
Short: There is no reliable way to do this quickly. Long: Current Debian (Debian unstable as of 2012-06-01) has currently no reliable short way to consistently disable a service/daemon. – Because an upgrade of a daemon package unconditionally runs “/etc/init.d/package restart”, having it disabled for this runlevel or not. To make sure a daemon doesn’t ...
The file you want is: /root/.bash_history
Yes, adding a new non-root user, then sudoing from it is the "best-practice". If you have a lot of commands to run at once many people say to run sudo su -. However, sudo has a -i option that is used to give you a root shell. Also, if you want to disable interactive logins for root, you can change the password in /etc/shadow to '!'. To have two users ...
Deleting the log files alone won't help. You need to tell the daemon to close the log file, usually by sending it a SIGHUP. logrotate should be handling the logs, and it can use various criteria to determine when the log should be rotated. Your logs are filling up awful fast. Either figure out what's flooding your logs, send your logs to another machine for ...
It might happen because curl can't access valid CA certs bundle. Maybe you just didn't install those, so try this: apt-get install ca-certificates If it doesn't help - check CURL_CA_BUNDLE, make sure curl doesn't look for bundle in a wrong place.
Not really sure if you can create a user which doesn't have a home directory specified. That being said, the specified home directory doesn't have to exists. You can call the adduser with the option --no-create-home. adduser --no-create-home foo (adduser is usually the preferred higher level tool if called interactively.)
For me that looks good. Your PHP + MySQL is taking only around 100 megabytes of RAM, leaving lots of room for the operating system to breathe. For your "how many users this VPS can handle?" question: it depends. With proper caching and other best practices I think it should handle at least dozens of requests per second, if not more. If the content is ...
It isn't good, your php5-fpm process take around 35Mo. With this configuration you may have 50 process (max_children = 50), with each one of them allocating 35mo. thus, your machine which have only 512Mo will swap. I think that your limit is around 10 process of php-fpm (max_children = 10).
Okay, I think the answer is that the COW space for the logical volume is full. Using the command 'lvs' (which I just discovered), I see... # lvs /dev/dm-20: read failed after 0 of 4096 at 0: Input/output error LV VG Attr LSize Origin Snap% Move Log Copy% Convert [...other LVs...] newvm-cdrive mrburns Swi-I- 2.00G ...
Install devscripts Get the patch for lenny from http://pastebin.com/Hhsut197 (based on the official glibc patch, removed ChangeLog, NEWS stuff, adapted Makefile for lenny, removed patch #2 for getXXbyYY_r.c) Run: apt-get update && apt-get source libc6; apt-get build-dep libc6 Copy your patch in glibc-2.7/debian/patches/all Add the patch name in ...
There is a better solution than m-a: dkms It actually makes it easier to distribute external kernel modules and automatically compiles them for newer kernel-versions (think installing a new package of linux-headers).
I'm assuming that you have two VirtualHosts: VH for WP that hosts *.mydomain.com VH for independant webiste that hosts subdomain.mydomain.com Make sure that your subdomain.mydomain.com VirtualHost is loaded or located in file before the VirtualHost with ServerAlias of *.mydomain.com. Apache will use the 1st VH it finds that matches ServerName/Alias. ...
A faulty DNS record should only have impact on name resolution, not pure IP communication and would not have any interference with a router. One bad zone file can prevent the entire DNS server from running, at least with Bind I've experienced this. So I could see you having issues with name resolution if this is your primary DNS server your workstation is ...
To get ~1.7.1 use this method. If you want ~126.96.36.199 then use andol's answer. This is because git is a dummy package in Lenny which provides gnuit. Package: git (4.9.4-1) However, you can get around this by using the lenny-backports git package: UPDATE: As of September 5th 2010, this method has changed slightly as backports.org is being phased out the ...
Change "stable" to "lenny" (or "oldstable") in your sources.list -- "stable" is now squeeze, not lenny, so you're trying to install the squeeze version of php5-cli which has dependencies on lots of other squeeze packages.
I'm answering my own question because I wanted to know how to solve the problem while using the new slapd.d/dynamic/cn=config backend and I didn't wanted going back to the slapd.conf method. (Almost nobody is doing this, AFAICT) When I try to add the new schema using ldapadd, I was always getting the following error: ldapadd -H ldap://whatever.test.com -D ...
I'm calling bullshit on the 'this doesn't matter' answers. for one, the constant errors in the console unable to set the locale is extremely annoying. but this is not all, some things really will not work. I just solved this on a new VPS. a short summary: locales need to be generated before they can be used. I'm not sure about other distributions so ...
The user created during the installation process of Debian has no special privileges. What do you mean by "traverse the file structure" ? Navigation in the file system is normal for any user on a UNIX system (ie, read access to /var, /etc and so on). This does not pose a security issue as long as you are careful not to let users have read access to sensitive ...
Only top voted, non community-wiki answers of a minimum length are eligible