WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to change the nginx configure file(Resolved)?  (Read 3955 times)

Offline swish

  • Newbie
  • *
  • Posts: 2
How to change the nginx configure file(Resolved)?
« on: December 22, 2010, 08:54:58 PM »
In Tiny Core Linux 3.4,I install a nginx,but I can't change the configure file.When I try edit /usr/local/conf/nginx.conf and save it ,A error message:
  Error writing to file 'nginx.conf':
  Read-only file system.
  So,what's can I do next?How to change the configure file?
« Last Edit: December 22, 2010, 09:26:38 PM by swish »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to change the nginx configure file?
« Reply #1 on: December 22, 2010, 09:01:42 PM »
cd /usr/local/conf
mv nginx.conf nginx.conf.org
cp nginx.conf.org nginx.conf

echo "usr/local/conf/nginx.conf" >> /opt/.filetool.lst

Offline swish

  • Newbie
  • *
  • Posts: 2
Re: How to change the nginx configure file?
« Reply #2 on: December 22, 2010, 09:17:53 PM »
 ;)Very Very thank you.It's OK!