sudo pico /etc/php5/apache2/php.ini
reference
http://ubuntuforums.org/showthread.php?t=853642
Hiển thị các bài đăng có nhãn Ubuntu. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Ubuntu. Hiển thị tất cả bài đăng
Thứ Tư, 17 tháng 10, 2012
Thứ Năm, 6 tháng 9, 2012
Ubuntu ~ vsftp add user account to www root
不像windows用ftp程式架ftp
是在程式裡新增account跟指定目錄
vsftp是新增一個系統的user
sudo adduser YOUR_USER_NAME
像我新增使用者bitty就是
sudo adduser bitty
然後登入的目錄是在/home/bitty/
要修改成在/var/www/
下指令
sudo vim /etc/passwd
把剛新增的user
我是叫bitty.....
後面的目錄改成
/var/www/
這樣用bitty登入就會直接到網頁上的跟目錄
reference
http://blog.udn.com/nigerchen/2261345
http://www.berecursive.com/2011/amazon-ec2/installing-vsftpd-on-an-amazon-ec2-ubuntu-instance
Thứ Tư, 5 tháng 9, 2012
Ubuntu ~ set user, vsftp authority, vsftp can't write file
這是在我用AWS時候遇到的問題= =
就是成功把user登入的目錄換到/var/www/
可是沒權限寫入檔案XD
下這指令就解決了~
我的user名稱是bitty
chown -R bitty /var/www
修改vsftpd.conf
guest_username=btty
reference
http://blog.csdn.net/debehe/article/details/4154755
就是成功把user登入的目錄換到/var/www/
可是沒權限寫入檔案XD
下這指令就解決了~
我的user名稱是bitty
chown -R bitty /var/www
修改vsftpd.conf
guest_username=btty
reference
http://blog.csdn.net/debehe/article/details/4154755
Thứ Ba, 4 tháng 9, 2012
Ubuntu ~ install LAMP
sudo apt-get install tasksel
sudo tasksel
select LAMP server
and install
reference
http://www.unixmen.com/install-lamp-with-1-command-in-ubuntu-1010-maverick-meerkat/
Ubuntu ~ enable apache mod_rewrite
sudo a2enmod rewrite
然後再restart apache
sudo /etc/init.d/apache2 restart
reference
http://thinkdiff.net/ubuntu-linux/ubuntu-enable-mod_rewrite-in-apache-server/
然後再restart apache
sudo /etc/init.d/apache2 restart
reference
http://thinkdiff.net/ubuntu-linux/ubuntu-enable-mod_rewrite-in-apache-server/
Thứ Hai, 22 tháng 6, 2009
Joy of progeCAD 2009 under Wine in Debian Linux
At CADDIT we are always trying new things, sometimes just for the sheer fascination. This article outlines some updated steps to running progeCAD without buying a Windows license (although some free libraries will be needed). Understand that progeCAD is at this time not officially supported on Linux, either using Parallels or WINE emulation layer. So don't try this at home unless you are really brave and have lots of time to waste (not to mention progeCAD licenses).
We were able to accomplish several things following these steps: install progeCAD, activate progeCAD (online method), load a file, etc. Our test involved using a stand-alone license key (although NLM client might also work). progeCAD runs stable but slow (depending on your core(s) speed and OpenGL acceleration). Here we go:
1) Update to the latest WineHQ (1.1.x). Debian users can add the following line to /etc/apt/sources.list:
deb http://wine.budgetdedicated.com/apt etch main
2) apt-get install libwine wine wine-dev
okay you really don't need wine-dev development packages, but like isn't that the whole point of Linux .. whatever .. okay next step...
3) Install IE6. No joke. A platform like progeCAD often connects to a lot of the same dependencies as the world's most favorite web browser ..okay ..whatever.. we use ies4linux for this. Please visit the site for download directions specific to your favorite distro and get lovely IE6 and friends rocking in your local .wine profile.
4) Install VBA. This is possible now because ies4linux already set up DCOM libs for us. Winetricks is probably the best trick for this:
wget http://www.kegel.com/wine/winetricks
and run the ./winetricks GUI and pick what you want, but at least pick the VBA6 runtime. Winetricks should do the rest for you.
5) Install progeCAD. You can download progeCAD HERE.
6) progeCAD install seems to go well right up to the VBA installation at the end it flops (so far - we are working on it). But no matter, you can always reinstall Windows VBA for progeCAD IntelliCAD by sorting into your local subdirectory:
~/.wine/drive_c/Program\ Files/progeSOFT/progeCAD\ 2009\ Pro\ ENG/vba/
and installing VBA manually:
msiexec /i VBAOF11.MSI
WINE actually sets up a KDE icon on the desktop for you to launch progeCAD, we didn't try GNOME or XFCE. Otherwise you may have to create an action leading to the icad.exe executable in your .wine profile. So progeCAD should work now as so...

Some comments, progeCAD is a lot less demanding on system resources than AutoCAD, so it was actually possible for us to still work with progeCAD under this emulated environment. Real time pan and zoom function using the mouse buttons worked too but was so slow on the machine with on board graphics it could hardly be called real time anymore. The command interpreter disappeared once while minimizing / maximizing the progeCAD Window in KDE, but moving the window a bit around somehow brought it back again. Go figure..
We were able to accomplish several things following these steps: install progeCAD, activate progeCAD (online method), load a file, etc. Our test involved using a stand-alone license key (although NLM client might also work). progeCAD runs stable but slow (depending on your core(s) speed and OpenGL acceleration). Here we go:
1) Update to the latest WineHQ (1.1.x). Debian users can add the following line to /etc/apt/sources.list:
deb http://wine.budgetdedicated.com/apt etch main
2) apt-get install libwine wine wine-dev
okay you really don't need wine-dev development packages, but like isn't that the whole point of Linux .. whatever .. okay next step...
3) Install IE6. No joke. A platform like progeCAD often connects to a lot of the same dependencies as the world's most favorite web browser ..okay ..whatever.. we use ies4linux for this. Please visit the site for download directions specific to your favorite distro and get lovely IE6 and friends rocking in your local .wine profile.
4) Install VBA. This is possible now because ies4linux already set up DCOM libs for us. Winetricks is probably the best trick for this:
wget http://www.kegel.com/wine/winetricks
and run the ./winetricks GUI and pick what you want, but at least pick the VBA6 runtime. Winetricks should do the rest for you.
5) Install progeCAD. You can download progeCAD HERE.
6) progeCAD install seems to go well right up to the VBA installation at the end it flops (so far - we are working on it). But no matter, you can always reinstall Windows VBA for progeCAD IntelliCAD by sorting into your local subdirectory:
~/.wine/drive_c/Program\ Files/progeSOFT/progeCAD\ 2009\ Pro\ ENG/vba/
and installing VBA manually:
msiexec /i VBAOF11.MSI
WINE actually sets up a KDE icon on the desktop for you to launch progeCAD, we didn't try GNOME or XFCE. Otherwise you may have to create an action leading to the icad.exe executable in your .wine profile. So progeCAD should work now as so...

Some comments, progeCAD is a lot less demanding on system resources than AutoCAD, so it was actually possible for us to still work with progeCAD under this emulated environment. Real time pan and zoom function using the mouse buttons worked too but was so slow on the machine with on board graphics it could hardly be called real time anymore. The command interpreter disappeared once while minimizing / maximizing the progeCAD Window in KDE, but moving the window a bit around somehow brought it back again. Go figure..
Thứ Ba, 25 tháng 3, 2008
VariCAD 2008 1.03 3D CAD for Linux and Windows Released
CADDIT will continue carrying the VariCAD 3D product on the CADstore. A few weeks ago VariCAD announced the release of VariCAD 2008. The new features for 2008 include:
- support for 3D threads (threads at bolts, screws and nuts, including library parts; threaded holes, etc.)
- improvements in shells and surface development
- new 3D kernel capabilities (e.g. Boolean intersection, improved 3D chamfer tool)
a new tool for spherical solids - new BOM and title blocks' features
- further impoved STEP file compatibility
- a possibility of setting antialiasing for better display in 3D (graphic card settings)
and more.
VariCAD can be downloaded for free and used for 30 days before buying a license. VariCAD is ideal for small 3D sheet metal, industrial jig and fixture design, as well as more general drafting projects. There are a number of tutorial videos online to help users learn CAD design with VariCAD.
Đăng ký:
Bài đăng (Atom)
